当前位置:网站首页>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 ~
边栏推荐
- How to mix embedded MCU, arm and DSP?
- VPP三层网络互联配置
- R语言使用aggregate函数计算dataframe数据分组聚合的均值(sum)、不设置na.rm计算的结果、如果分组中包含缺失值NA则计算结果也为NA
- 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
- 836. 合并集合(DAY 63)并查集
- Numpy np. Max and np Maximum implements the relu function
- ASP. Net hotel management system
- Analysis of EPS electric steering system
- 按键切换:按F1-F12都需要按Fn
- R语言使用data.table包进行数据聚合统计计算滑动窗口统计值(Window Statistics)、计算滑动分组中位数(median)并合并生成的统计数据到原数据集中
猜你喜欢

银泰百货点燃城市“夜经济”

用了这么久线程池,你真的知道如何合理配置线程数吗?

Encapsulate a koa distributed locking middleware to solve the problem of idempotent or repeated requests

一文搞懂Go语言Context

进程与线程

Understand go language context in one article

836. 合并集合(DAY 63)并查集

Abandon the Internet after 00: don't want to enter a big factory after graduation, but go to the most fashionable Web3

Based on MCU, how to realize OTA differential upgrade with zero code and no development?
![[OBS] configFile in ini format of OBS](/img/b2/0b130cee6ea884557a30e4b408f49e.png)
[OBS] configFile in ini format of OBS
随机推荐
Leetcode 46: full arrangement
Linear table sequence table comprehensive application problem p18
银泰百货点燃城市“夜经济”
DS90UB949
P3250 [HNOI2016] 网络 + [NECPC2022] F.Tree Path 树剖+线段树维护堆
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
The uniapp scroll view solves the problems of high adaptability and bullet frame rolling penetration.
[vtk] source code interpretation of vtkpolydatatoimagestencil
ASP.NET-酒店管理系統
剑指offer专项32-96题做题笔记
How to make others fear you
基于turtlebot3实现SLAM建图及自主导航仿真
Analysis of JMM memory model
Machine learning 3.2 decision tree model learning notes (to be supplemented)
After using the thread pool for so long, do you really know how to reasonably configure the number of threads?
PHP基础
Project management essence reading notes (VII)
【学习笔记】dp 状态与转移
The excel table is transferred to word, and the table does not exceed the edge paper range
How to become a senior digital IC Design Engineer (1-4) Verilog coding syntax: expression