8namespace RoboidControl {
23 void Update(
float currentTimeMs);
A Motor is a Thing which can move parts of the Roboid.
Definition Motor.h:11
A plament is used to specify where a Thing is placed on the Roboid.
Definition Placement.h:38
The Propulsion module for a Roboid is used to move the Roboid in space.
Definition Propulsion.h:16
void Update(float currentTimeMs)
Update the propulsion state of the Roboid.
Definition Propulsion.cpp:38
virtual void SetTwistSpeed(float forward, float yaw=0.0F)
Sets the forward and rotation speed of a (grounded) Roboid.
Definition Propulsion.cpp:40
Motor * GetMotor(unsigned int motorIx)
Get a specific motor.
Definition Propulsion.cpp:16
unsigned int motorCount
The number of motors used for Propulsion.
Definition Propulsion.h:66
Placement * placement
The Placement of the motors used for Propulsion.
Definition Propulsion.h:68
Placement * GetMotorPlacement(unsigned int motorIx)
Get the Placement of a specific Motor.
Definition Propulsion.cpp:27
Propulsion()
Default Constructor for Propulsion.
Definition Propulsion.cpp:7
unsigned int GetMotorCount()
Get the number of motors in this roboid.
Definition Propulsion.cpp:12
A 2-dimensional vector.
Definition Vector2.h:31
A 3-dimensional vector.
Definition Vector3.h:35