diff --git a/src/px4_connection/src/heartbeat.cpp b/src/px4_connection/src/heartbeat.cpp index 3f1c5119..75d8ed96 100644 --- a/src/px4_connection/src/heartbeat.cpp +++ b/src/px4_connection/src/heartbeat.cpp @@ -69,14 +69,14 @@ private: const std::shared_ptr request, const std::shared_ptr response) { - if (request->control < 0 || request->control > CONTROL_POSITION_POS) - { - response->status = 1; - } else { - this->control_mode = request->control - RCLCPP_INFO(this->get_logger(), "set control mode to %d", this->control_mode) - response->status = 0; - } + // if (request->control < 0 || request->control > CONTROL_POSITION_POS) + // { + // response->status = 1; + // } else { + // this->control_mode = request->control + // RCLCPP_INFO(this->get_logger(), "set control mode to %d", this->control_mode) + // response->status = 0; + // } } };