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

Removed set pinger position node from vrx.launch as well #439

Merged
merged 2 commits into from
Mar 18, 2022

Conversation

alexperez33
Copy link
Contributor

@alexperez33 alexperez33 commented Mar 15, 2022

@caguero I was able to replicate your fix with success (#438). I noticed that you removed the set_pinger_position node from gymkhana.launch. Would it make sense to remove it from vrx.launch as well (as shown in this PR)? Personally, I have my code set up such that to launch a task, vrx.launch is launched and the world file we want is passed in as an arg. I am not sure if anyone else does it like this, but if they did, they would still run into the pinger issue.

If this is not a viable way that I should go about launching tasks, please let me know! Thanks!

Copy link
Contributor

@caguero caguero left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @alexperez33 !. Using vrx.launch and setting the world parameter is correct. In fact this is how we do it in vrx-docker to launch trials.

The only issue here is that if you have a world without a gymkhana scoring plugin, nobody will set the position of the pinger. For example if you launch:

roslaunch vrx_gazebo vrx.launch

The pinger location will default to origin unless you manually call set_pinger_position.py . I think this is not very unreasonable so I'm approving.

@caguero caguero merged commit ed1c292 into osrf:issue_437 Mar 18, 2022
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.

2 participants