A NavMap fine around the robot and coarse far away, for EasyNav. BigMap is a maps manager for
EasyNavigation for NavMaps too big to plan on at full
detail (a warehouse, a town). The map is cut into tiles, each simplified at several levels of detail
once at start. Every cycle the map around the robot is assembled from them: fine near the robot,
coarse far from it. The obstacles the sensors see are added near the robot and forgotten when it is
far from them. On 2 x 2 km of Madrid (13.8 M NavCels), routes of up to 1.5 km are planned 63 times
faster than on the full map, within 1 % of their length (see
easynav_bigmap_maps_manager).
This repository has the plugin and the application that runs it on a robot (real or simulated).
| path | what it is |
|---|---|
easynav_bigmap_maps_manager/ |
the maps manager plugin (easynav_bigmap_maps_manager/BigMapMapsManager) |
bigmap_bringup/ |
the application: the parameter files of the use cases (outdoor, indoor, parking garage, large warehouse, two floors), their maps, RViz, and a launch file that starts EasyNav with one of them |
bigmap.repos |
the other repositories of the workspace |
mkdir -p <ws>/src && cd <ws>/src
git clone https://github.com/EasyNavigation/BigMap.git && cd ..
vcs import src < src/BigMap/bigmap.repos
source /opt/ros/rolling/setup.bash
rosdep install --from-paths src --ignore-src -r -y
colcon build --symlink-install --packages-up-to bigmap_bringup \
--cmake-args -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PROJECT_navmap_rviz_plugin_INCLUDE=$PWD/src/BigMap/bigmap_bringup/cmake/rolling_rviz_qt.cmake
source install/setup.bashbigmap.repos brings EasyNavigation and yaets, easynav_plugins, NavMap and
easynav_playgrounds. Three come from the jmguerreroh forks until their pull requests are merged
in EasyNavigation:
-
easynav_plugins, branchbigmap: tagbigmap-experiments-v2(the plugins of the article's experiments) without itseasynav_bigmap_maps_manager, which is this repository's (a workspace cannot have the same package twice). Overrolling, the NavMap maps manager has the Fractal filter (a merged copy of the map for planning), sensed obstacles at the pose of each cloud andnavmap_path_filewithout a package; the NavMap plannermap_key, dense paths from the robot on large NavCels and planner fixes (easynav_plugins#182, #184, #185). When those are merged,bigmap.repostakesEasyNavigation/easynav_plugins. -
NavMap, branch
bigmap:simplifywithkeep_vertices,cut_along_linesandrefine(NavMap#47), bounds that change from place to place (#46),navmap_gis_toolwith buildings,--navmap-outand--navmap-keep(#45), geometry patches and chunked RViz meshes (#48). It is branchfractal-ws(commitfdee528, the article's) plus--navmap-keep, which keeps only the part of the NavMap of a place the robot can reach (without roofs and closed patios); to rebuild exactly what the article measured, check outfractal-ws. -
easynav_playgrounds, branchplayground_geo(easynav_playground_geo).
rolling_rviz_qt.cmake is explained in bigmap_bringup.
Two commands: the robot (a simulation, or the real one), then EasyNav with BigMap and the parameter file of the use case.
# the world of any place in Gazebo, with the Summit XL
ros2 launch easynav_playground_geo_worlds geo_sim.launch.py lat:=40.4168 lon:=-3.7038 radius:=250 world:=area
# EasyNav with BigMap (the NavMap of the place is made once beforehand: see bigmap_bringup)
ros2 launch bigmap_bringup bigmap.launch.py config:=outdoorThe second command is only a shorthand for EasyNav with that parameter file, plus RViz:
SHARE=$(ros2 pkg prefix bigmap_bringup)/share/bigmap_bringup
ros2 run easynav_system system_main --ros-args --params-file $SHARE/config/params_outdoor.yaml
ros2 run rviz2 rviz2 -d $SHARE/rviz/bigmap.rvizSee bigmap_bringup for the use cases, how to make the NavMap of a
place, and every parameter, and easynav_bigmap_maps_manager
for how the plugin works and what it costs.
Apache-2.0.