Skip to content
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

Enable shooting the ball with the joystick #397

Merged
merged 2 commits into from
Nov 15, 2021

Conversation

j-herman
Copy link
Collaborator

To test:
Run scan/dock/deliver task
roslaunch vrx_gazebo scan_dock_deliver.launch
Run teleop node
roslaunch vrx_gazebo usv_joydrive.launch
To confirm the ball shooter actually fires, listen on the appropriate topic
rostopic echo /wamv/shooters/ball_shooter/fire
Hit the left lower trigger and you should see the ball shoot, as well as an empty message (---) on the firing topic.

The code is added in twist2thrust.py, which seemed logical since that's running anyways to map between joystick and wamv commands. It could be broken out separately if desired.

@j-herman j-herman requested a review from M1chaelM November 10, 2021 18:35
@j-herman j-herman linked an issue Nov 10, 2021 that may be closed by this pull request
Copy link
Collaborator

@M1chaelM M1chaelM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! All works as advertised.

@j-herman j-herman merged commit 43de960 into master Nov 15, 2021
@j-herman j-herman deleted the jessica/ball_shooter_teleop branch November 15, 2021 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

map ballshooter launch command to joystick button
2 participants