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 to output transmission_interface instead of pr2_mechanism_model #35

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

pazeshun
Copy link
Contributor

@pazeshun pazeshun commented May 1, 2020

Currently, collada_to_urdf outputs pr2_mechanism_model/SimpleTransmission when --add_gazebo_description flag is set:
https://github.com/ros/collada_urdf/blob/1.12.12/collada_urdf/src/collada_to_urdf.cpp#L483-L490
However, current mainstream of transmission for Gazebo is transmission_interface/SimpleTransmission:
https://github.com/ros-simulation/gazebo_ros_demos/blob/64e9200749567aab9ca2289563eea987fea8cf50/rrbot_description/urdf/rrbot.xacro#L199-L208

This PR enables you to make collada_to_urdf output transmission_interface/SimpleTransmission by passing --use_transmission_interface (or -T) flag.
This PR doesn't change the current behavior unless that flag is set.

@clalancette
Copy link
Collaborator

This seems like a perfectly good solution to me. It also compiles and passes tests for me locally, so I'll merge it. Thanks for the contribution!

@clalancette clalancette merged commit e6bb1ac into ros:kinetic-devel Jun 12, 2020
@pazeshun
Copy link
Contributor Author

Thank you very much!

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