#include <forcedsphere.h>
Public Member Functions | |
ForcedSphereConf () | |
~ForcedSphereConf () | |
void | destroy () |
deletes sensors | |
void | addSensor (Sensor *s) |
adds a sensor to the list of sensors | |
void | addMotor (Motor *m) |
adds a motor to the list of motors | |
Public Attributes | |
double | radius |
double | maxForce |
maximal force applied to the sphere | |
bool | speedDriven |
if true, the robot is powered to reach the given speed (force is calculated) | |
double | maxSpeed |
maximum speed of the robot when in speedDriven mode | |
short | drivenDimensions |
bit mask for selecting the dimensions for the forces (see ForcedSphere::Dimensions) | |
bool | cylinderBody |
whether to use a cylinder as body (like a puck) or the normal sphere | |
std::list< Sensor * > | sensors |
list of sensors that are mounted at the robot. (e.g. AxisOrientationSensor) | |
std::list< Motor * > | motors |
list of motors that are mounted at the robot. (e.g. Speaker) |
ForcedSphereConf | ( | ) |
~ForcedSphereConf | ( | ) |
void addMotor | ( | Motor * | m | ) | [inline] |
adds a motor to the list of motors
void addSensor | ( | Sensor * | s | ) | [inline] |
adds a sensor to the list of sensors
void destroy | ( | ) |
deletes sensors
bool cylinderBody |
whether to use a cylinder as body (like a puck) or the normal sphere
short drivenDimensions |
bit mask for selecting the dimensions for the forces (see ForcedSphere::Dimensions)
double maxForce |
maximal force applied to the sphere
double maxSpeed |
maximum speed of the robot when in speedDriven mode
double radius |
list of sensors that are mounted at the robot. (e.g. AxisOrientationSensor)
bool speedDriven |
if true, the robot is powered to reach the given speed (force is calculated)