SLAM-ing Mars

Mobile Manipulator Exploration & SLAM Challenge | CS 498 GC Fall 2025

Fall 2025 archive. This page is the record of CS 498 GC Assignment 4 (Fall 2025). Part B became optional extra credit on December 7, 2025; rubric v11 (December 8, 2025) offers up to +35 bonus points and recommends the Mars Thanksgiving world. The Fall 2025 instructions follow, together with the reference solution.
Assignment 4 guide (Fall 2025). Husky + UR3 + Robotis gripper on Mars

Important Deadlines (Fall 2025)

Reference Solution

Reference runs recorded by the course staff to show what complete Assignment 4 solutions look like. They are not student submissions, and no individual student results are published on this page.

Every Assignment 4 deliverable, one card each with its status

Software: ROS 2 Jazzy, Gazebo Harmonic, SLAM Toolbox; for the 3D extra credit, VGGT-Omega, VGGT, MUSt3R, CUT3R and TTT3R. All runs are scripted, recorded without a desktop session, and sped up where the caption says so.

Mars Thanksgiving world

Reference solution · Mars Thanksgiving world

Mars Thanksgiving world v3: the base, the dinner and two moving turkeys

A 20 s crane shot passes every fun object of the Mars base, then crossfades (0.5 s) into a 30 s orbit of the dinner table: 49.5 s in all, and one second of video is one second of simulated motion. Gazebo Harmonic, Mars gravity 3.711 m/s². Perseverance and Curiosity sit at the two ends of a 1.50 m x 0.80 m table on 0.30 m rock seats; a third rover sits at a long side on a 0.35 m seat, across from an empty chair.

Both turkeys move. One flies counter-clockwise above the table on an ellipse with 0.58 m and 0.28 m semi-axes, its body 1.32 to 1.48 m high as it bobs ±8 cm; it averages 0.40 m/s and laps every 9.67 s. The other runs clockwise under the table, between the legs, on an ellipse with 0.38 m and 0.08 m semi-axes and a 1.2 cm hop three times a second; it averages 0.33 m/s and laps every 5.03 s. Both paths are closed-form functions of simulation time, so the turkeys move the same way in every run and their ground-truth trajectories are known exactly.

Fun obstacles, all original models without logos or brand names: a Merlin-style engine on its display gantry (3.70 m tall), a quarter-scale landed first-stage booster (10.55 m) and a quarter-scale stainless upper stage on its landing mount (14.18 m), an Expanse-style corvette hovering on its drive plume over a 12.6 m landing pad, a landed Expanse-style pinnace with its airlock open, a tank farm, cargo crates, and the 5.79 m Happy Thanksgiving from Mars sign that the robot tour drives under.

Rover models: NASA's Mars 2020 Perseverance Gazebo model; Curiosity from theconstructcore/curiosity_mars_rover; the third rover from theunknowninfinite/Modeling-and-Simulation-of-Martian-Rover. Web video 960 x 540, 30 fps.

Part A: Husky + UR3 mobile manipulator

Reference solution · Part A

Drive, turn, arm motion and gripper

Clearpath Husky A200 base, UR3 arm and RH-P12-RN gripper in an empty Gazebo world. The base drives forward and then rotates in place on /cmd_vel (about 3-8 s and 8-13 s of the video), then the UR3 moves to two poses while the gripper closes and opens.

Part B: SLAM on Mars

Reference solution · Part B

Waypoint mission on the Mars Thanksgiving world: RViz (left) and Gazebo (right)

Left: RViz with the live SLAM Toolbox map, the laser scan (red), the A* path (bright green), the trail the robot has driven (cyan) and the numbered waypoints (amber: pending, orange: current, green: reached). Right: the Gazebo Sim GUI with a chase camera. Bottom: a HUD with the current waypoint, the distance to the goal, the speeds and the ground-truth arrival error, drawn from telemetry logged at 20 Hz during the run. Video 86.0 s at 2.5x simulation time.

