This commit is contained in:
Sem van der Hoeven
2023-05-12 12:22:47 +02:00
parent 9faab231e7
commit b20a75dc92

View File

@@ -95,7 +95,7 @@ private:
else if (this->control_mode & (1 << CONTROL_POSITION_POS))
{
msg.control_mode = CONTROL_MODE_POSITION;
RLCPP_INFO(this->get_logger(), "set control mode to position");
RCLCPP_INFO(this->get_logger(), "set control mode to position");
}
RCLCPP_INFO(this->get_logger(), "publishing new control mode %d", msg.control_mode);
drone_control_mode_publisher_->publish(msg);