Closed nbanyk closed 8 years ago
Closing this as there was another Travis error.
Ok, I see what the issue is. The mrpt_ro_slam package requires the empty constructor/copy operator change I made to CMetricMapBuilderRBPF in mrpt. So that's why it's not going to work with older versions of mrpt. I couldn't figure out a way to give more global-like access to the CMetricMapBuilderRBPF object that I created (in mrpt_ro_slam.h) without this. Unless I learn a better way to do that, then I won't be able to fix this.
What about defining it as a pointer (CMetricMapBuilderRBPF *
) so it can be constructed with new CMetricMapBuilderRBPF (...)
when needed, and delete ...;
'd at destructor?
Concerning travis build, I think we need to add a new line to .travis.yml. I made a PR https://github.com/mrpt-ros-pkg/mrpt_slam/pull/6. I tested new .travis.yml with this pull request and it builds (https://travis-ci.org/Logrus/mrpt_slam/builds/120088179). This PR can be rebased on the master after merging https://github.com/mrpt-ros-pkg/mrpt_slam/pull/6 then we can make sure it builds. But it seems to be working already, so that the problem here is just in travis config.
Great!!
Thanks!
I think that this might solve the old vs new mrpt libraries version issue (mentioned here: https://github.com/mrpt-ros-pkg/mrpt_slam/pull/4)