ROS2 Nav2 - Navigation Stack in 1 Hour [Crash Course]

  Рет қаралды 66,664

Robotics Back-End

Robotics Back-End

Күн бұрын

Пікірлер: 95
@RoboticsBackEnd
@RoboticsBackEnd 9 ай бұрын
Thank you for watching! 🔥 To go further with Nav2, check out this complete and step-by-step course: 👉 rbcknd.com/nav2
@williambaltus3754
@williambaltus3754 9 ай бұрын
Thanks Eduard! I have this course and watching. It seems that I do not have gazebo installed (I believe I have ignition gazebo fortress for ROS2 Humble with Ubuntu 22.04). I am on raspberry pi 4 for reference as well. For some reason, like I said I do not have turtlebot3_gazebo, I have all other packages but that one, so how can I proceed with these tutorials or gazebo and turtlebot at all? Please advise it would be very kind of you.
@salimzam7784
@salimzam7784 Жыл бұрын
شكرًا
@mrMamaboy17
@mrMamaboy17 Жыл бұрын
Once again, an awesome course. I cannot wait for the upcoming ones!
@cyclicalobsessive
@cyclicalobsessive 4 ай бұрын
Very well done "crash course" video. Steps well explained with readable console commands in a logical progression. I was able to run every step successfully in VMware Fusion on my 2018 MacMini (even though Gazebo was only reporting 14-30 fps and rviz2 at 8-25 fps). I forgot my GoPiGo3 ROS 2 Humble robot was sitting idle listening for /cmd_vel topics on the default domain ID, so when I fired up the turtlebot3 teleop_keyboard and pressed "w", the Gazebo turtlebot3 started moving as expected, but also unexpectedly, I heard my GoPi5Go-Dave robot inching along the floor behind me! I added "export ROS_DOMAIN_ID=1" in my .bashrc so that all the turtlebot3 elements (Gazebo, Teleop, Nav2/rviz2) were isolated from my physical robot. I'm going to jump for the 6 hour course to configure a sim environment for the GoPiGo3 robot and get robot GoPi5Go-Dave navigating to the kitchen and back to his dock safely.
@romainrouiller4889
@romainrouiller4889 4 ай бұрын
Very smooth and clear course, like always. thanks!
@mohammedsajjad4975
@mohammedsajjad4975 Жыл бұрын
Amazing course .Thank a lot .Great work✌
@teetanrobotics5363
@teetanrobotics5363 Жыл бұрын
Amazing course. Please make more such marathons
@dheerajbhurewar5035
@dheerajbhurewar5035 4 ай бұрын
Great course. Thanks a lot!
@mohammedsajjad8863
@mohammedsajjad8863 Жыл бұрын
Thanks a lot for this course .Can u make a vedio about the internal working of packages it would be helpful
Жыл бұрын
Thanks you for this course
@Elneely-r6u
@Elneely-r6u 5 ай бұрын
really you did a great job thank you💖
@vasudevkesharwani8360
@vasudevkesharwani8360 Жыл бұрын
amezing work ♥
@yanniscoderey4355
@yanniscoderey4355 Жыл бұрын
Hello, thank you for the video, I could follow it quite easily with ros2 galactic and it worked well. I just had the same problem with the map not showing on rviz2. The problem, a simple one, was just that the path to map.pgm was wrong on the map.yaml file, as it was maps/map.pgm instead of map.pgm. I don't know if this was fixed, but just posting this here in case someone else is in the same situation.
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
Thanks for sharing! Yes, the path can be tricky in the yaml file. Better to double check it (especially if you move the files around afterwards)
@mikewazowski9941
@mikewazowski9941 8 ай бұрын
I had this exact problem and you saved me lots of time debugging
@MrEngineer_
@MrEngineer_ 10 ай бұрын
Hi, when using the launch file at 11:15 , I get this error : Service %s/spawn_entity unavailable. Was Gazebo started with GazeboRosFactory? How to resolve this ? Environment can open but the turtlebot3 is not spawning.
@Andrew-zv4uh
@Andrew-zv4uh 7 ай бұрын
I have the same problem
@shyamalbhavsar2275
@shyamalbhavsar2275 3 ай бұрын
Same
@ChristophSchwanke-p7d
@ChristophSchwanke-p7d Ай бұрын
I was very much stuck with the same error with ROS2 iron on Ubuntu 22.04. What is very confusing: There is Gazebo classic (called "gazebo" in apt with executables "gazebo" and gzserver and gzclient) and Gazebo (called "gz" or "ign" in apt with executable ign). The "ignition" name was later removed, but for Ubuntu 22.04 and Gazebo Fortress it is still there. Anyway - in the video it seems to be Gazebo Classic - probably version 11. Somewhere I found that multicast must be enabled for ROS2 and Gazebo to work and that was not the case by default. Look for "Installation troubleshooting" in the ROS2 docu and section "Enable multicast". Now I can finally start Gazebo 11 and Gazebo Fortress.
@muhammadyousufeisa3982
@muhammadyousufeisa3982 Жыл бұрын
Thanks for such an amazing content. Kindly suggest some books for the understanding of ROS and it all aspects like gazebo and rviz etc.
@chugoh
@chugoh Жыл бұрын
Thanks for the content, do you have any recommendation what stack to use for outdoor navigation including some mild uneven ground or slopes?
@mahamaneirochapiou4388
@mahamaneirochapiou4388 Жыл бұрын
what a luck, i'm exactly looking for this kind of cours, thanks
@mr.p215
@mr.p215 Жыл бұрын
What is your opinion of slam_toolbox for mapping compared to turtlebot_cartographer?
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
From what I've seen, slam_toolbox works much better, and is the way to go when you start doing SLAM for your own robot. The Turtlebot Cartographer is good however for first time users, as the barrier to entry is very low and you can experiment quickly - that's why I'm using it in the crash course, and then switch to slam_toolbox later (this, in the full course).
@NguyenNguyen-bi2lx
@NguyenNguyen-bi2lx 4 ай бұрын
Amazing course. But I want to make a question. When i move the robot to generate map, i see other model appear, so Rviz is error and terminal of Rviz display more info
@Shiva671
@Shiva671 5 ай бұрын
What is P5 in my_map.pgm??
@정재욱-s6t
@정재욱-s6t Жыл бұрын
cool!
@읽기쉬운마음
@읽기쉬운마음 8 ай бұрын
Can I use GPS coordinates as waypoint too?
@HammerArm99
@HammerArm99 10 ай бұрын
does anyone know if the issue with the DDS was fixed?
@Inco-q2e
@Inco-q2e 7 ай бұрын
I’m stuck with that as well
@PiyasKheyal
@PiyasKheyal Ай бұрын
I will be starting this lecture tomorrow. Does the problem still exist?
@Sam-xj8os
@Sam-xj8os 9 ай бұрын
Hi Thank you so much for the explanation. I would like to make a waypoint following node, which when i run that node my robot go to the 3-4 different points and keep do the same thing "loop" Could you please show me how to do this Thanks again for the amazing video
@DESIGANBR
@DESIGANBR 10 ай бұрын
Really good
@dre9957
@dre9957 Жыл бұрын
Thanks for this great piece. all was going smoothly until I got to this point @43:46 I cant view the map on rviz. I've reloaded the scene so many times, restarted my machine... This is what I found in the logs: ([component_container_isolated-1] [INFO] [1698256754.320984188] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exis) please somebody help.
@user-ux6jo7nj4t
@user-ux6jo7nj4t Жыл бұрын
same :D
@dre9957
@dre9957 Жыл бұрын
Hello @@user-ux6jo7nj4t I could get around it by making these 2 changes 1) I made sure I was running cartographer node before launching the navigation node 2) I moved the map from Desktop/maps/my_map.yaml to ~/maps/my_map.yaml
@user-ux6jo7nj4t
@user-ux6jo7nj4t Жыл бұрын
hi ! thanks for your answer. Whats exactly cartographer mode ?
@dre9957
@dre9957 Жыл бұрын
look here @18:20 the command in the terminal. It's the command to run cartographer node. Make sure it's running before you launch navigation2
@user-ux6jo7nj4t
@user-ux6jo7nj4t Жыл бұрын
oh my god i needed both of them to run at the same time ! thanks a lot, i finally got it to work. have a great day
@Sing-ic7vt
@Sing-ic7vt 8 ай бұрын
Hello teacher, can I use turtlebot3 ROS2 humble to work on Autonomous Driving?
@thomasluk4319
@thomasluk4319 Жыл бұрын
Okay, what if I have to integrate Nav2 in other robot? What should I prepare? I mean before all these features, where to find the config and change it accordingly?
@sumitthantharate7806
@sumitthantharate7806 Жыл бұрын
Hi Edouard, I am working on Nav 2, DWB local_planner and standardTrajectortGenerator. Is there any course of yours that would be helpful for me?
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
Unfortunately as for now I don't have any courses targetting plugins for Nav2, maybe in the future!
@timandersen8030
@timandersen8030 Жыл бұрын
How to get the robot to do automatic mapping of the place without having to manually control it with teleop??
@seremetvlad
@seremetvlad 11 ай бұрын
Do something like frontier exploration (always go to the closest unexplored tile in the map. Find it with something like BFS)
@timandersen8030
@timandersen8030 11 ай бұрын
@@seremetvlad Ok, thank you!
@dinizoliveira6995
@dinizoliveira6995 Жыл бұрын
Hi, Congrats for your course!! I have ROS2 Iron installed. I got stuck at Gazebo installation part : I am not able to open Gazebo after installing it (I used "sudo apt install ros-iron-navigation2 ros-iron-nav2-bringup"). I already tried to install Ros2 humble, but I had same issue (It just doesn't open . No error msgs). Please help me
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
Maybe try with "sudo apt install ros-iron-gazebo*" ? One thing also is you're using Iron, I'm not sure if everything is working well. I usually stay on LTS versions (Humble for now, Jazzy in 2024), where I know everything is supposed to be stable and working.
@hiepvu7455
@hiepvu7455 5 ай бұрын
hello teacher, i have a problem, when ever i open gazebo my CPU always runs at full capity and it cause some lagging problems, do you know any way that could solve it. Thanks
@MOUNIKAADAVALA
@MOUNIKAADAVALA Жыл бұрын
Hi Edouard, I am working on Nav2, ROS2 foxy with path planning with Turtlebot 3 Burger. Could you suggest some videos. Many Thanks
@abrahamyalley9973
@abrahamyalley9973 8 ай бұрын
did you get an answer and what resources did you use please
@huseynhaydarov
@huseynhaydarov Жыл бұрын
Hi, the hard part to me is that how to run all these into docker container, nano jetson comes with ubuntu 18.04 preinstalled, is there any advise you could recomment, am new on it and completely lost
@khalilrabia-iw6sw
@khalilrabia-iw6sw 4 ай бұрын
did anyone take notes, i toke some and forgot to save, i need them please
@林宏宗-j4q
@林宏宗-j4q Жыл бұрын
hello, thanks you for this video. I have a question. I have ROS2 Humble installed, but the system install the ignition gazebo, can I run Nav2 and the turtlebot simulation with ignition gazebo? or shall I install other version of gazebo ?
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
You might try and see if it works! I have not tested this course with Ignition Gazebo yet, only Gazebo Classic (or whatever they call it, super confusing)
@pete_handy
@pete_handy Жыл бұрын
is ackerman steering possible with nav2?
@russhall1097
@russhall1097 Жыл бұрын
Certainly!
@pete_handy
@pete_handy Жыл бұрын
@@russhall1097 oh okay then how to convert cmd_vel from nav2 to ackerman steering control?
@russhall1097
@russhall1097 Жыл бұрын
@@pete_handy I don't think you convert it, just use it! Your lower level code (Arduino or motor controller) will use it.
@russhall1097
@russhall1097 Жыл бұрын
You can use other computers, doesn't have to be Nvidia.
@RICO-sr2fn
@RICO-sr2fn Жыл бұрын
I tried the same, but I can't load saved map into rviz or nav. I am using foxy and installed foxy version of it
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
Could you try with Humble instead? Lots of bug solved since Foxy Also, I'd make sure to use a powerful computer and avoid VMs if possible.
@RICO-sr2fn
@RICO-sr2fn Жыл бұрын
@@RoboticsBackEnd Solved only using slam toolbox. Rviz=>panel=>add panel=>slam toolbox plugin and export/import map. Didn't work in yaml of config files.
@adityajambhale915
@adityajambhale915 Жыл бұрын
hello sir@@RoboticsBackEnd , I am currently using virtual machine, is there any way it will work on VMs?
@saurabhsachan5846
@saurabhsachan5846 4 ай бұрын
Hello!! How to install Gazebo for ROS2 Humble on Raspberry Pi 4? I am following this video and it shows the "gazebo command not found"
@RoboticsBackEnd
@RoboticsBackEnd 4 ай бұрын
Gazebo probably won't work on a Raspberry Pi board (not the same architecture as a "normal" computer, and much less power). Better to use Gazebo on another computer
@saurabhsachan5846
@saurabhsachan5846 4 ай бұрын
@@RoboticsBackEnd Okay, Thanks!! Can I use Jetson Nano?
@RoboticsBackEnd
@RoboticsBackEnd 4 ай бұрын
Jetson Nano also has ARM architecture (like Raspberry Pi), so, not sure it will work (although it's much more powerful). I haven't tested so I can't tell for sure
@saurabhsachan5846
@saurabhsachan5846 4 ай бұрын
@@RoboticsBackEnd Okay, Thanks!!
@curtisnewton895
@curtisnewton895 Жыл бұрын
aaaaaaaaaaand gazebo command not found
@Sid-proxi
@Sid-proxi Жыл бұрын
source ~/.bashrc or sudo apt update && upgrade or reinstall gazebo...(not a big error)
@HAONan-x4q
@HAONan-x4q Жыл бұрын
Hello teacher, is it ok if I use ubuntu20.04 with ros2-foxy?
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
NOPE, I only recommend to use Ubuntu 22.04 and ROS2 Humble. Foxy is not supported anymore, and you'll waste more time trying to solve problems that won't be fixed anyway.
@HAONan-x4q
@HAONan-x4q Жыл бұрын
OK. Regarding the use of virtual machines or dual systems, do you have any suggestions?@@RoboticsBackEnd
@mahamaneirochapiou4388
@mahamaneirochapiou4388 Жыл бұрын
i'm actualy using ros2 foxy, all i have to do is to replace distro ''Humble'' by ''foxy'', right?
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
Yes, exactly. However if you go further with the Nav2 stack you will quickly be limited because most of the new development has been only added into Humble, not Foxy.
@chiadika
@chiadika 11 ай бұрын
hello i am having trouble. i am using ros2 on a VM and i have manually installed gazebo using 'sudo apt-get install ros-humble-ros-gz', but when i run gazebo in the terminal, it doesn't launch. do you have any suggestions?
@RoboticsBackEnd
@RoboticsBackEnd 11 ай бұрын
First, you might have to source Gazebo with "source /usr/share/gazebo/setup.bash" and second, better not to use Gazebo in a Virtual machine, it probably won't work correctly (definitely not on VirtualBox, you can try with VMware Workstation)
@chiadika
@chiadika 11 ай бұрын
@@RoboticsBackEnd I'll try sourcing it. However, I can only use a virtual machine. I have an M2 MacBook so I was using UTM virtual machine
@chiadika
@chiadika 11 ай бұрын
@@RoboticsBackEnd I was only able to get ignition gazebo to install properly. Is that equivalent? I've looked online and none of the common sudo install commands work
@eternalsk7652
@eternalsk7652 Жыл бұрын
Hello,I am using ROS2 humble for this navigation stack,but when I am loading the file 45:00,Map is not visible,i entirely followed your steps line by line ,but still I am getting no map received,Can someone please help me??
@trongdungmai8125
@trongdungmai8125 10 ай бұрын
i can't install ros-humble-turtlebot3* in Ubuntu 22.04, this is the error i got when i installed it, can you help me to solve this? thank you "The following packages have unmet dependencies: gz-tools2 : Conflicts: gazebo (>= 11.0.0) but 11.10.2+dfsg-1 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."
@RoboticsBackEnd
@RoboticsBackEnd 10 ай бұрын
Try to remove all gazebo packages and ros-humble-gazebo*, then reinstall
@guruv1627
@guruv1627 Жыл бұрын
Hi its a great video but sudo apt install ros-humble-navigation2 ros-humble-nav2-bringup ros-humble-turtlebot3* this command not working for me Ubuntu 22.04 Humble
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
What error do you get?
@alperkarademir3963
@alperkarademir3963 Жыл бұрын
@@RoboticsBackEnd yes
@drapiasuperioridade
@drapiasuperioridade 8 ай бұрын
Great marketing 😅 I’ve just bought course right now.
@Baul454
@Baul454 10 ай бұрын
hi, thank you very much. But when I tried to install ros_humle_rmw_cyclonedds_cpp it's said me "Unable to locate package ros_humle_rmw_cyclonedds_cpp" maybe you can help me
@RoboticsBackEnd
@RoboticsBackEnd 10 ай бұрын
You need to use dashes (ros-humble...) not underscores (ros_humble...)
@Baul454
@Baul454 10 ай бұрын
Merci beaucoup, d'ailleur, j'ai acheté des cours et je suis très heureux que vous ayez simplifié et clarifié les choses @@RoboticsBackEnd
@amarnath-bo9ld
@amarnath-bo9ld 7 ай бұрын
Hi eduoard While i was doing sudo gedit waffle.yam Waffle. Yam file appeared but it is crashed with symbols everywhere Can anyone please tell why this is happening
ROS2 - Switch Between Different DDS Implementations (Fast DDS, cyclone DDS)
6:04
ROS2 Tutorial - ROS2 Humble 2H50 [Crash Course]
2:50:02
Robotics Back-End
Рет қаралды 144 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
Building a ROS Robot for Mapping and Navigation #1
19:53
James Bruton
Рет қаралды 230 М.
The Ultimate Guide to using Motors in Robotics (including ROS, Raspberry Pi)
25:56
Autonomous Rover From Scratch (ROS) Part 1
10:46
Vinay Lanka
Рет қаралды 91 М.
How Regenerative Braking Works.
23:01
Jeremy Fielding
Рет қаралды 466 М.
Using Isaac Sim with ROS2: A Step-by-Step Guide
12:50
robot mania
Рет қаралды 6 М.
ROS2 Nav2 - Generate a Map with slam_toolbox
15:20
Robotics Back-End
Рет қаралды 24 М.
ROS1 vs ROS2 - Practical Overview for ROS Developers
45:36
Robotics Back-End
Рет қаралды 44 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН