mavlink: stream rename GROUND_TRUTH -> HIL_STATE_QUATERNION

This commit is contained in:
Daniel Agar
2020-10-10 19:49:41 -04:00
parent cb4d974977
commit 5fa1e8e8ba
3 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -722,10 +722,10 @@ Mavlink::set_hil_enabled(bool hil_enabled)
ret = configure_stream("HIL_ACTUATOR_CONTROLS", 200.0f);
if (_param_sys_hitl.get() == 2) { // Simulation in Hardware enabled ?
configure_stream("GROUND_TRUTH", 25.0f); // HIL_STATE_QUATERNION to display the SIH
configure_stream("HIL_STATE_QUATERNION", 25.0f); // ground truth to display the SIH
} else {
configure_stream("GROUND_TRUTH", 0.0f);
configure_stream("HIL_STATE_QUATERNION", 0.0f);
}
}
@@ -734,7 +734,7 @@ Mavlink::set_hil_enabled(bool hil_enabled)
_hil_enabled = false;
ret = configure_stream("HIL_ACTUATOR_CONTROLS", 0.0f);
configure_stream("GROUND_TRUTH", 0.0f);
configure_stream("HIL_STATE_QUATERNION", 0.0f);
}
return ret;