当前位置:网站首页>Slam mapping and autonomous navigation simulation based on turnlebot3
Slam mapping and autonomous navigation simulation based on turnlebot3
2022-07-03 11:38:00 【3D vision workshop】
Source: Gu Yueju
turtlebot3 brief introduction
TurtleBot3 It's a small , Low cost , Completely programmable , be based on ROS Mobile robot of . It is intended for education , Research , The purpose of product prototype and hobby Application .
TurtleBot3 Our goal is to significantly reduce the size and price of the platform , Without sacrificing performance , Function and quality . Because different options are provided , Such as chassis , Computers and sensors ,TurtleBot3 It can be customized in various ways .
install turtlebot3
sudo apt-get install ros-melodic-turtlebot3-*
// install gmapping Mapping algorithm dependency
apt-get install ros-melodic-gmapping
// install dwa Local path planning algorithm
apt-get install ros-melodic-dwa-local-plannerROS Different versions should be modified melodic
Keyboard control trolley movement
First, in the gazebo Start in the simulation environment turtlebot3 Car
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_gazebo turtlebot3_empty_world.launchInstall keyboard control related dependencies
sudo apt-get install ros-melodic-gazebo-ros-pkgs ros-melodic-gazebo-ros-control
sudo apt-get install ros-melodic-teleop-twist-keyboardRun the keyboard control node , Control the trolley according to the output prompt
rosrun teleop_twist_keyboard teleop_twist_keyboard.pyIf the installation appears [Err] [REST.cc:205] Error in REST request The following configuration is required :
sudo gedit ~/.ignition/fuel/config.yaml
Put... In the file https://api.ignitionfuel.org It is amended as follows https://api.ignitionrobotics.orgIf you start gazebo It has been unable to open , as a result of .gazebo Download models Incorrect library results in , The solution is to download all models directly to the user's root directory .gazebo/models/ Next

cd ~/.gazebo/
mkdir -p models
cd ~/.gazebo/models/
wget http://file.ncnynl.com/ros/gazebo_models.txt
wget -i gazebo_models.txt
ls model.tar.g* | xargs -n1 tar xzvfSLAM Building maps
Turn off all the above commands , Restart the following command
1、 Start the simulation environment
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_gazebo turtlebot3_house.launch
2、 Turn on SLAM function , Selection of mapping algorithm gmapping
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=gmapping3、 Start keyboard control node , Control the trolley to rotate around the environment , Scan out a complete and closed map as much as possible
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch4、 Save the map
rosrun map_server map_saver -f ~/mapThis is the map I swept out after running around the car

Autonomous Navigation
Realized renderings :

1、 First load the saved map
rosrun map_server map_server map.yaml2、 Open the simulation environment , Use visualization tools rviz Show it
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_gazebo turtlebot3_house.launch3、 Turn on the autonomous navigation function
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=/home/kaijun/map.yamlGood configuration rviz, Use 2D Pose Estimate Set the starting point of the car , Reuse 2D Nav Goal Set the target location of the car , The car will plan the path , Automatically run to the target location , Realize autonomous navigation function .

This article is only for academic sharing , If there is any infringement , Please contact to delete .
3D Visual workshop boutique course official website :3dcver.com
1. Multi sensor data fusion technology for automatic driving field
2. For the field of automatic driving 3D Whole stack learning route of point cloud target detection !( Single mode + Multimodal / data + Code )
3. Thoroughly understand the visual three-dimensional reconstruction : Principle analysis 、 Code explanation 、 Optimization and improvement
4. China's first point cloud processing course for industrial practice
5. laser - Vision -IMU-GPS The fusion SLAM Algorithm sorting and code explanation
6. Thoroughly understand the vision - inertia SLAM: be based on VINS-Fusion The class officially started
7. Thoroughly understand based on LOAM Framework of the 3D laser SLAM: Source code analysis to algorithm optimization
8. Thorough analysis of indoor 、 Outdoor laser SLAM Key algorithm principle 、 Code and actual combat (cartographer+LOAM +LIO-SAM)
10. Monocular depth estimation method : Algorithm sorting and code implementation
11. Deployment of deep learning model in autopilot
12. Camera model and calibration ( Monocular + Binocular + fisheye )
13. blockbuster ! Four rotor aircraft : Algorithm and practice
14.ROS2 From entry to mastery : Theory and practice
15. The first one in China 3D Defect detection tutorial : theory 、 Source code and actual combat
blockbuster !3DCVer- Academic paper writing contribution Communication group Established
Scan the code to add a little assistant wechat , can Apply to join 3D Visual workshop - Academic paper writing and contribution WeChat ac group , The purpose is to communicate with each other 、 Top issue 、SCI、EI And so on .
meanwhile You can also apply to join our subdivided direction communication group , At present, there are mainly 3D Vision 、CV& Deep learning 、SLAM、 Three dimensional reconstruction 、 Point cloud post processing 、 Autopilot 、 Multi-sensor fusion 、CV introduction 、 Three dimensional measurement 、VR/AR、3D Face recognition 、 Medical imaging 、 defect detection 、 Pedestrian recognition 、 Target tracking 、 Visual products landing 、 The visual contest 、 License plate recognition 、 Hardware selection 、 Academic exchange 、 Job exchange 、ORB-SLAM Series source code exchange 、 Depth estimation Wait for wechat group .
Be sure to note : Research direction + School / company + nickname , for example :”3D Vision + Shanghai Jiaotong University + quietly “. Please note... According to the format , Can be quickly passed and invited into the group . Original contribution Please also contact .

