9namespace RoboidControl {
25 void Update(
float currentTimeMs);
60 float pitch = 0.0F,
float roll = 0.0F);
A Motor is a Thing which can move parts of the Roboid.
Definition Motor.h:12
The Propulsion module for a Roboid is used to move the Roboid in space.
Definition Propulsion.h:18
virtual float GetAngularVelocity()
Retrieve the current angular velocity of the roboid.
Definition Propulsion.cpp:42
Roboid * roboid
The roboid of this propulsion system.
Definition Propulsion.h:74
void Update(float currentTimeMs)
Update the propulsion state of the Roboid.
Definition Propulsion.cpp:21
virtual void SetTwistSpeed(float forward, float yaw=0.0F)
Get the Placement of a specific Motor.
Definition Propulsion.cpp:31
Motor ** motors
The Placement of the motors used for Propulsion.
Definition Propulsion.h:81
virtual Polar GetVelocity()
Retrieve the current velocity of the roboid.
Definition Propulsion.cpp:40
Motor * GetMotor(unsigned int motorIx)
Get a specific motor.
Definition Propulsion.cpp:13
unsigned int motorCount
The number of motors used for Propulsion.
Definition Propulsion.h:78
Propulsion()
Default Constructor for Propulsion.
Definition Propulsion.cpp:6
virtual void SetVelocity(Polar velocity)
Definition Propulsion.cpp:38
unsigned int GetMotorCount()
Get the number of motors in this roboid.
Definition Propulsion.cpp:11
A Roboid is used to control autonomous robots.
Definition Roboid.h:14
Definition Accelerometer.h:7
Definition AbsoluteEncoder.h:5