A full autonomy stack for an indoor mobile robot: AMCL localisation on a pre-built map, Nav Stack path planning and obstacle avoidance, and a pick-and-place pipeline. Built on ROS 1 Noetic with Gazebo simulation.
The robot navigates autonomously through a building, picks up a virtual marker from a designated zone, and delivers it to a drop-off zone — simulating a warehouse pick-and-place operation.
Full pipeline: localise → navigate to pick zone → pick up marker → navigate to drop zone → place marker.
| Component | Package | What it does |
|---|---|---|
| Localisation | amcl |
Particle filter on pre-built map from LiDAR + odometry |
| Map server | map_server |
Serves pre-built occupancy grid |
| Path planning | move_base (global: A*, local: DWA) |
Plans and executes collision-free paths |
| SLAM (map building) | rtabmap_ros |
RGB-D SLAM to build the map before autonomy |
| Navigation | ROS Nav Stack | Global + local costmaps, recovery behaviours |
| Marker logic | add_markers (custom C++) |
Shows/hides RViz markers at pick/drop zones |
| Pick logic | pick_objects (custom C++) |
Sends navigation goals and triggers pick/place |
Adaptive Monte Carlo Localisation — particle filter on a known 2D map:
- Scatter N particles (pose hypotheses) on the map
- Propagate each particle with odometry + noise (motion model)
- Weight each particle by how well its predicted LiDAR scan matches the actual scan (sensor model:
likelihood_field) - Resample — particles cluster around the most likely pose
- Adapt N — more particles when uncertain, fewer when localised
Needs: /scan (LiDAR), /odom (wheel odometry), a pre-built map. TF tree: map → odom → base_link.
# common
obstacle_range: 1.0
robot_radius: 0.1
inflation_radius: 0.5
# local costmap (rolling window)
width: 2.5, height: 2.5, resolution: 0.05
rolling_window: true
# global costmap (full map)
width: 20.0, height: 20.0, resolution: 0.05
static_map: truecatkin_make
source devel/setup.bash
# Full home service task (opens all launch files):
src/scripts/home_service.sh
# Individual test scripts:
src/scripts/test_slam.sh # test SLAM
src/scripts/test_navigation.sh # manual teleoperation
src/scripts/pick_objects.sh # test autonomous navigation goals
src/scripts/add_marker.sh # test marker show/hidesrc/
my_robot/ URDF, Gazebo world, robot description
slam_gmapping/ SLAM configuration
navigation/ move_base, costmap configs
pick_objects/ C++ node: sends navigation goals
add_markers/ C++ node: RViz marker lifecycle
map/ Pre-built occupancy grid
scripts/ Shell scripts to launch scenarios
rvizConfig/ RViz configurations
ROS 1 Noetic · C++ · Gazebo · AMCL · rtabmap_ros · move_base · RViz