Ask Your Question

Logitech extreme 3d pro joystick

asked 2018-01-24 22:17:17 -0600

updated 2018-01-24 22:18:38 -0600

This joystick isn't driving the diff_drive_controller right. Forward is good, reverse is good, steering in reverse is good, but steering forward is backwards. When I want to go left, robot goes right! Is the best solution for this to remap the joystick output? I see there's a node that can change input values into others, for keypad or joystick. joystick_remapper. I see good examples and description of button remapping but none of axis remapping. Or would this behavior be corrected with different values in the covariance matrix in the parameters for diff_drive? My robot is the RosJet (or very like it.)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-23 01:06:34 -0600

This corrected itself. I was driving the unit backwards and didn't know it. When I changed from the small (test) robot to the large one, the motor connections happened to be reversed, so it went correctly. The steering in reverse with joystick is a little strange, the caster portion of robot moves the direction of the joystick but the base motion is the other way as you drive. This would be just a matter of choice, I suppose, that the creators of diff_drive decided. It isn't a problem now, since I expect to spend little time driving in reverse.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-01-24 22:17:17 -0600

Seen: 353 times

Last updated: Feb 23 '18