A Clearpath Husky A200 with a UR3 arm runs the Part B stack: EKF fusion of wheel odometry and IMU, SLAM Toolbox (online async), and the course's custom A* global planner with a DWA local planner (0.85 m inflation). After a mapping spin in place (ground truth turned 6.98 rad, 400°), it drives 11 waypoints past the engine exhibit, the cargo crates, the landing pad, the upper stage, the tank farm, the booster and under the welcome sign, then turns to face the dinner table (heading error 0.002 rad) and the UR3 waves.

All 11 waypoints were reached: when the planner reported arrival, the Gazebo ground-truth position was 0.307 m from the goal on average (max 0.354 m, min 0.236 m; the planner stops within 0.35 m on its SLAM pose, and within 0.75 m counts as reached). The robot drove 68.5 m (ground truth) in 212.9 s of simulation time, mapping spin included.

Waypoint 11 sits 0.5 m west of its spot in the world's waypoint file, because that spot lies exactly at the planner's 0.85 m inflation radius and has no path. Both turkeys keep moving during the run (their driver updates both poses 50 times per simulated second); at this video scale only the flying turkey is easy to see. Web video 1280 x 720, 30 fps.

Reference solution · Part B

Waypoint mission in the Mars world with live SLAM: Gazebo and RViz

Left: Gazebo. Right: the SLAM Toolbox map in RViz with the robot's path. A custom A* + DWA planner drives 13 goals and then part of a second lap: 15 of 15 waypoints reached; at arrival the robot's Gazebo ground-truth position was 0.256 m from the goal on average (max 0.395 m); 387.3 s rosbag. Video at 4x speed.

Mars world with Mars gravity (3.721 m/s²), rocks and blocks.

Reference solution · Part B

Exploration loop in the Mars world

The Husky + UR3 explores the Mars world on a scripted loop: six legs of 40 s forward at 0.35 m/s, each followed by a 10.5 s turn at 0.5 rad/s (about 5 min in total, video at 10x speed). EKF sensor fusion and SLAM Toolbox (online async) build the occupancy grid shown in the next two panels.

GIF version (first 90 s)

Reference solution · Part B

SLAM Toolbox map growing

Occupancy grid of the exploration loop, rendered from the /map messages in its rosbag (179 map updates): it grows from the first scan patch to the final map (white: free space, black: obstacle edges, gray: unknown). The final map is held for 2 s at the end.

GIF version (2x speed)

Reference solution · Part B

Saved occupancy map

Final 2D occupancy map of the Mars world from the Part B reference solution

Final SLAM Toolbox map, saved with the Nav2 map saver at the end of the exploration loop: 978 x 950 cells at 0.05 m per cell, about 48.9 m x 47.5 m (white: free, black: obstacles, gray: unknown).

Part B bonus: dust storm and race lap

Reference solution · Part B bonus

Mars Challenge bonus: SLAM in a dust storm

The same scripted two-lap route around a rock (69.2 m) driven twice in the Mars world of the waypoint mission with live SLAM above (a flat Mars plane with rocks, not the Mars Thanksgiving world), the storm run in a dust-storm copy of that world: clear on the left, dust storm on the right. Top row: the robot camera as seen; bottom row: the live SLAM Toolbox map with the ground-truth path (green), the SLAM pose estimate (blue, dashed) and the lidar returns that SLAM used (orange). Video 37.0 s, about 4x simulation time.

SLAM pose error grows from 0.060 m RMSE when clear to 0.636 m in the storm (maximum 1.47 m). Inside the fixed 23 x 19 m evaluation window that the map panels show, the storm map holds 8.37 m² of phantom obstacles (occupied cells more than 0.25 m from any rock), and only 37.3 % of its occupied cells there lie within 0.25 m of a real rock (100 % when clear). SLAM makes 58 map-to-odom corrections larger than 10 cm or 2°, against 28 when clear. The camera's RMS contrast drops from 0.112 to 0.047.

