Virtual Robot Racing League

Developer Center

VRRL
IVelocitySensor Interface Reference

Senses velocity More...

Inheritance diagram for IVelocitySensor:
IRobotSensor

Public Member Functions

void GetVelocity (out double x, out double y, out double z)
 Gets the velocity, relative to 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...
 

Detailed Description

Senses velocity

Member Function Documentation

◆ GetVelocity()

void IVelocitySensor.GetVelocity ( out double  x,
out double  y,
out double  z 
)

Gets the velocity, relative to the robot

Parameters
xThe left (-) and right (+) velocity
yThe down (-) and up (+) velocity
zThe back (-) and forward (+) velocity