-
Notifications
You must be signed in to change notification settings - Fork 194
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
WAM-V joystick teleoperation #503
Conversation
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
@caguero it looks like testing this PR currently requires building gazebosim from source. Is that right? I see you've merged #1681 but I'm not sure how long this change takes to propagate to the binaries. Edit: Sorry, disregard the above. After installing the latest updates, wiping out the workspace and rebuilding I've been able to get this running with the thrusters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be working as I would expect. A minor caveat is that the thrusters seem more powerful than I remember. For example, by switching from full-forward to full-back, I can stop almost instantly. I can also spin fast in a tight circle, then reverse to spin in the opposite direction with very little transition time. I don't think this is necessarily a problem but it does seem different. Maybe it's a result of not having any of the components on the wamv yet?
This is intended because I set |
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Requires:
This pull request adds the ability to teleoperate the WAM-V, which I think it's very useful for testing scoring plugins.
As a reminder, you need a Logitech F310 controller with the back switch in
D
mode.How to test it?
Launch the simulation:
Launch the WAM-V:
Launch the
usv_joy_teleop
launch file:To control the WAM-V you have to keep the
L1
button pressed (deadman button). Other than that, the controls are the same that we used to have. The ball shooter is not installed in the WAM-V but you can confirm that the message is sent by echoing the/wamv/shooters/ball_shooter/fire
topic while you pressed theA
button.Note: I think that the joy_teleop package is still not polished enough to be used with ROS2. As far as I know it's not possible to configure it without a deadman button, which I think it's a bug.