git clone https://github.com/ShallowDreamKenny/hangtianwuliu.git
sudo apt install ros-melodic-ackermann-steering-controller
sudo apt-get install ros-(your ros version)-cartographer*
sudo apt-get install -y`
`cmake`
`g++`
`git`
`google-mock`
`libboost-all-dev`
`libcairo2-dev`
`libeigen3-dev libgflags-dev`
`libgoogle-glog-dev`
`liblua5.2-dev`
`libsuitesparse-dev`
`libwebp-dev`
`ninja-build`
`protobuf-compiler`
`python-sphinx`
export PYTHONPATH=$PYTHONPATH:/home/kenny/ROS
export PYTHONPATH=$PYTHONPATH:/home/kenny/ROS/qingzhou
export PYTHONPATH=$PYTHONPATH:/home/kenny/ROS/qingzhou/src
export PYTHONPATH=$PYTHONPATH:/home/kenny/ROS/qingzhou/src/qingzhou_CCP
export PYTHONPATH=$PYTHONPATH:/home/kenny/ROS/qingzhou/src/qingzhou_CCP/yolov7
roslaunch qingzhou_gazebo qingzhou_bringup_multi2.launch
roslaunch qingzhou_mapping gmapping_multi.launch
rosrun rqt_robot_steering rqt_robot_steering
rosrun rqt_robot_steering rqt_robot_steering
cd ROS/qingzhou/src/qingzhou_mapping/maps/
rosrun map_server map_saver -f racemap /map:=/qingzhou_1/map
rosrun map_server map_saver -f racemap /map:=/qingzhou_0/map
cd qingzhou/src/qingzhou_mapping/scripts/concat_img
python3 merge.py
roslaunch qingzhou_gazebo qingzhou_bringup_multi3.launch
roslaunch qingzhou_nav multi_nav_bringup.launch
cd qingzhou/src/qingzhou_CCP/scripts/
python3 detect.py
打开上位机显示程序(须在windows端运行)(src/CSimg/main_ui/main.py)
cd qingzhou/src/qingzhou_CCP/src/
python3 transform_pub.py
手动发布节点给各个小车,小车便会在地图内进行导航及巡查工作