- Ubuntu 24.04
- ROS 2 Jazzy Installation
Add the following line to your ~/.bashrc to source the ROS 2 Jazzy setup script automatically:
echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc
- Open Network Settings in Ubuntu
- Find your Ethernet connection to the MID360
- Click the gear icon to edit settings
- Go to IPv4 tab
- Change Method from "Automatic (DHCP)" to "Manual"
- Add the following settings:
- Address: 192.168.1.5
- Netmask: 255.255.255.0
- Gateway: 192.168.1.1
- Click "Apply"
- Find your MID360 serial number (on sticker under QR code)
- Note the last 2 digits (e.g., if serial ends in 89, use 189)
- Edit the configuration file:
cd ~/autonomy_stack_mecanum_wheel_platform
nano src/utilities/livox_ros_driver2/config/MID360_config.json- Update line 28 with your IP (192.168.1.1xx where xx = last 2 digits):
"ip" : "192.168.1.1xx",- Save and exit
ping 192.168.1.1xx # Replace xx with your last 2 digitsThe system supports different robot configurations. Set the ROBOT_CONFIG_PATH environment variable to specify which robot configuration to use:
# For Unitree G1 (default if not set)
export ROBOT_CONFIG_PATH="unitree/unitree_g1"
# Add to ~/.bashrc to make permanent
echo 'export ROBOT_CONFIG_PATH="unitree/unitree_g1"' >> ~/.bashrcAvailable robot configurations:
unitree/unitree_g1- Unitree G1 robot (default)- Add your custom robot configs in
src/base_autonomy/local_planner/config/
cd ~/autonomy_stack_mecanum_wheel_platform
# Base autonomy only
./system_simulation.sh
# With route planner
./system_simulation_with_route_planner.sh
# With exploration planner
./system_simulation_with_exploration_planner.shcd ~/autonomy_stack_mecanum_wheel_platform
# Base autonomy only
./system_real_robot.sh
# With route planner
./system_real_robot_with_route_planner.sh
# With exploration planner
./system_real_robot_with_exploration_planner.sh- Cannot ping MID360: Check Ethernet cable and network settings
- SLAM drift: Press clear-terrain-map button on joystick controller
- Joystick not recognized: Unplug and replug USB dongle