当前位置:网站首页>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-planner
ROS 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.launch
Install 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-keyboard
Run the keyboard control node , Control the trolley according to the output prompt
rosrun teleop_twist_keyboard teleop_twist_keyboard.py
If 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.org
If 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 xzvf
SLAM 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:=gmapping
3、 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.launch
4、 Save the map
rosrun map_server map_saver -f ~/map
This 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.yaml
2、 Open the simulation environment , Use visualization tools rviz Show it
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_gazebo turtlebot3_house.launch
3、 Turn on the autonomous navigation function
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=/home/kaijun/map.yaml
Good 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 ~
边栏推荐
- Use typora to draw flow chart, sequence diagram, sequence diagram, Gantt chart, etc. for detailed explanation
- Empire CMS no thumbnail smart tag (e:loop) two ways to judge whether there is a titlepic
- Spl06-007 air pressure sensor (example of barometer)
- Oracle 11g single machine cold standby database
- C language AES encryption and decryption
- Unique in the industry! Fada electronic contract is on the list of 36 krypton hard core technology enterprises
- 多维度监控:智能监控的数据基础
- R语言使用gridExtra包的grid.arrange函数将ggplot2包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
- Linear table sequence table comprehensive application problem p18
- This article explains the complex relationship between MCU, arm, MCU, DSP, FPGA and embedded system
猜你喜欢
一文搞懂Go语言Context
836. 合并集合(DAY 63)并查集
Analysis of EPS electric steering system
Encapsulate a koa distributed locking middleware to solve the problem of idempotent or repeated requests
金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.
Excel quick cross table copy and paste
Kubernetes 三打探针及探针方式
The world's most popular font editor FontCreator tool
AI模型看看视频,就学会了玩《我的世界》:砍树、造箱子、制作石镐样样不差...
随机推荐
R language uses grid of gridextra package The array function combines multiple visual images of the ggplot2 package horizontally, and the ncol parameter defines the number of columns of the combined g
836. 合并集合(DAY 63)并查集
uniapp scroll view 解决高度自适应、弹框滚动穿透等问题。
How should intermediate software designers prepare for the soft test
C language AES encryption and decryption
How to become a senior digital IC Design Engineer (1-5) Verilog coding syntax: operand
Modular programming of single chip microcomputer
Spl06-007 air pressure sensor (example of barometer)
R language uses data The table package performs data aggregation statistics, calculates window statistics, calculates the median of sliding groups, and merges the generated statistical data into the o
Reading notes: heart like Bodhi, Cao Dewang
Use typora to draw flow chart, sequence diagram, sequence diagram, Gantt chart, etc. for detailed explanation
并发编程-单例
Abandon the Internet after 00: don't want to enter a big factory after graduation, but go to the most fashionable Web3
Kibana~Kibana的安装和配置
Execute kubectl on Tencent cloud container service node
Machine learning 3.2 decision tree model learning notes (to be supplemented)
Qt+VTK+OCCT读取IGES/STEP模型
[VTK] vtkPolydataToImageStencil 源码解读
Program process management tool -go Supervisor
phpcms 提示信息頁面跳轉showmessage