mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
log
This commit is contained in:
@@ -378,8 +378,6 @@ namespace Modelec
|
|||||||
auto p = Point(wl[0].x, wl[0].y, wl[0].theta);
|
auto p = Point(wl[0].x, wl[0].y, wl[0].theta);
|
||||||
if (RotateTo(p))
|
if (RotateTo(p))
|
||||||
{
|
{
|
||||||
RCLCPP_INFO(node_->get_logger(), "Rotating first before going to target");
|
|
||||||
|
|
||||||
await_rotate_ = true;
|
await_rotate_ = true;
|
||||||
|
|
||||||
send_back_waypoints_.clear();
|
send_back_waypoints_.clear();
|
||||||
@@ -391,8 +389,6 @@ namespace Modelec
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RCLCPP_INFO(node_->get_logger(), "No need to rotate first, going directly to target");
|
|
||||||
|
|
||||||
waypoints_.clear();
|
waypoints_.clear();
|
||||||
|
|
||||||
for (auto& w : wl)
|
for (auto& w : wl)
|
||||||
|
|||||||
Reference in New Issue
Block a user