Skip to content

Software Setup

Suraj Kiron Nair edited this page Oct 28, 2025 · 4 revisions

In this section, students will be briefed on the configuration the software drivers of the above devices, including ROS2 driver installations and tests with hardware devices launched through ROS2 drivers. During the training, potential issues regarding device launch will be discussed, and solutions will be provided as a references.

1. ROS Setup of PACMod and Joystick Controller (Logitech F310)

Interface: USB-to-CAN converter (PACMod), USB2.0 (Joystick)

The installed PACMod ROS drivers

 1. ros-humble-pacmod2
 2. ros-humble-pacmod2-game-control
 3. ros-humble-joy # The joystick controller (Logitech F310)

Note

The PACMod is connected to the computer through the USB-to-CAN converter. The joystick controller is connected to the computer through a USB port.

PACMod-Joystick demo

  1. Copy the gem_ws folder to ~/ROS2_WS/your_ws
  $ cd your_ws && colcon_build --symlink-install
  $ source install/setup.bash
  $ ros2 launch basic_launch dbw_joystick.launch.py

Note

The warning that couldn't not set gain on joystick force feedback is OK. The warning is because this type of controller does not have the force feedback sensor which will not be used at all. If you run into issues see the Troubleshooting section.

2. ROS Setup of Ouster O1-128 LiDAR

Interface: Ethernet cable

The Ouster O1-128 LiDAR ROS driver is provided with source code in /src/hardware_drivers

Top LiDAR point cloud visualization

To launch the top LiDAR sensor, add the following to your launch file or simply use sensor_init.launch.py.

source install/setup.bash
ros2 launch basic_launch ouster_driver.launch.py
# or
ros2 launch ouster_ros driver_launch.py

Warning

The Ouster lidar takes 10-15s to boot up. Currently sensor_init.launch.py will launch other sensor nodes only after the lidar is fully up and running.

3. ROS Setup of Livox HAP LiDAR

Interface: Ethernet cable (via network switch)

The Livox HAP LiDAR ROS driver is provided with source code in /src/hardware_drivers

Front LiDAR point cloud visualization

To launch the front LiDAR sensor, seperately see.

ros2 launch livox_ros_driver2 rviz_HAP_launch.py" />

4. ROS Setup of Lucid Corner Camera

Interface: PoE Ethernet cable

The corner cameras are connected to the computer through 4 PoE Ethernet ports. FL camera stands for front left camera. FR camera stands for front right camera. RR camera stands for rear right camera. RL camera stands for rear left camera.

Corner camera image visualization

To launch corner cameras

ros2 launch basic_launch corner_cameras.launch.py

or

After running sensor_init.launch.py.

rviz2
# Displays panel-> Add -> By topic -> camera_topic -> image
# set the reliablity to best effort.

5. ROS Setup of OAK-D LR Stereo Camera

Interface: USB3.1

Connection setup

The front camera is connected to the computer through a USB 3.1 cable.

Front camera image visualization

To launch the front camera sensor, see

ros2 launch depthai_ros_driver rgbd_pcl.launch.py

6. ROS Setup of Septentrio AsteRx SBi3 Pro+ (GNSS & INS)

Interface: USB2.0

The GNSS INS device is connected to the computer through a USB cable. This USB cable uses USB over Ethernet for Internet access.

ros2 launch basic_launch gnss.launch.py

7. 4G/LTE Verizon Internet

Interface: LTE

Network connection