Bug Report for teleop_twist_joy that could lead to potential accident
Hello,
I am on ROS humble, and using teleoptwistjoy with Logitech f710 controller for a while. After a recent update with humble, the joystick started acting erroneously.
Upon closer inspection, I have found that the joystick reports x and y axes as 0.99 initially. So when you push the security button, it will send the cmdvel command derived from x=0.99, y=0.99 resulting in robot to move in full speed in a circular pattern, without touching the joystick. So the solution is move the joysticks before touching the security button and it will work normally as before.
But once the joystick is plugged in it reads 0.99 for all axes, and not 0.0 as it was before. I understand this could be on various levels, maybe some change in linux kernel, or the module that reads /dev/input/js0 - or the teleoptwistjoy package itself.
I meant to report this as an issue on https://github.com/ros2/teleop_twist_joy but the issues of repository are turned off, so I decided to report it to ros.answers.
It is not a problem for me but if some other people are using the same setup, after software update, the teleoptwistjoy package will work erroneously, and it might cause a crash of the robot or accident, by accelerating with 0 throttle input, but security button pushed.
Best Regards, Can
Asked by wintermute on 2023-06-26 08:47:12 UTC
Comments
You should be able to post on ros2/teleop_twist_joy/issues. Not sure what you saw, but the tracker is definitely enabled.
Asked by gvdhoorn on 2023-06-26 12:53:54 UTC
Closing this one, as you appear to have posted ros2/teleop_twist_joy#37.
Asked by gvdhoorn on 2023-06-27 02:52:11 UTC