mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 02:40:35 +08:00
esc_report: remove unused fields to reduce message size
esc_setpoint in UAVCAN was just wrong, this is what it really is: uint7 power_rating_pct # Instant demand factor in percent (percent of maximum power); range 0% to 127%.
This commit is contained in:
@@ -219,7 +219,6 @@ int DfBebopBusWrapper::_publish(struct bebop_state_data &data)
|
||||
for (int i = 0; i < 4; i++) {
|
||||
esc_status.esc[_esc_map[i]].timestamp = esc_status.timestamp;
|
||||
esc_status.esc[_esc_map[i]].esc_rpm = data.rpm[i];
|
||||
esc_status.esc[_esc_map[i]].esc_setpoint_raw = esc_speed_setpoint_rpm[i];
|
||||
}
|
||||
|
||||
// TODO: when is this ever blocked?
|
||||
|
||||
Reference in New Issue
Block a user