Skip to content

Make rrbot demo an independent package - #27

Open
zultron wants to merge 5 commits into
PickNikRobotics:kinetic-develfrom
zultron:rrbot-pr
Open

Make rrbot demo an independent package#27
zultron wants to merge 5 commits into
PickNikRobotics:kinetic-develfrom
zultron:rrbot-pr

Conversation

@zultron

@zultron zultron commented Jan 28, 2019

Copy link
Copy Markdown
Contributor

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.

@davetcoleman davetcoleman left a comment

Copy link
Copy Markdown
Member

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