You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Conception/slamware_sdk/include/rpos/message/motor_messages.h

13 lines
503 B

#pragma once
namespace rpos { namespace message { namespace motor {
struct MotorInfo
{
unsigned int motorId;
unsigned int minSpeed; // these speed is a relative value (usually a PWM value)
unsigned int maxSpeed; // for instance: on almost all rp devices, minSpeed is 0, maxSpeed is 1023, if the currentSpeed is 512:
unsigned int currentSpeed; // the motor will be driven by a PWM signal with about 50% duty ratio
};
}}}