mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 10:43:35 +08:00
Enable nav mode logging in navigator
This commit is contained in:
@@ -458,7 +458,7 @@ void
|
|||||||
Navigator::publish_position_setpoint_triplet()
|
Navigator::publish_position_setpoint_triplet()
|
||||||
{
|
{
|
||||||
/* update navigation state */
|
/* update navigation state */
|
||||||
/* TODO: set nav_state */
|
_pos_sp_triplet.nav_state = _vstatus.nav_state;
|
||||||
|
|
||||||
/* lazily publish the position setpoint triplet only once available */
|
/* lazily publish the position setpoint triplet only once available */
|
||||||
if (_pos_sp_triplet_pub > 0) {
|
if (_pos_sp_triplet_pub > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user