Storm model: Gazebo particle emitters upwind; lidar extinction of 0.06 per metre in both directions (visibility 65 m), dust backscatter returns and range noise; camera haze computed from the depth image, plus sensor noise. Gazebo Harmonic does not render the world's fog, so the visible haze comes from this camera model. The route is driven on the simulator's ground-truth pose, so SLAM only estimates the pose and never steers; one storm strength and one random seed. Web video 1280 x 720, 24 fps.

Reference solution · Part B bonus

Mars Challenge bonus: timed race lap

A timed lap of an 8-gate course around the Thanksgiving table, in a race copy of the earlier Mars Thanksgiving world (Mars gravity 3.711 m/s², ground friction 0.8, dust particles off). The Husky + UR3 steers on its SLAM Toolbox pose. Lap time 27.00 s of simulated time; 8 of 8 gates passed inside their radius on ground truth; 0 contacts; minimum footprint clearance 0.374 m; 12.05 m driven at 0.446 m/s on average.

The speed command is capped at 0.6 m/s; the ground-truth speed briefly reaches 0.676 m/s. The SLAM pose stays within 0.10 m RMSE of ground truth, while wheel odometry drifts to 3.95 m RMSE. The timer and splits count simulated seconds; the simulation ran slightly slower than real time, so the 27.00 s lap takes about 30 s of video.

On the published gate positions the middle gates run through two chairs, and the same steering law got stuck on the table after 3 of 8 gates. This lap uses adapted gates moved south of the table, with the same start, finish, number of gates and radii. Web video 41.4 s, 1280 x 720, 30 fps.

Extra credit: 3D reconstruction

Reference solution · Extra credit, 3D

3D reconstruction from 200 RGB frames: five models against ground truth

Static recording of world v3 (both turkeys parked, one above and one under the table): 200 RGB frames of 640 x 480 on one closed camera loop of radius 2.5 m around the table (15.76 m path). Each model received only the RGB frames, with no depth, poses, intrinsics or labels. Each reconstruction is then moved into the ground-truth frame with its own Sim(3), a Umeyama fit on its 200 camera centres, and compared with a ground-truth cloud built from the simulator's depth and poses (2 cm voxels; scores on a scene crop of 5 m radius around the table centre). The video films all six clouds with one orbiting virtual camera, with the same crop, voxel size and point size.

CUT3R's camera track drifts (ATE 48.4 cm), so its cloud visibly does not line up with ground truth. MUSt3R, CUT3R and TTT3R place parts of the sign and the background too close, which shows as floating sheets in their tiles. Black patches at the seat ends of the ground-truth tile are ground that no camera saw. Video 20 s, 1280 x 720, 30 fps; the render crop is 3.75 m around the table centre.

Reference solution · Extra credit, 3D

Best 3D model up close: VGGT-Omega in the ground-truth frame

The VGGT-Omega cloud (1 cm voxels) after its Sim(3) alignment, with the ground-truth camera path as a white line and VGGT-Omega's own 200 predicted camera centres as orange dots, which follow the loop: camera ATE 2.4 cm RMSE (median 1.3 cm, max 6.9 cm).

Scene-crop scores: F-score 0.800 at 5 cm and 0.906 at 10 cm, median accuracy 2.8 cm, median completeness 1.0 cm (the accuracy and completeness in the video label are these medians). Video 20 s, 960 x 540, 30 fps.

Reference solution · Extra credit, 3D

Ground truth on top of the VGGT-Omega cloud

Still image with the ground-truth points in light grey sitting on the orange reconstruction, in a 3/4 view and a top view

Ground truth drawn as light-grey dots on top of the VGGT-Omega cloud (orange, shaded by its own brightness) with the ground below 15 cm removed, in a 3/4 view of the dinner and a top view with a 1 m scale bar; where the grey dots sit on orange surfaces, the reconstruction matches the true geometry.

The still draws the model in one orange hue instead of its own colours, because the grey rovers could not be told apart from the grey ground-truth dots. Still 1600 x 900.

Reference solution · Extra credit, 3D

Per-model scores against ground truth

