Skip to content

Commit

Permalink
Update mecanum_drive_controller/src/mecanum_drive_controller.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Jan 27, 2023
1 parent b77ee49 commit a22266c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mecanum_drive_controller/src/mecanum_drive_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,10 @@ controller_interface::return_type MecanumDriveController::update_and_write_comma
controller_state_publisher_->unlockAndPublish();
}

reference_interfaces_[0] = std::numeric_limits<double>::quiet_NaN();
reference_interfaces_[1] = std::numeric_limits<double>::quiet_NaN();
reference_interfaces_[2] = std::numeric_limits<double>::quiet_NaN();

return controller_interface::return_type::OK;
}

Expand Down

0 comments on commit a22266c

Please sign in to comment.