palVelocimeterSensor Class Reference

#include <palSensors.h>

Inheritance diagram for palVelocimeterSensor:

palSensor

List of all members.

Public Member Functions

void Init (palBody *body, Float axis_x, Float axis_y, Float axis_z)
Float GetVelocity ()


Detailed Description

A Velocimeter Sensor A velocimeter sensor returns the velocity in a given direction

Member Function Documentation

Float palVelocimeterSensor::GetVelocity (  ) 

Returns the linear velocity

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.

Parameters:
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)


The documentation for this class was generated from the following files:

Generated on Mon Aug 31 13:58:02 2009 for pal by  doxygen 1.5.7.1