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

Porting tf2_bullet to ros2 #205

Merged
merged 13 commits into from
Mar 4, 2020
Merged

Porting tf2_bullet to ros2 #205

merged 13 commits into from
Mar 4, 2020

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Dec 17, 2019

Porting tf2_bullet to ros2

  • copy headers
  • ported tests

I need this package to continue porting test_tf2

@ahcorde ahcorde added the enhancement New feature or request label Dec 17, 2019
@wuffle-ros wuffle-ros bot added the in review Waiting for review (Kanban column) label Dec 17, 2019
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Looks good to me with green CI.

@ahcorde
Copy link
Contributor Author

ahcorde commented Dec 17, 2019

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@@ -21,5 +21,10 @@
<run_depend>bullet</run_depend>
<run_depend>geometry_msgs</run_depend>

</package>
<depend>bullet</depend>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have include this line for rosdep. But it's not working, "bullet" is still not installed

Copy link
Contributor

@clalancette clalancette Dec 19, 2019

Choose a reason for hiding this comment

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

Yeah. This makes it work with rosdep and the buildfarm, so it is necessary. Unfortunately the CI system doesn't use rosdep to calculate this stuff, so we still have to modify the CI scripts to install it manually. There are a few steps to getting this in:

  1. Figure out a way to install bullet on Windows. Ideally this would be a chocolatey package.
    1. If a chocolatey package is available, edit https://github.com/ros2/ros2_documentation/blob/master/source/Installation/Foxy/Windows-Development-Setup.rst to add it. Also log into each of the CI Windows machines and install it.
    2. If a chocolatey package is not available there are 2 options: build and host a chocolatey package ourselves (we have done this for some dependencies), or vendor bullet (this is more common). One example of a vendored package is https://github.com/ros2/yaml_cpp_vendor; that can be used as a template.
  2. Add libbullet-dev to https://github.com/ros2/ci/blob/25a3bdf20a310b1df8b28a5af92e1eb66d5681ea/linux_docker_resources/Dockerfile#L40 (that will fix it for Linux).
  3. Edit https://github.com/ros2/ros2_documentation/blob/master/source/Installation/Foxy/OSX-Development-Setup.rst , add a line to brew install bullet.
  4. Log into each of the CI machines and run brew install bullet.

In this case the most important thing to figure out is how we are going to deal with it for Windows, since I think it is pretty straightforward for both Linux and macOS. Once we have that figured out the rest is just work that needs to get done.

This was referenced Dec 19, 2019
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde
Copy link
Contributor Author

ahcorde commented Mar 2, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status
  • Windows-container Build Status

@ahcorde
Copy link
Contributor Author

ahcorde commented Mar 3, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status
  • Windows-container Build Status

@ahcorde ahcorde merged commit ae4a2be into ros2 Mar 4, 2020
@delete-merged-branch delete-merged-branch bot deleted the ahcorde/pkg/tf2_bullet branch March 4, 2020 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in review Waiting for review (Kanban column)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants