Virtual Robot Racing League

Developer Center

VRRL
ITrackSensor Interface Reference

A sensor to detect the left-right offset of an embedded track wire More...

Inheritance diagram for ITrackSensor:
IRobotSensor

Public Member Functions

void GetOffsetToTrack (out double x)
 Gets the detected offset to the center of the track, relative to the robot's orientation More...
 

Additional Inherited Members

- Properties inherited from IRobotSensor
IRobotExplorer Robot [get]
 The robot this sensor is attached to More...
 
int SensorIndex [get]
 The index of this sensor in the robot's list of sensors More...
 

Detailed Description

A sensor to detect the left-right offset of an embedded track wire

Member Function Documentation

◆ GetOffsetToTrack()

void ITrackSensor.GetOffsetToTrack ( out double  x)

Gets the detected offset to the center of the track, relative to the robot's orientation

Parameters
xThe left-right offset to the track, in meters