mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Cyphal: remove setpoint scaling to 8192
This commit is contained in:
parent
d3480d1302
commit
b063202b45
@ -105,7 +105,7 @@ public:
|
||||
|
||||
for (uint8_t i = 0; i < MAX_ACTUATORS; i++) {
|
||||
if (i < num_outputs) {
|
||||
msg_sp.value[i] = static_cast<float>(outputs[i]);
|
||||
msg_sp.value[i] = static_cast<float>(outputs[i] / 8192.0);
|
||||
|
||||
} else {
|
||||
// "unset" values published as NaN
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user