add more logs

This commit is contained in:
Sem van der Hoeven
2023-05-12 14:54:22 +02:00
parent cdc8a9fed2
commit e4e9d60ead

View File

@@ -273,14 +273,17 @@ private:
{
if (current_control_mode == CONTROL_MODE_ATTITUDE)
{
RCLCPP_INFO(this->get_logger(), "Sending attitude setpoint");
send_attitude_setpoint(new_setpoint);
}
else if (current_control_mode == CONTROL_MODE_VELOCITY)
{
RCLCPP_INFO(this->get_logger(), "Sending velocity setpoint");
send_velocity_setpoint();
}
else if (current_control_mode == CONTROL_MODE_POSITION)
{
RCLCPP_INFO(this->get_logger(), "Sending position setpoint");
send_position_setpoint();
}
}