ros2: make simulation runnable + add smoke test to CI#62
Merged
Conversation
- mins_data installs BSplineDataset/FloorPlans/GroundTruths to share for ament - sim resolves data from mins_data package share (was mins) on ros2 - declare config_path param so launch files can set it (argv still works) - reset publishers before rclcpp::shutdown to avoid teardown segfault - add simulation.launch.py - build_ros2.yml now runs the sim end to end as a smoke test
Simulation regression report - master vs PR8 seeds/config, sim full
stereo_gps
stereo_lidar
stereo_wheel
vio_stereo
|
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #61 (which fixed the ROS 2 colcon build). This makes the ROS 2 simulation actually run end to end, and upgrades the ROS 2 CI from compile-only to compile + smoke-run.
Changes
BSplineDataset/FloorPlans/GroundTruthsinto the ament share dir (previously the data was never installed for ROS 2).MINS_DATA_DIRfrom themins_datapackage share (was pointing atmins, where the data does not exist).declare_parameter("config_path")so launch files can set it (passing the path asargv[1]still works); reset the publishers beforerclcpp::shutdown()to avoid a teardown segfault.simulation.launch).Verified locally (Humble 22.04)
ros2 run mins simulation <config.yaml>-> exit 0, RMSE average 0.447 deg / 0.239 m.ros2 launch mins simulation.launch.py-> exit 0, produces RMSE.