One Motor 0.6.0
RoboMaster全平台一站式电机驱动库
载入中...
搜索中...
未找到
OneMotor::Motor::DJI::M2006Traits结构体 参考
类 OneMotor::Motor::DJI::M2006Traits 继承关系图:
OneMotor::Motor::DJI::MotorTraits< M2006Traits >

静态 Public 成员函数

template<uint8_t motor_id>
static consteval uint16_t cal_control_id ()
 
template<uint8_t motor_id>
static consteval uint16_t cal_control_offset ()
 
template<uint8_t motor_id>
static consteval uint16_t cal_feedback_id ()
 
- 静态 Public 成员函数 继承自 OneMotor::Motor::DJI::MotorTraits< M2006Traits >
static consteval bool has_gearbox ()
 
static constexpr float ecd_to_angle (const float ecd)
 
static consteval uint16_t control_id ()
 
static consteval uint8_t control_offset ()
 
static consteval uint16_t feedback_id ()
 

静态 Public 属性

static constexpr uint16_t max_current = 16384
 
static constexpr uint16_t encoder_resolution = 8192
 
static constexpr bool gearbox = true
 
static constexpr uint8_t reduction_ratio = 36
 
static constexpr uint8_t max_id = 8
 

该结构体的文档由以下文件生成: