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

pr2.urdf.xacro: support xacro:arg #266

Merged
merged 1 commit into from Feb 13, 2018
Merged

Conversation

furushchev
Copy link
Contributor

@furushchev furushchev commented Aug 25, 2017

Currently, in order to spawn pr2 URDF as parameter in roslaunch, we must set environment variable KINECT1=true or KINECT2=true and this behavior is uncontrollable by roslaunch.
In this pull request, xacro:arg is used as variable KINECT instead of optenv, and set the default value as environment variables in upload_pr2.launch.
We can now control kinect both via roslaunch (e.g. roslaunch pr2_description upload_pr2.launch KINECT1:=true) and via env (e.g. KINECT1=true roslaunch pr2_description upload_pr2.launch)

@k-okada k-okada merged commit c519efd into PR2:kinetic-devel Feb 13, 2018
@furushchev furushchev deleted the use-arg branch May 9, 2018 03:41
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.

None yet

2 participants