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

also support gazebo instead of gazebo_ros for package exports #34

Conversation

meyerj
Copy link
Contributor

@meyerj meyerj commented Jun 22, 2013

Due to the renaming of the gazebo ROS package in gazebo_ros compared to the simulator_gazebo stack numerous packages that want to export plugin paths, model paths or media paths have to be updated and depend on the new gazebo_ros package now. But in fact the gazebo_ros_paths_plugin is only a helper to add the paths using the gazebo API and the semantics is more like exporting these paths for gazebo. I would strongly recommend to additionally support "gazebo" as a package name when searching for packages that export gazebo paths.

The same problem exists for the run scripts currently installed in lib/gazebo_ros/, forcing all users to update their launch files. Would it be very "bad" to install them in lib/gazebo/ instead or create symlinks there to not break existing launch files using <node name="gazebo" pkg="gazebo" type="gazebo">...</node>?

Having to maintain different branches for each ROS distro of repositories with packages using gazebo is quite annoying and should be avoided (although it's rarely possible due to other changes in the API). This is especially true if there are no (visible) fundamental changes but only small renamings.

… for plugin_path, gazebo_model_path or gazebo_media_path exports
@davetcoleman
Copy link
Collaborator

Within the 3 for loops that you've added, can you also add ROS_WARN messages with deprecated warnings so that eventually we can converge on one export path?

Would it be very "bad" to install them in lib/gazebo/ instead or create symlinks there

What if we installed it in both?

@hsu can you give your thoughts on these things?

As a side note, we should switch the functions rosPackageCommandDebug and rosPackageGetPluginsDebug within gazebo_ros_paths_plugin.cpp to use the native ros::package::command() and getPlugins() functions now that the 3 yr old ticket is fixed. #36

@davetcoleman
Copy link
Collaborator

bump. Can you add those deprecated warnings, then we can merge this. Thanks!

davetcoleman added a commit that referenced this pull request Jun 27, 2013
…ugins_patch

also support gazebo instead of gazebo_ros for package exports
@davetcoleman davetcoleman merged commit 4b1e80f into ros-simulation:hydro-devel Jun 27, 2013
@meyerj meyerj deleted the support_gazebo_package_name_for_plugins_patch branch June 27, 2013 19:57
@davetcoleman davetcoleman mentioned this pull request Jun 28, 2013
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