A sensor that has a pre-defined orientation More...
Public Member Functions | |
SensorOrientations | GetOrientation () |
Gets the orientation of this sensor More... | |
void | GetCustomOrientation (out double x, out double y, out double z) |
Gets a unit vector representing the custom orientation (if GetOrientation() returns SensorOrientations.Custom) The vector will be relative to the orientation of the robot 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... | |
A sensor that has a pre-defined orientation
void IOrientedSensor.GetCustomOrientation | ( | out double | x, |
out double | y, | ||
out double | z | ||
) |
Gets a unit vector representing the custom orientation (if GetOrientation() returns SensorOrientations.Custom) The vector will be relative to the orientation of the robot
x | The x-component of the unit vector orientation |
y | The y-component of the unit vector orientation |
z | The z-component of the unit vector orientation |
SensorOrientations IOrientedSensor.GetOrientation | ( | ) |
Gets the orientation of this sensor