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:
Beat Küng
2019-10-14 13:39:34 +02:00
parent 0db0981b1b
commit 6854b14dd6
4 changed files with 1 additions and 16 deletions
@@ -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?