ros-teleop / teleop_twist_keyboard

Generic Keyboard Teleop for ROS
253 stars 399 forks source link

Bug with increase/decrease of speed. #26

Open Gryogor opened 3 years ago

Gryogor commented 3 years ago

Increase and decrease in speed commands will also repeat the last issued movement command (move, strafe, rotate, stand still).

trainman419 commented 3 years ago

Yes; when you increase speed a new movement command is sent, so that the robot moves at the new speed.

Why do you think this is a bug? What behavior were you expecting?

Gryogor commented 3 years ago

To just increase the speed without any movement. It is not stated that it will increase the speed AND repeat the last movement, so other behavior is confusing.

wernersbacher commented 2 years ago

In my understanding, the twist message is always carrying the whole movement information (state) in the any moment. So it shouldn't really matter if the message gets sent once, ten or hundred times to your robot. So as you change the speed on your keyboard, it will just resent the new state.