Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ForcedSphereConf Class Reference

#include <forcedsphere.h>

Public Member Functions

 ForcedSphereConf ()
 
 ~ForcedSphereConf ()
 
void destroy ()
 deletes sensors More...
 
void addSensor (Sensor *s)
 adds a sensor to the list of sensors More...
 
void addMotor (Motor *m)
 adds a motor to the list of motors More...
 

Public Attributes

double radius
 
double maxForce
 maximal force applied to the sphere More...
 
bool speedDriven
 if true, the robot is powered to reach the given speed (force is calculated) More...
 
double maxSpeed
 maximum speed of the robot when in speedDriven mode More...
 
short drivenDimensions
 bit mask for selecting the dimensions for the forces (see ForcedSphere::Dimensions) More...
 
bool cylinderBody
 whether to use a cylinder as body (like a puck) or the normal sphere More...
 
std::list< Sensor * > sensors
 list of sensors that are mounted at the robot. (e.g. AxisOrientationSensor) More...
 
std::list< Motor * > motors
 list of motors that are mounted at the robot. (e.g. Speaker) More...
 

Constructor & Destructor Documentation

Member Function Documentation

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

Member Data Documentation

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

std::list<Motor*> motors

list of motors that are mounted at the robot. (e.g. Speaker)

double radius
std::list<Sensor*> sensors

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)


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