From 567604033bfc06f78b646bc00383f9ffe79721da Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Wed, 10 May 2023 16:28:46 +0200 Subject: [PATCH] ; --- src/px4_connection/src/heartbeat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/px4_connection/src/heartbeat.cpp b/src/px4_connection/src/heartbeat.cpp index c6306143..716e36cd 100644 --- a/src/px4_connection/src/heartbeat.cpp +++ b/src/px4_connection/src/heartbeat.cpp @@ -74,8 +74,8 @@ private: { response->status = 1; } else { - this->control_mode = request->control - RCLCPP_INFO(this->get_logger(), "set control mode to %d", this->control_mode) + this->control_mode = request->control; + RCLCPP_INFO(this->get_logger(), "set control mode to %d", this->control_mode); response->status = 0; }