#!/bin/bash
set -e

source  /opt/ros/foxy/setup.bash

source /home/nvidia/Downloads/JingMenBus/install/setup.bash

ros2 run mc mc_node &
ros2 run rtk rtk_node &
ros2 launch rslidar_sdk start.py &
ros2 run lidar lidar_node &
ros2 launch lslidar_c16_decoder lslidar_c16_launch.py &
ros2 run pl pl_node &
ros2 run extract extractor_node &
ros2 run fu fu_node &
ros2 run auto_ctrl auto_node &

###       JingMen       ###
ros2 run jingmen_pub pub_jingmen_node &
ros2 run jingmen_gps pub_gps_node &
ros2 run jingmen_chassis pub_chassis_node &

wait
