get

open fun get(spikeMarkPosition: Direction, robotStartingPosition: StartingPositions): Int

Get the backdrop ID based on the Spike Mark position and field side.

Return

the backdrop ID, -1 if invalid arguments

Parameters

spikeMarkPosition

the position of the Spike Mark as detected by vision

robotStartingPosition

the side of the field the robot is starting on