49 virtual int set(
const motor* values,
int length){
virtual ~DummyMotor()
Definition: dummymotor.h:36
virtual bool act(GlobalData &globaldata)
performs the actions, This is usually called in doInternalStuff() from the robot
Definition: dummymotor.h:45
DummyMotor(int number=1)
Definition: dummymotor.h:33
Abstact base class for attachable motors.
Definition: motor.h:35
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
Data structure holding all essential global information.
Definition: globaldata.h:57
double motor
Definition: types.h:30
virtual int getMotorNumber() const
return the dimensionality of this motor
Definition: dummymotor.h:41
virtual int set(const motor *values, int length)
sends the action commands to the motor.
Definition: dummymotor.h:49
Definition: dummymotor.h:31
virtual void init(Primitive *own, Joint *joint=0)
initialises motor with body of robot
Definition: dummymotor.h:38