7 #ifndef CCI_DIFFERENTIAL_STEERING_SENSOR_H
8 #define CCI_DIFFERENTIAL_STEERING_SENSOR_H
11 class CCI_DifferentialSteeringSensor;
14 #include <argos3/core/control_interface/ci_sensor.h>
30 VelocityLeftWheel(0.0f),
31 VelocityRightWheel(0.0f),
32 CoveredDistanceLeftWheel(0.0f),
33 CoveredDistanceRightWheel(0.0f),
34 WheelAxisLength(0.0f) {}
37 Real f_velocity_right_wheel,
38 Real f_covered_distance_left_wheel,
39 Real f_covered_distance_right_wheel,
40 Real f_wheel_axis_length) :
41 VelocityLeftWheel(f_velocity_left_wheel),
42 VelocityRightWheel(f_velocity_right_wheel),
43 CoveredDistanceLeftWheel(f_covered_distance_left_wheel),
44 CoveredDistanceRightWheel(f_covered_distance_right_wheel),
45 WheelAxisLength(f_wheel_axis_length) {
67 virtual void CreateLuaState(lua_State* pt_lua_state);
69 virtual void ReadingsToLuaState(lua_State* pt_lua_state);
Real CoveredDistanceRightWheel
float Real
Collects all ARGoS code.
SReading(Real f_velocity_left_wheel, Real f_velocity_right_wheel, Real f_covered_distance_left_wheel, Real f_covered_distance_right_wheel, Real f_wheel_axis_length)
const SReading & GetReading() const
Returns the reading of the encoder sensor Returns the reading of the encoder sensor.
CCI_DifferentialSteeringSensor()
Constructor.
Real CoveredDistanceLeftWheel
The basic interface for all sensors.
virtual ~CCI_DifferentialSteeringSensor()
Destructor.
The namespace containing all the ARGoS related code.