get Mapped Position
open fun getMappedPosition(@NonNull camLeft: Direction, @NonNull camRight: Direction, @NonNull noDetection: Direction): Direction
getPosition with custom mappings for the camera left, right, and none detections. This is a polyfill for the legacy (renamed) GetTriPositionContourTask to not rewrite logical branches.
Return
the mapped direction
Parameters
cam Left
the direction to return if the contour is on the left side of the camera
cam Right
the direction to return if the contour is on the right side of the camera
no Detection
the direction to return if there are no contours on the camera for minimum withNoDetectionPersistenceTime time