This guide outlines the steps required to run the perception stack using ROS. Follow the terminal instructions below in the given order to ensure proper execution.
- ROS installed
- Cloned this repository
- Necessary
.bagfiles available(For simulation)
Open Terminal 1 and run:
roslaunch rplidar_ros rplidar_a1.launchOpen Terminal 2 and run:
roslaunch usb_cam usb_cam-test.launchAlso, launch required nodes to get position of robot topic (in case your using Indoor mobile robot - /pose_ekf)
Open Terminal 3 and run:
ROS_NAMESPACE=usb_cam rosrun image_proc image_procOpen Terminal 4 and run:
roslaunch camera_2d_lidar_calibration reprojection_real.launchOpen Terminal 5 and run:
roslaunch tracking tracking_real.launchOpen Terminal 1 and run:
cd <Bagfile location>
rosbag play <required_bagfile>Open Terminal 6 and run:
cd catkin_ws
roslaunch apriltag_ros ground_truth.launchNote: Replace
<Bagfile location>with path of the bagfile directory and<required_bagfile>with your desired bag file name.
- Ensure all dependencies are correctly sourced before launching nodes.