You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The tolerance to the dock's staging pose not requiring navigation
252
252
double dock_prestaging_tolerance_;
253
-
// Enable a rotation in place to the goal before starting the path. The control law may generate large sweeping arcs to the goal pose, depending on the initial robot orientation and k_phi, k_delta.
253
+
// Enable a rotation in place to the goal before starting the path.
254
+
// The control law may generate large sweeping arcs to the goal pose,
255
+
// depending on the initial robot orientation and k_phi, k_delta.
254
256
bool initial_rotation_;
255
257
// Enable aproaching a docking station only with initial detection without updates
RCLCPP_ERROR(get_logger(), "Docking server configuration is invalid. backward_blind is enabled when dock_backwards is disabled.");
67
+
RCLCPP_ERROR(get_logger(), "Docking server configuration is invalid.
68
+
backward_blind is enabled when dock_backwards is disabled.");
68
69
return nav2_util::CallbackReturn::FAILURE;
69
-
}
70
-
else{
71
-
// If you have backward_blind and dock_backward then we know we need to do the initial rotation to go from forward to reverse before doing the rest of the procedure. The initial_rotation would thus always be true.
70
+
} else{
71
+
// If you have backward_blind and dock_backward then
72
+
//we know we need to do the initial rotation to go from forward to reverse
73
+
//before doing the rest of the procedure. The initial_rotation would thus always be true.
72
74
initial_rotation_ = true;
73
75
}
74
76
RCLCPP_INFO(get_logger(), "Controller frequency set to %.4fHz", controller_frequency_);
0 commit comments