Course Project of AI3702 of SJTU, 2023 Spring
sudo apt-get install ros-melodic-tf2-sensor-msgs
sudo apt-get install ros-melodic-navigation
sudo apt-get install ros-melodic-gmapping
cd Robotics_Navi_ws
catkin_make
source ./devel/setup.bash
-
Model requirement:
-
unzip
model.tar.gz
in the folder~/.gazabo
, and rename the folder extracted asmodels
-
Building Map
sh buildmap.sh
-
Saving Map
sh savemap.sh
-
Navigation Environment setup
sh Navigation.sh
-
The commands in shell is wriiten for zsh, for bash or other kinds of shell, please change all the zsh to bash.
-
We use
astar
written by ourselves, theastar_sol
was used to debug and compare.
- USE
rqt
to set the value of topic/move_base_simple/goal