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

Make rrbot demo an independent package #27

Open
wants to merge 5 commits into
base: kinetic-devel
Choose a base branch
from

Conversation

zultron
Copy link
Contributor

@zultron zultron commented Jan 28, 2019

This PR makes the rrbot demo install an independent package that can be referenced from other packages. My use case is to reuse rrbot files in the hal_ros_control rrbot demo: that hardware interface subclasses this one, and that demo reuses launch and configuration files from this one.

This PR tweaks a few other things: fixes catkin lint warnings, updates URLs in package.xml files, drops the redundant FindGflags.cmake script.

- Use catkin `add_compile_options` instead of setting
  `CMAKE_CXX_FLAGS`
- Don't `find_package(Gflags)`; this is now standard in ROS installs
- Alphabetize lists

Now passes `catkin lint -W2 src/ros_control_boilerplate` without
warnings or problems.
For the rrbot_control_boilerplate directory to be discovered, get this
out of the way
There is already an `rrbot_control` package from the
`gazebo_ros_demos` repo[1].  Give this package a unique name to
resolve conflicts.

[1]: https://github.com/ros-simulation/gazebo_ros_demos
The `rrbot_control_boilerplate` package is now a real, independent
package.  Other packages can now build against it from CMake with
`find_package(rrbot_control_boilerplate)`, and `.launch` files can
include its `.launch` files and load its configuration files.
zultron added a commit to tormach/hal_ros_control that referenced this pull request Jan 28, 2019
Update the rrbot demo to work with changes from
PickNikRobotics/ros_control_boilerplate#27:  update
`rrbot_control_boilerplate` name, and reuse its configuration and
launch configuration files.
Copy link
Member

@davetcoleman davetcoleman left a comment

Choose a reason for hiding this comment

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

A lot of good changes here! @AndyZe what are your thoughts?

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