34 #ifndef __ENKI_DIFFERENTIAL_WHEELED_H 35 #define __ENKI_DIFFERENTIAL_WHEELED_H virtual void applyForces(double dt)
Consider that robot wheels have immobile contact points with ground, and override speeds...
Definition: DifferentialWheeled.cpp:98
double distBetweenWheels
Distance between the left and right driving wheels.
Definition: DifferentialWheeled.h:64
void resetEncoders()
Reset the encoder. Should be called when robot is moved manually. Odometry is cleared too...
Definition: DifferentialWheeled.cpp:63
Definition: DifferentialWheeled.h:45
virtual void controlStep(double dt)
Set the real speed of the robot given leftSpeed and rightSpeed. Add noise. Update encoders...
Definition: DifferentialWheeled.cpp:69
DifferentialWheeled(double distBetweenWheels, double maxSpeed, double noiseAmount)
Constructor.
Definition: DifferentialWheeled.cpp:52
double leftEncoder
The encoder for left wheel; this is not a real encoder, but rather the physical leftSpeed.
Definition: DifferentialWheeled.h:54
Enki is the namespace of the Enki simulator. All Enki functions and classes excepted the math one are...
Definition: BluetoothBase.cpp:44
double leftSpeed
Left speed of the robot.
Definition: DifferentialWheeled.h:49
double cmdAngSpeed
Resulting angular speed from wheels.
Definition: DifferentialWheeled.h:72
double rightOdometry
The odometry (accumulation of encoders) for right wheel.
Definition: DifferentialWheeled.h:60
double leftOdometry
The odometry (accumulation of encoders) for left wheel.
Definition: DifferentialWheeled.h:58
double cmdSpeed
Resulting tangent speed from wheels.
Definition: DifferentialWheeled.h:74
double rightSpeed
Reft speed of the robot.
Definition: DifferentialWheeled.h:51
double noiseAmount
Relative amount of motor noise.
Definition: DifferentialWheeled.h:68
double rightEncoder
The encoder for right wheel; this is not a real encoder, but rather the physical rightSpeed.
Definition: DifferentialWheeled.h:56
double maxSpeed
Maximum speed wheels can provide.
Definition: DifferentialWheeled.h:66
A robot is a PhysicalObject that has additional interactions and a controller.
Definition: PhysicalEngine.h:379