palGyroscopeSensor Class Reference

#include <palSensors.h>

Inheritance diagram for palGyroscopeSensor:

palSensor

List of all members.

Public Member Functions

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


Detailed Description

A Gyroscope Sensor A gyroscope sensor returns the angualar velocity in a given direction.

Member Function Documentation

Float palGyroscopeSensor::GetAngle (  ) 

Return the anglular velocity (radians)

Returns:
The angular velcoity (radians)

void palGyroscopeSensor::Init ( palBody body,
Float  axis_x,
Float  axis_y,
Float  axis_z 
)

Initializes the Gyroscope sensor. Attaches a gyroscope to a given body, with a given sense direction.

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