LemLib / hardware

Hardware Abstractions for the Vex V5
MIT License
1 stars 1 forks source link

✨ Motor Temperature Telemetry #1

Closed gamecocks08 closed 1 month ago

gamecocks08 commented 3 months ago

Overview

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

SizzinSeal commented 1 month ago

Implemented in e28d038