add more logs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user