ModelCamera ATE (RMSE)Median accuracyMedian completenessF-score at 5 cmF-score at 10 cmF-score at 5 cm, objects only
VGGT-Omega (best)2.4 cm2.8 cm1.0 cm0.8000.9060.60
VGGT3.3 cm7.8 cm1.7 cm0.5240.7100.32
TTT3R7.8 cm32.5 cm3.1 cm0.3420.5300.20
MUSt3R5.9 cm11.7 cm3.7 cm0.3010.5760.25
CUT3R48.4 cm31.7 cm6.7 cm0.2060.3460.12

Best model by a rule fixed before the results (highest scene-crop F-score at 5 cm, ties broken by the lower camera ATE): VGGT-Omega. Accuracy is the median distance from the prediction to ground truth, completeness the median distance from ground truth to the prediction. 69 % of the scored ground-truth points lie on flat ground (at most 15 cm high), which makes the 5 cm F-score lenient to sideways errors. The column F-score at 5 cm, objects only, scores only the objects (points more than 15 cm high in both clouds): VGGT-Omega and VGGT keep the first two places and CUT3R the last, while MUSt3R and TTT3R swap, so read the middle of the table as a tie.

Extra credit: 4D dynamic reconstruction

Reference solution · Extra credit, 4D

CUT3R: the 4D reconstruction picked by the pre-registered rule

4D reconstruction of the Mars Thanksgiving world from the 200 RGB frames of one camera loop around the dinner table. Left: each input frame with the moving points CUT3R found without ground truth, coloured by the turkey each track was matched to (magenta: a track that matched no turkey). Right: the same points in 3D after aligning the reconstructed camera path to the true one (camera error 0.404 m RMSE). Solid lines are the matched tracks, dashed white lines the true body-centre paths (one lap), white rings the true body centres and the grey disc, when in view, the true camera position of the current frame.

CUT3R is picked by the pre-registered rule. No model reached 50 % coverage of both turkeys, so the rule takes the highest mean coverage. CUT3R's matches cover 42.4 % of the visible frames of each turkey, and it wins only because the rule's 1.0 m gates count the empty chair as the running turkey: all 76 of its running-turkey matches lie mostly on the empty chair, not on the turkey. With 0.5 m or 0.6 m gates the same rule would pick VGGT-Omega (checked after the fact, not used for the pick).

Its flying-turkey track is not evidence of motion either: in the static twin recording, where both turkeys are parked, CUT3R still keeps a 68-frame track on the parked flying turkey. In this recording its flying-turkey matches lie mostly on the turkey in 37.5 % of the visible frames (post-hoc label check); in 16 of its 85 flying-turkey matches the points come mostly from a rocket model in the background of the image, which CUT3R places next to the turkey's path. Uni4D is not part of this comparison.

Reference solution · Extra credit, 4D

VGGT-Omega: 4D reconstruction

Same scene, inputs and layout as the CUT3R video. VGGT-Omega has the most accurate camera path of the three models (0.025 m RMSE). Over all sampled turkey pixels it marks 73 % of the flying turkey's pixels and 82 % of the running turkey's pixels as moving.

Its tracks matched to the flying turkey cover 62.5 % of the visible frames, and in 46.2 % of the visible frames the matched points lie mostly on the turkey itself (post-hoc label check). Its other 33 matches, all in the first 48 frames, lie at a bottle on the table (31 of them nearest the bottle, 2 nearest the table top). The flying turkey's points are placed about 0.45 m too far from the camera. No track is matched to the running turkey (0 % coverage): its running-turkey tracks are shorter than the 60 of 200 frames that the track filter, frozen on the static twin recording, requires.

Reference solution · Extra credit, 4D

TTT3R: 4D reconstruction

Same scene, inputs and layout as the CUT3R video. TTT3R recovers the camera path well (0.080 m RMSE) but tracks neither turkey: its coverage is 0 % for both. The track filter frozen on the static twin recording keeps one track, 43 frames long, and it is a false track on a rock seat (shown in magenta), not on either turkey.

Reference solution · Extra credit, 4D

Top-down view: every model's matched tracks against the true turkey paths

Two top-down plots side by side, flying turkey on the left and running turkey on the right, each with the table top, the empty chair, the bottle and the dashed black true path of the turkey. Left: green VGGT-Omega and red CUT3R dots along the path, green crosses at the bottle and red crosses along the lower right part of the path. Right: only red CUT3R crosses, all at the empty chair, on it or just next to it. TTT3R, blue in the legend, has no match.

Seen from above in the ground-truth frame: the moving-point tracks that the scoring matched to each turkey (1.0 m gate), for all three models, against the true body-centre paths (dashed, one lap) of the turkey flying above the table (left) and the turkey running under it (right). Colours mark the model, not the turkey. A dot is a match whose points lie mostly on that turkey; an x is a match inside the gate whose points come mostly from another object in the image: the empty chair (all 76 CUT3R running-turkey matches), a rocket model in the background (16 CUT3R flying-turkey matches) and tableware at a bottle on the table (33 VGGT-Omega flying-turkey matches: 31 nearest the bottle, 2 nearest the table top). TTT3R has no matched frame. Uni4D is not part of this comparison.

Key results

Run What ran Result
Part B: waypoint mission (Mars Thanksgiving v3) World v3 with both turkeys moving; EKF sensor fusion, SLAM Toolbox, custom A* + DWA planner 11 of 11 waypoints reached; ground-truth distance to the goal at arrival 0.307 m mean (max 0.354 m); 68.5 m driven in 212.9 s of simulation time
Part B: waypoint mission (Mars world) Mars world; EKF sensor fusion, SLAM Toolbox, custom A* + DWA planner 15 of 15 waypoints reached; ground-truth distance to the goal at arrival 0.256 m mean (max 0.395 m); 387.3 s rosbag
Part B: exploration loop Mars world; EKF sensor fusion, SLAM Toolbox (online async), scripted six-leg loop 978 x 950 cell map at 0.05 m per cell; 179 /map updates; 354.3 s rosbag
Part B bonus: dust storm The same route in a clear and a dust-storm Mars world (particle emitters, degraded lidar and camera); SLAM Toolbox Trajectory error 0.060 m RMSE (clear) versus 0.636 m (storm); 0 versus 8.37 m² of phantom obstacles inside the 23 x 19 m evaluation window
Part B bonus: race lap 8-gate course around the Thanksgiving table (adapted gates); steering on the SLAM Toolbox pose 27.00 s lap in simulated time; 8 of 8 gates; 0 contacts; minimum clearance 0.374 m
Extra credit: 3D reconstruction (world v3) VGGT-Omega, VGGT, MUSt3R, CUT3R and TTT3R on 200 RGB frames only; each cloud aligned to ground truth with its own Sim(3) Best by the pre-registered rule: VGGT-Omega, F-score 0.800 at 5 cm (0.906 at 10 cm), camera ATE 2.4 cm RMSE
Extra credit: 4D dynamic reconstruction (world v3) CUT3R, VGGT-Omega and TTT3R on the 200 RGB frames of one camera loop, both turkeys moving; moving points found without ground truth, then matched to the true turkey positions Picked by the pre-registered rule: CUT3R, 42.4 % coverage of the visible frames of each turkey, only because the rule's 1.0 m gates count the empty chair as the running turkey (with 0.5 m or 0.6 m gates, checked after the fact, it would pick VGGT-Omega); no model reached 50 % coverage of both turkeys. Camera error 0.025 m (VGGT-Omega), 0.080 m (TTT3R), 0.404 m (CUT3R) RMSE

Quick Start

Fall 2025 quick start in 3 steps:

1. Clone Husky UR3 2. Install Mars Worlds 3. Launch Simulation

Mission Overview

Assignment 4 (Fall 2025) combined mobile navigation with manipulation in Mars-themed Gazebo worlds.

Robot Configuration

  • Base: Clearpath Husky (4-wheel differential drive)
  • Arm: UR3 6-DOF manipulator
  • Gripper: Robotis gripper for sample collection
  • Sensors:
    • RGB-D camera for visual SLAM
    • LiDAR for terrain mapping
    • IMU for orientation in low gravity
  • SLAM: RTAB-Map or custom implementation

