Making robot navigation easy with Nav2 and ROS!

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • 📃 Companion blog post coming soon
    👨‍💻️ GitHub code at the end of this tutorial github.com/joshnewans/articub...
    💬 Join the discussion at the Articulated Robotics Community discourse.articulatedrobotics...
    ❤️ Support me on Patreon! www.patreon.com/bePatron?u=55...
    00:00 - Intro
    00:35 - What is Navigation?
    03:24 - Prep steps
    06:19 - Running Nav2 with Gazebo
    09:04 - Running Nav2 on a real robot
    11:24 - Nav2 with AMCL
    15:22 - Copying lots of files around
    18:50 - Add twist_mux to our launch files
    19:53 - Twist_mux alternatives
    21:25 - Outro

ความคิดเห็น • 69

  • @educateme7286
    @educateme7286 ปีที่แล้ว +6

    I'm still early in the tutorial series but can't wait to reach this stage. Thank you so much for guiding us through it!

  • @peterlingas7843
    @peterlingas7843 ปีที่แล้ว +3

    I just found your channel and I love everything you do. I am building an AR4 robot and want to write the software for it myself and your channel is just what I need for this, thank you so much!

  • @adheeshasenanayake7105
    @adheeshasenanayake7105 ปีที่แล้ว +1

    THANK YOU SO MUCH ! WAS WAITING FOR THIS FOR A LONG TIME!

  • @Sarryaz
    @Sarryaz ปีที่แล้ว +22

    I really love this project and the way you approach this! This is really encouraging for people who want to get into stuff like this. Please don't stop this series any time soon, we need more people like this on TH-cam and in general. :)

    • @ArticulatedRobotics
      @ArticulatedRobotics  ปีที่แล้ว +8

      Thanks! I've been a bit busy over the summer (here in Aus) but there is plenty more coming this year :D

  • @GiovanniChrisanto
    @GiovanniChrisanto ปีที่แล้ว +1

    Can't believe I have made this far :) Thanks for the great tutorial!
    I would love to see more about ROS - Arduino Serial communication and integrate Ultrasonic (Ping) Sensor to the robot.

  • @usimian
    @usimian ปีที่แล้ว

    Thanks and have a great New Year!

  • @tomascruz2147
    @tomascruz2147 ปีที่แล้ว +2

    Thank you so much for your amazing content!! I really appreciate it!! A video on the robot localization package in the future would be awesome!

  • @user-og7hd7of6h
    @user-og7hd7of6h ปีที่แล้ว +1

    Love your video so much! Thank you!

  • @rageshramachandran
    @rageshramachandran ปีที่แล้ว +1

    This is a really cool tutorial on ROS2 Navigation and thanks for your valuable time. Can you also make a video where there are multiple robots in the same environment and all of them can be controlled via namespaces?

  • @ptiwaridotin
    @ptiwaridotin ปีที่แล้ว +3

    Thank you so much for these videos. Really helpful & inspiring.

  • @ChristianDiekmann33
    @ChristianDiekmann33 ปีที่แล้ว

    Thank you for the amazing tutorials. I would love to see a tutorial on simulating multiple robots in gazebo.

  • @SAMETELMACI
    @SAMETELMACI ปีที่แล้ว +1

    thanks much for this series, youre explain very well

  • @zhuyeaini
    @zhuyeaini ปีที่แล้ว

    nice project,really helpful for people who want to learn ros/robot,come on !!! hope next project about robot arm.

  • @Redstoner
    @Redstoner 8 หลายเดือนก่อน +2

    15:02 will there be an AMCL tuning guide? Love your videos and they helped me create my ROS robot, it just jumps around a lot when using Nav2.

  • @mustafaismail6515
    @mustafaismail6515 ปีที่แล้ว +1

    Well done 👏

  • @faraji4825
    @faraji4825 ปีที่แล้ว

    Thank you for you amazing robot👍🙌

  • @XxPwnZsxX
    @XxPwnZsxX ปีที่แล้ว

    Do you have any plans on adding the Oak-d lite instead of the Pi camera?

  • @googleyoutubechannel8554
    @googleyoutubechannel8554 ปีที่แล้ว +1

    As a hobbyist that is looking to incorporate non-gps navigation, are these tools Nav2/Ros etc developed enough in 2023 that they're a robust layer of abstraction, and not an endless time-sink of env/toolchain issues?

  • @DeC1118
    @DeC1118 11 หลายเดือนก่อน

    Hy, thank you for this tutorials.
    I wanted to know if its posible to save the target and just launch it in the terminal and not have to got to rviz to setup a goal??

  • @MarcusVinicius-lq3fe
    @MarcusVinicius-lq3fe ปีที่แล้ว

    How to test a Real Velodyne instead of the simulation one? I mean which configuration files and/or launch files, urdf, etc must be changed? I still don't have the robot but would like to test if my VLP 16 could map and visualize on RVIZ it's surrounding (black and white map). I was already able to see the LaserScan data from my Velodyne on /scan topic, but it is dying when setting 2D pose along with NAV2. Some hint?

  • @huzaifasalahuddin2846
    @huzaifasalahuddin2846 10 หลายเดือนก่อน +1

    Hey Josh,
    Just wanted to ask one question. Is there a way that we provide the goal position in form of (x,y,z) coordinates instead of telling it where to go by clicking on the desired destination inside SLM map? Does Nav2 provide any functionality on that?

    • @ArticulatedRobotics
      @ArticulatedRobotics  9 หลายเดือนก่อน

      Absolutely! I'm a little rusty but I think you should be able to publish a message to /goal_pose with ros2 topic pub. I just took a quick look and it looks like they also have a ros2 action for it as well.

  • @vetriselvam5152
    @vetriselvam5152 6 หลายเดือนก่อน

    i really love this project ,now i am overall completed but i have one problem when i am trying mapping real bot, that time i am changed odom to map when i am trying to run the map also moving what can i do

  • @maalonszuman491
    @maalonszuman491 ปีที่แล้ว

    Hey i really enjoy your video !!!
    I have a question about the pose goal is it possible to send it not from the rviz but from the terminal ?

    • @ArticulatedRobotics
      @ArticulatedRobotics  ปีที่แล้ว

      Yes it is! I think it might be a PoseStamped on the topic /goal_pose? You can do that with ros2 topic pub ...

  • @afiqariffin7859
    @afiqariffin7859 ปีที่แล้ว +2

    I have slight confusion here, for this tutorial i’m using keyboard with /diff_cont/cmd_vel_unstamped rather than joystick to move the robot. So what should i do to make things work?

    • @RoboMech48
      @RoboMech48 หลายเดือนก่อน

      did you find answer @afiqariffin7859

  • @pravikhm
    @pravikhm ปีที่แล้ว +1

    I watched all the videos and really helpful. However, it seems like the entire ROS system is limited to WiFi Range. Is there a way to control a robot which is like say a kilometer away? I have used WifiBroadcast to create a bidirectional link between ground station and robot to transmit data upto 2km LOS (Using two Raspberry Pi controllers). But there is no ROS involved there. Any suggestions to get long distance connections?

    • @russhall1097
      @russhall1097 ปีที่แล้ว +2

      Yes. Beaglebone has a new board out that uses sub gigahertz radio and will reach one kilometer. It is not expensive.

    • @pravikhm
      @pravikhm ปีที่แล้ว

      @@russhall1097 thank you for the reply. Do you have a reference for it?

  • @santhosh1387
    @santhosh1387 ปีที่แล้ว

    While installing Ros2 foxy I'm getting error N : repository package not found
    Can you pleassseee help me with this

  • @ansqad226
    @ansqad226 6 หลายเดือนก่อน

    i dont have a robot, is there a way to visually represent the robot in unity and then use slam and ros

  • @kotiba-kutaybaaldibs1054
    @kotiba-kutaybaaldibs1054 หลายเดือนก่อน

    i faced a problem with map, while robot starting to move there is a difference between a lidar map and a slam map. How can I make it synchronized and shouted repeatedly?

  • @nerd_in_space
    @nerd_in_space ปีที่แล้ว

    dose this work with the irobot create 2

  • @RoboMech48
    @RoboMech48 หลายเดือนก่อน

    i am using keyboard instead of joystick what should i do in twist mux?

  • @user-go5kt6jw1e
    @user-go5kt6jw1e 8 หลายเดือนก่อน

    Hello from Korea, I want to run slam in my raspberrypi4 and develop self-driving car with 2d mapping, so I installed ubuntu 22.04 version on RP4, but it is hard to run slam :( I installed ros2 humble on it, and I bought lidar sensor.
    Could you recommend your videos for beginner??
    Thank you.

  • @alecboron9143
    @alecboron9143 2 หลายเดือนก่อน

    Hey there! Working through this tutorial I get Nav2 up and running, but the robot spins relatively fast but moves incredibly slow. So much so it barely looks like its moving. I think its because my robot is so much larger than expected in the params folder so I follow your instructions to copy over the bringup folders and modify them. However, after modifying them Nav2 aborts bringup when changing the new launch location. Where instead of putting nav2_bringup you put articubot_one. That step does not work for me. Does anyone here have any help or tips? Thanks!

  • @zilork1936
    @zilork1936 4 หลายเดือนก่อน

    For me its showing nav2_recoveries package not found, I have sourced both workspace and ros, I am using ros2 humble, btw thanks for this amazing videos❤

  • @jothamprince8765
    @jothamprince8765 10 หลายเดือนก่อน +1

    I have an issue with this tutorial, on the part of adding components to rviz2, i can add tbe first map and it works fine but the next one doesn't, it keeps saying "no map recieved" and same applies to my cameras and images, at first they worked fine but now they keep saying "error subscribing : Empty topic" and yet all the sensors are still configured the same way you did in the previous tutorials, so please help me out here, I've really tried looking for the problems but i really have no clue, when you do things in ur videos they work but they just seem not to work for me

    • @jothamprince8765
      @jothamprince8765 10 หลายเดือนก่อน +1

      For the case of the map it cannot even let me select s topic for it to subscribe to, same applies to the images and camera

  • @Xcal3113
    @Xcal3113 ปีที่แล้ว

    What os do you have installed on Raspberry pi ? can you make a tutorial on installing ros2 on rasberry pi os/raspbian

    • @ArticulatedRobotics
      @ArticulatedRobotics  ปีที่แล้ว

      Hi, my current setup is detailed in this tutorial th-cam.com/video/2lIV3dRvHmQ/w-d-xo.html
      I usually use Ubuntu MATE. These tutorials have been on 20.04/foxy but I will very soon be upgrading to 22.04/humble and releasing a video detailing any changes

  • @petecraftmc
    @petecraftmc ปีที่แล้ว

    thanks for the twist mux idea! I tried to do an emergency control with joystick via code but it doesn't work. Nav2 cmd_vel would just take over. lol. Will try the twistmux package asap

    • @ArticulatedRobotics
      @ArticulatedRobotics  ปีที่แล้ว +1

      It's always great to find one little gem that helps :)

  • @ByteHendTechX
    @ByteHendTechX ปีที่แล้ว

    Did you use kalman filter in your tutorial?

    • @ArticulatedRobotics
      @ArticulatedRobotics  ปีที่แล้ว

      Not in this tutorial but maybe in a future one :)

    • @ahmedwael9638
      @ahmedwael9638 ปีที่แล้ว

      @@ArticulatedRobotics can you tell the type of filter that you used?

    • @davisogunsina1294
      @davisogunsina1294 ปีที่แล้ว

      @@ahmedwael9638 it's a probalistic localization algorithm called AMCL , which uses particle filters to guess the initial pose of the robot.EKF is totally different from this.

  • @MohamedAshraf-kn5wm
    @MohamedAshraf-kn5wm 5 หลายเดือนก่อน

    how to make object detection using ros2 foxy ??

  • @cafung_hariswibianto_kelom2728
    @cafung_hariswibianto_kelom2728 9 วันที่ผ่านมา

    Hello sir , i use your repo for example and i follow all your step , but My robot can't walk straight when navigating , it's just like zig-zag when walking , can you help me to make sure my robot sir ?

  • @DiniZefaranti
    @DiniZefaranti หลายเดือนก่อน

    how to see velocity?

  • @MarcusRobertsonTwo
    @MarcusRobertsonTwo ปีที่แล้ว

    So good. Slam it!

  • @MemoxCid
    @MemoxCid ปีที่แล้ว

    Twist‐mux is like a Rosserial in ROS1?

    • @russhall1097
      @russhall1097 ปีที่แล้ว

      No, Twist-mux merges two control messages into one. Ros2 uses the micro-ROS agent for Rosserial.

  • @trishdcruz1480
    @trishdcruz1480 ปีที่แล้ว

    Can you implement this using only sonars?

    • @russhall1097
      @russhall1097 ปีที่แล้ว

      No, they would help but don't give enough data

  • @MakerTutor101
    @MakerTutor101 3 หลายเดือนก่อน

    Thanks so much

  • @tituador9823
    @tituador9823 19 วันที่ผ่านมา

    Are you using ROS2?

  • @NadavIsrael-gg1sn
    @NadavIsrael-gg1sn ปีที่แล้ว

    Hi, Many thanks for the tutorials very clear, it helped me alot starting understanding ROS2.
    unfortently i keep getting a error once i change the Slam Toolbox to work with localization, a saved map is not loading, i am keeping getting a new map visualization, moreover, after i changed RViz to work with map i get the follow error, please any idea, i did not find hint in Google
    "
    Vertex Program:rviz/glsl120/indexed_8bit_image.vert Fragment Program:rviz/glsl120/indexed_8bit_image.frag GLSL link result :
    [rviz2-1] active samplers with a different type refer to the same texture image unit
    "

  • @Koroleva_O_A
    @Koroleva_O_A ปีที่แล้ว +1

    Good day. Do you have an email address? How can I write to you?

  • @syeduthman
    @syeduthman 9 หลายเดือนก่อน

    I manage to make it work. However sometimes I need to restart the launcher because of [ERROR] [bt_navigator-4]. This happened when I set 2D goal pose
    [ERROR] [bt_navigator-4]: process has died [pid 206597, exit code -11, cmd '/opt/ros/foxy/lib/nav2_bt_navigator/bt_navigator --ros-args -r __node:=bt_navigator --params-file /tmp/tmpfvwd9zhh -r /tf:=tf -r /tf_static:=tf_static'].
    my i know what is

    • @taiwotolulope9047
      @taiwotolulope9047 3 หลายเดือนก่อน

      Exact same error I am experiencing.
      Did you by change Solve this problem