8 axleLength(axleLength),
10 maxVelocity(maxVelocity),
11 wheelDiameter(wheelDiameter) {
16 return id == other.
id;
19 RobotModel::operator uint32_t()
const {
unsigned int getBaud() const
static RobotModel CREATE_1
Compatible with Create 1 or Roomba 500 series.
ProtocolVersion getVersion() const
float getMaxVelocity() const
float getWheelDiameter() const
RobotModel(const ProtocolVersion version, const float axleLength, const unsigned int baud, const float maxVelocity=0.5, const float wheelDiameter=0.078)
bool operator==(RobotModel &other) const
static RobotModel CREATE_2
Compatible with Create 2 or Roomba 600 series and greater.
static RobotModel ROOMBA_400
Compatible with Roomba 400 series and earlier.
float getAxleLength() const