- Create your own workspace (description in 2.1).
- Download above plugin in (your workspace)/src directory.
- Gazebo is a robot simulator. Gazebo simulates multiple robots in a 3D environments, with extensive dynamic interaction between objects.
- Gazebo Download Link : http://gazebosim.org
- Download and install gazebo. You can go to the website : http://gazebosim.org/install
-
Development Environment ubuntu 20.04 + ROS Noetic desktop full
-
Build ROS packages for Scout simulator
Create worksapce, download ROS packages
mkdir -p ~/scout_ws/src cd ~/scout_ws/src git clone https://github.com/kangbeenlee/gazebo_navigation.git
-
Install required ROS packages
Noetic (ROS version)
cd gazebo-navigation sh install_dependencies_noetic.sh
-
Install dependencies and build
cd ~/scout_ws rosdep install --from-paths src --ignore-src -r -y catkin_make
-
SCOUT-MINI description
cd ~/scout_ws source devel/setup.bash roslaunch scout_description display_scout_mini.launch
-
Launch gazebo simulator and teleop control
-
Launch gazebo simulator
cd ~/scout_ws source devel/setup.bash roslaunch scout_gazebo_sim scout_mini_playpen.launch
-
Run teleop controller (w, a, s, d)
# Open another terminal cd ~/scout_ws roslaunch scout_teleop scout_teleop_key.launch
-
-
Gmapping SLAM mapping
# Run gazebo simulator roslaunch scout_gazebo_sim scout_mini_playpen.launch
# Run ekf_filter.launch to make odom frame roslaunch scout_localization ekf_filter.launch
# Run gmapping slam roslaunch scout_slam scout_slam.launch
# Save map (in another terminal) roslaunch scout_slam gmapping_save.launch
-
Navigation
- EKF is applied to sensor fuse encoder and imu for odometry
-
Run navigation with default global planner
roslaunch scout_navigation scout_navigation.launch
-
Run navigation with rrtx global planner
roslaunch scout_navigation scout_navigation.launch base_global_planner:=rrtx_global_planner/RRTXPlanner rviz_option:=rrtx
-
Run navigation with ompl global planner
roslaunch scout_navigation scout_navigation.launch base_global_planner:=ompl_global_planner/OmplGlobalPlanner rviz_option:=ompl