Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rmf_robot_sim_common/src/slotcar_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ double SlotcarCommon::compute_change_in_rotation(
const Eigen::Vector3d* requested_heading,
double* const dir) const
{
if (dpos.norm() < 1e-3)
if (dpos.norm() < 1e-3 && !requested_heading)
{
// We're right next to the waypoint, so we don't really need any heading
// to reach it.
Expand Down
Loading