▲ Long press and add wechat group or contribute

▲ The official account of long click attention
3D Vision goes from entry to mastery of knowledge : in the light of 3D In the field of vision Video Course cheng ( 3D reconstruction series 、 3D point cloud series 、 Structured light series 、 Hand eye calibration 、 Camera calibration 、 laser / Vision SLAM、 Automatically Driving, etc )、 Summary of knowledge points 、 Introduction advanced learning route 、 newest paper Share 、 Question answer Carry out deep cultivation in five aspects , There are also algorithm engineers from various large factories to provide technical guidance . meanwhile , The planet will be jointly released by well-known enterprises 3D Vision related algorithm development positions and project docking information , Create a set of technology and employment as one of the iron fans gathering area , near 4000 Planet members create better AI The world is making progress together , Knowledge planet portal :
Study 3D Visual core technology , Scan to see the introduction ,3 Unconditional refund within days

There are high quality tutorial materials in the circle 、 Answer questions and solve doubts 、 Help you solve problems efficiently
Feel useful , Please give me a compliment ~
边栏推荐
- P3250 [HNOI2016] 网络 + [NECPC2022] F.Tree Path 树剖+线段树维护堆
- 2022 东北四省赛 VP记录/补题
- Internet socket (non) blocking write/read n bytes
- The manuscript will be revised for release tonight. But, still stuck here, maybe what you need is a paragraph.
- Balance between picture performance of unity mobile game performance optimization spectrum and GPU pressure
- [vtk] interpretation of source code comments of vtkwindowedsincpolydatafilter
- Technical experts from large factories: how can engineers improve their communication skills?
- Understand go language context in one article
- Processes and threads
- Solicitation for JGG special issue: spatio-temporal omics
猜你喜欢

MATLAB提取不規則txt文件中的數值數據(簡單且實用)

ASP.NET-酒店管理系統

(2) Base

Gut | Yu Jun group of the Chinese University of Hong Kong revealed that smoking changes intestinal flora and promotes colorectal cancer (do not smoke)

Unique in the industry! Fada electronic contract is on the list of 36 krypton hard core technology enterprises

一文搞懂Go语言Context

软考中级软件设计师该怎么备考

How to clean up v$rman_ backup_ job_ Details view reports error ora-02030

LeetCode 46:全排列

基于I2C协议的驱动开发
随机推荐
The manuscript will be revised for release tonight. But, still stuck here, maybe what you need is a paragraph.
How to mix embedded MCU, arm and DSP?
Application of high-precision indoor positioning technology in safety management of smart factory
phpcms 提示信息页面跳转showmessage
一文搞懂Go语言Context
PHP基础
Repo ~ common commands
The LINQ expression node type 'ArrayIndex' is not supported in LINQ to Entities
2022-07-02: what is the output of the following go language code? A: Compilation error; B:Panic; C:NaN。 package main import “fmt“ func mai
Redis things
2022 东北四省赛 VP记录/补题
VPP三层网络互联配置
How to become a senior digital IC Design Engineer (1-4) Verilog coding syntax: expression
高精度室内定位技术,在智慧工厂安全管理的应用
Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.
Matlab extracts numerical data from irregular txt files (simple and practical)
ASP. Net hotel management system
FL Studio 20 unlimited trial fruit arranger Download
R语言使用aggregate函数计算dataframe数据分组聚合的均值(sum)、不设置na.rm计算的结果、如果分组中包含缺失值NA则计算结果也为NA
Solve undefined reference to`__ aeabi_ Uidivmod 'and undefined reference to`__ aeabi_ Uidiv 'error