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

Simplifications in wake of PCL 1.8.0 #41

Merged
merged 5 commits into from
Jun 17, 2016
Merged

Simplifications in wake of PCL 1.8.0 #41

merged 5 commits into from
Jun 17, 2016

Conversation

mikepurvis
Copy link
Owner

@mikepurvis mikepurvis commented Jun 15, 2016

Also includes migrating to Gazebo 7, and using brewed numpy, both of which will require some further testing.

@hawesie @spmaniato @ahundt

@mikepurvis
Copy link
Owner Author

mikepurvis commented Jun 16, 2016

Just wrapping up a local Indigo build (on El Cap), which started from a wiped Homebrew, so I think this is good to go in.

A potential final step in eliminating the need to pre-install gazebo7 and numpy would be to put our own file in /etc/ros/rosdep/sources.list.d/ which overrides those keys, so that then rosdep would resolve them as we desire rather than how they're set in ros/rosdistro.

Nevermind, went ahead and did that, so that's even better then.

@mikepurvis mikepurvis changed the title WIP: Simplifications in wake of PCL 1.8.0 Simplifications in wake of PCL 1.8.0 Jun 16, 2016
@@ -125,8 +115,7 @@ do_install()
rosinstall_generator ${ROS_CONFIGURATION} ${ROS_EXTRA_PACKAGES} --rosdistro ${ROS_DISTRO} --deps --tar > ${WS}.rosinstall
wstool init -j8 src ${WS}.rosinstall

# Grabbing these older meshes allows rviz to run with Ogre 1.7 rather than Ogre 1.8+. Although formulae and patches
# exist to build Ogre 1.9, rviz, and Gazebo together, I have found this approach to be the most solid and consistent.
# Grabbing these older meshes allows rviz to run with Ogre 1.7 rather than Ogre 1.8+.
if [ -d src/rviz ]; then
pushd src/rviz/ogre_media/models
curl https://raw.githubusercontent.com/ros-visualization/rviz/hydro-devel/ogre_media/models/rviz_cone.mesh > rviz_cone.mesh
Copy link
Owner Author

Choose a reason for hiding this comment

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

@wjwwood What's the chance that rviz could include these meshes for multiple Ogre versions, and use a compile-time switch to select between them? It would be a lot more elegant than me doing this awfulness here.

Copy link

Choose a reason for hiding this comment

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

@mikepurvis I'd review a pull request like that, but honestly all supported versions of rviz technically require Ogre 1.8+. We should try to address the problems with the newer ogre formula in Homebrew instead.

Copy link
Owner Author

Choose a reason for hiding this comment

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

The real problem with Ogre 1.9 was Gazebo IIRC, although the last time I checked was with gz5, so things may well have changed since then. That said, the fact that osrf/simulation/ogre still installs 1.7.4 does seem like a vote of non-confidence, though maybe yourself or @scpeters can speak more to that.

In any case, I don't have the will or energy to maintain my own homebrew formulas; this installer is absolutely meant to guide users down the path of least resistance, whatever that happens to be at a given moment in time.

Choose a reason for hiding this comment

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

Sorry for the delayed response; I missed this at the time.

Most of our gazebo testing at the moment is on trusty with ogre 1.8, but we have also made lots of fixes so that it works with ogre 1.9, which is the default on xenial. So gazebo is compatible with ogre 1.8-1.9 on linux; I think the main issue is testing the homebrew formulae for ogre 1.8/1.9 in osrf/homebrew-simulation#24 which hasn't been a huge priority for me, since the 1.7.4 formula still seems to work for gazebo. I'm happy to help review that pull request, but I probably won't take the lead any time soon.

Copy link
Owner Author

Choose a reason for hiding this comment

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

The Ogre 1.9 formula doesn't look too bad— it's really just two brief patches: https://github.com/osrf/homebrew-simulation/pull/24/files#diff-0bfad96e7da860a50fe01709e5f95ea0

The big questions from my side would then be:

  • Would you be willing for osrf/simulation/ogre to become Ogre 1.9, or would we want it on a versioned dep?
  • What would be story for bottled Gazebo?

The ideal from my side here would obviously be to have ros-install-osx depend on an Ogre and Gazebo version that are both bottled, and have rviz build from source against the same Ogre version. I can do rosdep overrides and so-on handle the rviz side of it, but I'd like to take advantage of whatever you're able to bottle.

Choose a reason for hiding this comment

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

Recently I've been adding version numbers to all the osrf/simulation formulae. If you change a formula name, all bottles have to be rebuilt, so it's not something to take lightly. I'd be happy for any gazebo formulae that support ogre 1.9 to depend on it, including the one-time cost of rebuilding the bottles.

@ahundt
Copy link

ahundt commented Jun 18, 2016

awesome, thanks!

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.

4 participants