Motor::getTemperature() and MotorGroup::getTemperatures(). Gets the temperature of the motor, or a vector of temperatures in the motor group
Motivation
Provides telemetry which could be used to prevent motor overheats, for example by operating the robot in a less aggressive manner or by cooling the motors with compressed air
Implementation
Temperature Motor::getTemperature() gets the temperature of the motor
std::vector<Temperature> MotorGroup::getTemperatures() gets the temperature of every motor in the group
Overview
Motor::getTemperature()
andMotorGroup::getTemperatures()
. Gets the temperature of the motor, or a vector of temperatures in the motor groupMotivation
Provides telemetry which could be used to prevent motor overheats, for example by operating the robot in a less aggressive manner or by cooling the motors with compressed air
Implementation
Temperature Motor::getTemperature()
gets the temperature of the motorstd::vector<Temperature> MotorGroup::getTemperatures()
gets the temperature of every motor in the group