#include <palSensors.h>

Public Member Functions | |
| void | Init (palBody *body, Float axis_x, Float axis_y, Float axis_z) |
| Float | GetVelocity () |
| Float palVelocimeterSensor::GetVelocity | ( | ) |
Returns the linear velocity
| void palVelocimeterSensor::Init | ( | palBody * | body, | |
| Float | axis_x, | |||
| Float | axis_y, | |||
| Float | axis_z | |||
| ) |
Initializes the Velocimeter sensor. Attaches a velocimeter to a given body, with a given heading.
| body | The body which the sensor is attached to. | |
| axis_x | The direction vector (x) | |
| axis_y | The direction vector (y) | |
| axis_z | The direction vector (z) |
1.5.7.1