-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange behaviors while using rviz ManualController plugin #5427
Comments
Thank you for creating the issue. I was not able to reproduce the issue by following Could you share a video that is happening? |
Sure, here is the video 2023-11-09.16-33-45.mp4 |
Thank you for the video @evshary, @TakaHoribe will ask TIER IV engineer who is responsible for the plugin. |
I found this issue can be fixed by forcing the car to go through the autoware.universe/common/tier4_control_rviz_plugin/src/tools/manual_controller.cpp Lines 136 to 143 in 3ac90b0
This can be accomplished by changing the condition autoware.universe/common/tier4_control_rviz_plugin/src/tools/manual_controller.cpp Line 136 in 3ac90b0
to if (ackermann.longitudinal.speed > eps && current_velocity_ > -eps) { The switch to Unrelated, but there might be a bug with the calculation of the time step autoware.universe/common/tier4_control_rviz_plugin/src/tools/manual_controller.cpp Line 225 in 3ac90b0
Here it is constant but it should be calculation from the difference in the timestamps of the received |
@maxime-clem to see if a PR needs to be created |
I opened a PR to fix this issue: #6230 |
@evshary friendly ping. |
Hi @mehmetdogru @maxime-clem Sorry that I didn't have time to test it recently. I hope I can give it a try next week. |
@evshary It is fine if you can check it next week. I just want to make sure the proposed solution is suitable. |
@maxime-clem After some tests, I believe the bug is fixed now. Thank you! |
@evshary thank you for checking. |
Done. |
Checklist
Description
While using the rviz2 plugin ManualController, the vehicle will lose control if I set positive and negative velocity repeatedly
Expected behavior
The vehicle should work no matter in the positive or negative velocity.
Actual behavior
The vehicle will lose control
Steps to reproduce
Versions
Ubuntu 22.04 with latest humble Autoware.
Possible causes
I guess this is something wrong with handling acceleration in ManualController, but haven't taken a deeper look.
Additional context
Autoware galactic doesn't have the issue.
The text was updated successfully, but these errors were encountered: