Navigate the Red Planet with Husky + UR3 + Robotis Gripper
Get ready to roll on Mars! This tutorial guides you through implementing SLAM on the Red Planet using our mobile manipulator in realistic Mars environments.
# Clone the Mars world repository
cd ~/assignment4_ws/src
git clone https://github.com/kulbir-ahluwalia/mars_gazebo_worlds.git
# Install dependencies
cd ~/assignment4_ws
rosdep install --from-paths src --ignore-src -r -y
# Build the workspace
colcon build --packages-select mars_gazebo_worlds
source install/setup.bash
# Launch Mars world with Husky robot
ros2 launch mars_gazebo_worlds mars_husky_slam.launch.py
# In a new terminal, launch SLAM
ros2 launch mars_gazebo_worlds mars_slam.launch.py
# Start teleoperation (optional)
ros2 run teleop_twist_keyboard teleop_twist_keyboard
Complete SLAM during a simulated Mars dust storm with reduced visibility!
# Enable dust storm mode
ros2 param set /mars_environment enable_dust_storm true
ros2 param set /mars_environment dust_density 0.7
| 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 |
# Increase odometry uncertainty
ros2 param set /husky_controller odom_covariance_xy 0.1
ros2 param set /ekf_filter imu_weight 0.8
# Mars gravity compensation
ros2 param set /ur3_controller gravity_compensation 3.71
ros2 param set /ur3_controller pid_p 0.6
# Adjust RTAB-Map parameters for Mars
ros2 param set /rtabmap Vis/FeatureType 6 # ORB features
ros2 param set /rtabmap Vis/MaxFeatures 2000
ros2 param set /rtabmap RGBD/OptimizeMaxError 0.5
"Even I could not sleep last night because I was so excited SLAMing on MARS!!" - Enthusiastic CS498GC Student
Get ready to roll on the Red Planet! 🔴