refactor(commander): remove unused parameter COM_MOT_TEST_EN

This commit is contained in:
Matthias Grob authored and Jacob Dahl committed 2026-03-17 12:56:18 -08:00
1 parent 9a5034b187
commit 09cb22f799
5 files changed
-18

No files matched your search

-4
View File
@@ -1671,10 +1671,6 @@ unsigned Commander::handleCommandActuatorTest(const vehicle_command_s &cmd)
return vehicle_command_ack_s::VEHICLE_CMD_RESULT_DENIED;
}
if (_param_com_mot_test_en.get() != 1) {
return vehicle_command_ack_s::VEHICLE_CMD_RESULT_DENIED;
}
actuator_test_s actuator_test{};
actuator_test.timestamp = hrt_absolute_time();
actuator_test.function = static_cast<int>(lroundf(cmd.param5));