Viam C++ SDK current
|
Information about power-state of the motor. More...
#include <motor.hpp>
Public Attributes | |
bool | is_on |
True if the motor is on. | |
double | power_pct |
Information about power-state of the motor.
double viam::sdk::Motor::power_status::power_pct |
Power percent (from 0 to 1, or from -1 to 1 for motors that support negative power), based on the last command sent to motor. If the last command was a stop command, this value will be 0.