Define DJI_MOTOR_TO_NORMALIZED_ID¶
Defined in File dji_motor_tx_handler.hpp
Define Documentation¶
-
DJI_MOTOR_TO_NORMALIZED_ID(id)¶
Converts the dji MotorId to a uint32_t.
- Parameters:
id – [in] Some CAN MotorId
- Returns:
id normalized to be around [0, DJI_MOTORS_PER_CAN), or some value >= DJI_MOTORS_PER_CAN if the id is out of bounds