add changing yawspeed

This commit is contained in:
Sem van der Hoeven
2023-05-01 13:59:48 +02:00
parent eeb67733d3
commit 65cd11ca11
2 changed files with 3 additions and 3 deletions

View File

@@ -72,10 +72,10 @@ private:
RCLCPP_INFO(this->get_logger(), "switching to 0 vel"); RCLCPP_INFO(this->get_logger(), "switching to 0 vel");
has_swithed = true; has_swithed = true;
} }
msg.velocity[0] = 0; msg.velocity[0] = 1;
msg.velocity[1] = 0; msg.velocity[1] = 0;
msg.velocity[2] = D_SPEED(0); msg.velocity[2] = D_SPEED(0);
msg.yawspeed = 0; msg.yawspeed = 1;
} }
// if (setpoint_count < 30) // if (setpoint_count < 30)