remove new_setpoint bool

This commit is contained in:
Sem van der Hoeven
2023-05-12 15:06:05 +02:00
parent 3ba698cc5c
commit eae3620848

View File

@@ -266,7 +266,7 @@ private:
if (current_control_mode == CONTROL_MODE_ATTITUDE) if (current_control_mode == CONTROL_MODE_ATTITUDE)
{ {
RCLCPP_INFO(this->get_logger(), "Sending attitude setpoint"); RCLCPP_INFO(this->get_logger(), "Sending attitude setpoint");
send_attitude_setpoint(new_setpoint); send_attitude_setpoint();
} }
else if (current_control_mode == CONTROL_MODE_VELOCITY) else if (current_control_mode == CONTROL_MODE_VELOCITY)
{ {