Mars Environment Features

  • Mars gravity: about 38% of Earth's (3.711 m/s² in mars_robots/worlds/mars.world of the linked dual-robot SLAM explorer repo)
  • Obstacles: one box-shaped hill and one crater model in that world

Learning Objectives

Mobile Navigation
  • Autonomous path planning
  • Obstacle avoidance
  • SLAM in unknown terrain
  • Navigate through crater fields
Manipulation Skills
  • MoveIt2 motion planning
  • Pick and place operations
  • Visual servoing
  • Sample collection
System Integration
  • ROS2 architecture design
  • Sensor fusion techniques
  • Real-time control systems
  • Performance optimization

Mars Gazebo Worlds

Available Mars Environments

Dual-Robot Mapping

Mapping launch from the Mars worlds + dual-robot SLAM explorer repo (Gazebo Classic via gazebo_ros). The final rubric (v11) recommends the Mars Thanksgiving World instead. The repo is a fork of itsyashk/ros2-dual-robot-slam-explorer.

ros2 launch mars_robots mapping.launch.py

Dual-Robot Navigation

Navigation launch from the Mars worlds + dual-robot SLAM explorer repo (Gazebo Classic via gazebo_ros). The final rubric (v11) recommends the Mars Thanksgiving World instead. The repo is a fork of itsyashk/ros2-dual-robot-slam-explorer.

ros2 launch mars_robots navigation.launch.py

Installing the Mars Worlds

# Clone the Mars worlds + dual-robot SLAM explorer repository # (fork of itsyashk/ros2-dual-robot-slam-explorer; rubric v11 recommends the Mars Thanksgiving World instead) cd ~/ros2_ws/src git clone https://github.com/kulbir-ahluwalia/ros2-dual-robot-slam-explorer.git # Install dependencies sudo apt-get update sudo apt install ros-${ROS_DISTRO}-ros-gz # Build the workspace cd ~/ros2_ws colcon build source install/setup.bash

Complete Setup & Installation

Prerequisites
  • Ubuntu 22.04 + ROS 2 Humble + Gazebo Fortress, or Ubuntu 24.04 + ROS 2 Jazzy + Gazebo Harmonic (reference solution)
  • NVIDIA GPU recommended (GTX 1060 or better)
  • 16GB RAM minimum

Step 1: Environment Setup

Configure ROS2 Jazzy/Humble with Gazebo Harmonic

source /opt/ros/jazzy/setup.bash mkdir -p ~/assignment4_ws/src && cd ~/assignment4_ws

Step 2: Clone Repositories

Get Husky UR3 simulator and Mars worlds

cd ~/assignment4_ws/src git clone https://github.com/kulbir-ahluwalia/husky_ur3_simulator.git # optional: Mars worlds + dual-robot SLAM explorer (fork of itsyashk/ros2-dual-robot-slam-explorer); # rubric v11 recommends the Mars Thanksgiving World instead git clone https://github.com/kulbir-ahluwalia/ros2-dual-robot-slam-explorer.git

husky_ur3_simulator is the ROS 1 Noetic course reference (branch noetic-devel).

Step 3: Install Dependencies

Install required ROS2 packages

cd ~/assignment4_ws sudo rosdep init 2>/dev/null || true rosdep update rosdep install --from-paths src --ignore-src -r -y pip3 install transforms3d

Step 4: Build Workspace

Compile all packages

colcon build source install/setup.bash

Step 5: Launch and Drive

Launch a Mars world (see the Mars Environments tab), then drive the robot from the keyboard (optional).

ros2 run teleop_twist_keyboard teleop_twist_keyboard

Controller Configuration

Make sure your controllers.yaml includes the command_interface parameter:

base_controller: ros__parameters: type: diff_drive_controller/DiffDriveController command_interface: "velocity" # needed for velocity commands left_wheel_names: ["front_left_wheel", "rear_left_wheel"] right_wheel_names: ["front_right_wheel", "rear_right_wheel"]

SLAM Tasks & Requirements

Assignment 4 Part B: Mars SLAM Challenge (75 points)

