/Simulator_Noetic

Simulator for Noetic

Primary LanguagePython

racecar_sim

Ubuntu20+ros-Noetic

1:Install for Dependence

sudo apt-get install ros-noetic-ackermann-msgs
sudo apt-get install ros-noetic-navigation
sudo apt-get install ros-noetic-openslam-gmapping
sudo apt-get install ros-noetic-geographic-info
sudo apt-get install ros-noetic-controller-manager
sudo apt-get install ros-noetic-gazebo-ros-control
sudo apt-get install ros-noetic-effort-controllers
sudo apt-get install ros-noetic-joint-state-controller 
sudo apt-get install ros-noetic-position-controllers  
sudo apt-get install ros-noetic-teb-local-planner

2:If Gazebo can't be launched:

cd ~/.gazebo/
git clone https://github.com/osrf/gazebo_models.git models

# go back to the Simulator_Noetic folder
cd -

cp -r racecar_worlds/models/ ~/.gazebo/models
chmod 777 ~/.gazebo/models
chmod 777 ~/.gazebo/models/*

3: Simulator launch:

roslaunch racecar_simulator racecar_gazebo_rviz.launch
rosrun racecar_description keyboard_teleop.py

3.1: if rviz cannot work:

With another commands build the rviz environment:

roslaunch racecar_simulator racecar.launch
source ./devel/setup.bash
rosrun rviz rviz
rosrun racecar_description keyboard_teleop.py

4: Reference:

https://gitee.com/zeende/racecar_sim
https://github.com/droneslab/audubon_gazebo.git

Simulator_Noetic