Part B covered sensor fusion (EKF), path planning with obstacle avoidance, 2D SLAM, full-system integration, and a technical report.

Total: 75 points (Gradescope), plus the Mars Challenge bonus (+10 points) below. Part B became optional extra credit on December 7, 2025; rubric v11 (December 8, 2025) offers up to +35 bonus points.

Bonus Challenge: Mars Dust Storm (10 extra points)

Complete SLAM during a simulated Mars dust storm with reduced visibility.

The reference solution includes a dust-storm run.

Performance Metrics

Metric Earth Performance Mars Challenge Points
Map Completeness >95% >90% in Mars terrain 15
Localization Error <10cm <20cm with reduced traction 10
Loop Closure Success 100% >80% in dust conditions 10
Sample Collection N/A 5+ Mars rocks collected 15

These points are part of the 75-point Part B total, not in addition to it.

Submission Requirements
  1. Rosbag Recording: 5-minute Mars exploration (include /tf, /map, /odom)
  2. Generated Maps: 2D occupancy grid + 3D pointcloud of Mars terrain
  3. Video Demo: Screen recording showing SLAM in action (3-5 minutes)
  4. Technical Report: 3-page analysis of SLAM performance on Mars
  5. Code: Your SLAM implementation or configuration files
Pro Tips for Success
  • Start with flat Mars terrain before attempting craters
  • Use higher loop closure thresholds for dusty conditions
  • Implement sensor fusion early to handle wheel slip
  • Test in Earth gravity first, then switch to Mars
  • Save intermediate maps in case of crashes

Troubleshooting Guide

Problem: The robot doesn't respond to velocity commands
Solution: Add command_interface: "velocity" to your controllers.yaml file
base_controller: ros__parameters: command_interface: "velocity" # add this line

Problem: Gazebo crashes with OpenGL errors
Solution: Set software rendering in the terminal before launching Gazebo
export LIBGL_ALWAYS_SOFTWARE=1 export MESA_GL_VERSION_OVERRIDE=3.3

Problem: Reduced traction on sandy Mars surface
Solution: Adjust wheel odometry covariance and use IMU fusion

Problem: UR3 arm overshoots in 38% gravity
Solution: Adjust PID gains for Mars gravity

Problem: Feature detection difficult in monochrome Mars environment
Solution: Tune visual feature detectors for Mars

Problem: TF transform lookup fails with timeout
Solution: Increase timeout in launch files
# In your launch file, increase timeout transform_timeout = 5.0 # Increase from default 1.0

Resources & Demo Materials

Gripper Control Commands

Open Gripper

ros2 topic pub -1 /rh_p12_rn_position/command std_msgs/msg/Float64 '{data: 0.0}'

Close Gripper

ros2 topic pub -1 /rh_p12_rn_position/command std_msgs/msg/Float64 '{data: 1.05}'

Useful Scripts

Launch Script (8 terminals)

Automated bash script for complete setup

Download Script

GPU Test Script

Check if GPU acceleration is working

glxinfo | grep "OpenGL renderer"

Controller Check

Verify controllers are loaded

ros2 control list_controllers

Student Mars Mission Showcase

Fall 2025 showcase (archive)

During Fall 2025, students were invited to record a 2-minute highlight video of their best Mars navigation, including the autonomous sample collection sequence, and to submit it through Gradescope with the hashtag #MarsCS498GC.

Individual student submissions and results are not published on this page. To see what complete runs look like, watch the reference solution at the top of this page.

Challenge Yourself

Beginner Challenges

  • Navigate to 3 waypoints autonomously
  • Pick up and place a single rock sample
  • Create a 2D map of the crater
  • Complete basic teleoperation course

Advanced Challenges

  • Implement visual SLAM with loop closure
  • Autonomous sample sorting by size
  • Multi-robot coordination demo
  • Navigate during dust storm conditions

CS498GC Mobile Robotics | Fall 2025 | University of Illinois at Urbana-Champaign
Professor Girish Chowdhary | TA: Kulbir Singh Ahluwalia