ROS2 HUMBLE TUTORIAL. USING ROS2 WTH YOUR CUSTOM ROBOT

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • ROS2 HUMBLE tutorial. How to setup simulation of your custom robot in Gazebo. How to configure MoveIt2 with your custom robot. Problems, that you may encounter with, trying to simulate your robot in ROS2 and solutions to these problems.
    To support channel:
    PayPal:www.paypal.com...
    Patreon: / robo_age
    Music:
    The Whispering Of The Sun by MusicLFiles
    Link: filmmusic.io/s...
    License: filmmusic.io/s...
    Happy Memory (loopable) by chilledmusic
    Link: filmmusic.io/s... filmmusic.io/s...
    «Dreams» from Bensound.com

КОМЕНТАРІ • 117

  • @roboage1027
    @roboage1027  Рік тому +2

    If you like my content, you can support my channel. I will greatly help me to develop more interesting projects 😀
    To support channel:
    PayPal:www.paypal.com/donate/?hosted_button_id=XHXABEQL94444
    Patreon:www.patreon.com/robo_age
    Buy me a coffee: bmc.link/roboage21Y

  • @miryalkarashish2317
    @miryalkarashish2317 Рік тому +3

    Thank you very much. was struggling to see my robot in gazebo for 3 days. Finally, I was able to do so.
    Very informative.

  • @jeon5555
    @jeon5555 Рік тому +1

    You saved my project and time. I appreciate your kindness.

  • @PawelGawron88
    @PawelGawron88 2 роки тому +4

    Thank you very much, its great video

  • @eyalfriedman5972
    @eyalfriedman5972 Рік тому +2

    Well done!! thank you so much - you saved my week, looking forward for your next videos

  • @user-xb5ur8hs7s
    @user-xb5ur8hs7s 5 місяців тому

    thanks a lot and lot and lot. i have been struggling for months and finally got resolved

    • @roboage1027
      @roboage1027  5 місяців тому

      You welcome! I'm glad I could help 😁

  • @svitlana1367
    @svitlana1367 2 роки тому +3

    Дуже потрібне відео 👍 дякую вам💙💛

    • @roboage1027
      @roboage1027  2 роки тому

      І Вам дякую, що подивилися!

  • @kot2905
    @kot2905 2 роки тому +3

    You helped me solve my problem! Thank you!

  • @user-cw5nb8wx1h
    @user-cw5nb8wx1h Рік тому

    Amazing tutorial. Thank you for sharing the knowledge.

  • @andreasg.dpetersen4252
    @andreasg.dpetersen4252 Рік тому

    Amazing content! This will definitely help me with creating my first ROS2 robot arm sim :)

  • @vmpawar82
    @vmpawar82 Рік тому +3

    Nice work - any chance of posting up a github link to the project?

  • @icesec2678
    @icesec2678 2 роки тому +2

    Thank you for this video

  • @alejandroginer2157
    @alejandroginer2157 9 місяців тому +2

    Have you published the files anywhere? I couldn't find them in your patreon nor Github

  • @user-bs5us3xk3y
    @user-bs5us3xk3y 2 роки тому +4

    Good video

  • @pagetheme
    @pagetheme Рік тому +1

    Кстати в moveit2 уже появился setup assistant. Правда не очень стабильно работает но всё же своё дело делает.

  • @jongwukson273
    @jongwukson273 Рік тому

    Thanks so much. It's great video. Can you make a tutorial video for the part that recognizes and grips the object at the beginning of this video?

  • @matthewkunz3887
    @matthewkunz3887 Рік тому

    Awesome! I hope to be building something soon.

  • @meeliissaam
    @meeliissaam Рік тому

    thank you so much for your help, for some reason it did not work with my meshes (I mean I cannot see anything even after I modify the package.xml file), but it helped me learn a lot, if in the future you can share your code and meshes for testing, it will help us a lot know what is not working with our own urdf and configs

  • @keepfighting8402
    @keepfighting8402 2 роки тому +4

    Інформативно

  • @designwithumeshcarpenter6634
    @designwithumeshcarpenter6634 13 днів тому

    I am getting an error while launching the demo file "default logging verbosity is set to info using load_yaml() directly is deprecated. use xacro.load_yaml() instead."
    Can you please suggest the possible reason

  • @superd452
    @superd452 Рік тому +1

    Hello, could you share the last launch file of gazebo with moveit? super useful video

    • @roboage1027
      @roboage1027  Рік тому +1

      Unfortunatly i accidently deleted the whole ros2 workspace with all my packages when reinstalling os on my pc. Probably i should have used github. I'm now trying to recreate this project watching my own video. Sorry, that i cann't help you.

  • @TruckerHTC
    @TruckerHTC Рік тому +1

    Thank u!!

  • @radhen171992
    @radhen171992 Рік тому

    Thank you posting this tutorial. Super helpful. Any chance you can share the files?

  • @harshitbalaji1019
    @harshitbalaji1019 6 місяців тому

    Hi, could you please share the link for software models? I need a software model for a project, and the ones I have aren't working...

  • @Asifkhan-lj6qm
    @Asifkhan-lj6qm Рік тому +1

    Could you please give your robot's urdf file link. Its a request Please... I want to see the joint and links parameters.

  • @temmylade2875
    @temmylade2875 Рік тому

    having difficulties accessing six_dof_arom_on_stand.urdf, please where did you get your urdf and the .dae meshes
    can you share it; please I need it urgent,... thanks

  • @GabrielGoncalves-sm9gw
    @GabrielGoncalves-sm9gw 5 місяців тому

    Hi, this was a great help, but I'm still struggling with a few issues. Could you provide the launch files ?

    • @roboage1027
      @roboage1027  5 місяців тому

      Sorry, but I've lost this package when reinstalling the system. It was quite long ago.

  • @omh11
    @omh11 Рік тому

    nice video im new to ros2 ,,,, while I'm trying to create the gazebo_ros2_control pkg im getting an error

  • @Newbie-ew8km
    @Newbie-ew8km Рік тому +1

    Hello Roboage,
    How to give torque to the joints manually? (In gazebo from python script). I have a custom robot model with non-differential model, and have a custom controller for that. That is why, I want to read position, velocity and similar features of the robot legs and give certain torque values to the legs calculated by my controller. For that, I think there is no need to use MoveIt but don't know how to do it. Can you help me? Thanks.

    • @roboage1027
      @roboage1027  Рік тому

      Hi! I guess your custom controller need to inherit from controller interface class and you need to configure it as ROS2 plugin. In such a way you will be able to use your controller as usual ROS2 controller together with Gazebo hardware interface. And your controller will automatically read states from gazebo and write torque commands. And you will be able to send commands to your controller with python just as to usual action ROS2 server.

  • @letsthink7664
    @letsthink7664 2 місяці тому

    Can you use a different ros distro?

  • @achyutbora8288
    @achyutbora8288 2 роки тому

    Very nice video! One question: should Gazebo be preinstalled in the system to create the gazebo_ros2_control?

    • @roboage1027
      @roboage1027  2 роки тому

      Thank you! To use gazebo_ros2_control package, Gazebo should be installed.

    • @achyutbora8288
      @achyutbora8288 2 роки тому

      @@roboage1027 Thanks! Could you please share the instruction on how to install Gazebo for ROS2 Humble!

    • @roboage1027
      @roboage1027  2 роки тому

      @@achyutbora8288 Gazebo comes with ROS installation. So if you have ROS2 installed, you also have Gazebo installed. To install Gazebo separately, here's link to detail instaruction:ubuntu.com/blog/install-gazebo-for-ros-2-in-under-a-minute

    • @achyutbora8288
      @achyutbora8288 2 роки тому

      @@roboage1027 Thanks a lot for the link! Gazebo was not installed alongside ROS2 in my system as I installed Ros2-Humble-Desktop, where Gazebo was not included.

  • @arvintechguru
    @arvintechguru Рік тому +1

    The music is too loud. PLz re upload with music off.

  • @user-iq7qq3fb8t
    @user-iq7qq3fb8t Рік тому

    i can't able to find the github link you mentioned for gazebo_ros2_control can you provide the link that would be helpful.

  • @govindnair5407
    @govindnair5407 Рік тому +1

    Do you have a github repo now....?

  • @likefoodua1088
    @likefoodua1088 2 роки тому +2

    👍

  • @fengcao9573
    @fengcao9573 Рік тому

    Hi my gripper is not able to grasp the object, can you please help to explain how to fix this?

    • @roboage1027
      @roboage1027  Рік тому

      I didn't manage to do that either. So I ended up just creating temporal fixed joint between the gripper and the object. And that's it. Then I deleted this fixed joint as soon as the gripper was at drop location.

  • @user-ju5sw7xj1w
    @user-ju5sw7xj1w 6 місяців тому

    I am getting the following error:
    [controller_manager]: The published robot description file (urdf) seems not to be genuine. The following error was caught:According to the loaded plugin descriptions the class gazebo_ros2_control/GazeboSystem with base class type hardware_interface::SystemInterface does not exist. Declared types are fake_components/GenericSystem mock_components/GenericSystem test_hardware_components/TestSystemCommandModes test_hardware_components/TestTwoJointSystem test_system test_unitilizable_system
    I tried a couple of things, nothing has worked so far, could you please help me? is there any repo for this project?

  • @soilder268
    @soilder268 Рік тому

    how did you install gazebo ros2 control? do i also need ros2 control?

  • @junaidamin2412
    @junaidamin2412 Рік тому

    How do you specify which controllers will be used by Moveit for motion planning? Do you specify these in the Moveit Setup Assistant process or are they being read from the urdf?

    • @roboage1027
      @roboage1027  Рік тому

      Controllers are specified in the configuration file (with .yaml extension). Besides, you should specify path to this file in the urdf file as a parameter for gazebo plugin. I show all these steps in the video when i explain how to configure gazebo with ros 2.

    • @junaidamin2412
      @junaidamin2412 Рік тому

      @@roboage1027 I see. Since these are defined in the urdf as you showed, they do not need to be configured inside the Moveit Setup Assistant?

    • @roboage1027
      @roboage1027  Рік тому

      @@junaidamin2412 Yes. Moveit setup assistant generates yet another controllers configuration file. These are controllers of type follow joint trajectory. I don't know why they are needed. I guess for updating visualization in rviz. And that's all. Controllers that you are using to control your robot (in simulation or the real one) are up to you:)

    • @junaidamin2412
      @junaidamin2412 Рік тому +1

      @@roboage1027 It's slowly making sense. Thanks a lot!

  • @danak212
    @danak212 10 місяців тому

    Hello, did I have right, could I copy files from github to my computer? about ros_control in 3rd minute of video. Thanks

    • @roboage1027
      @roboage1027  10 місяців тому

      Yes, you should copy that package to your workspace. At least at the time of making that video, it was so. You should check, maybe nowadays there's another solution.

  • @akashparikh6204
    @akashparikh6204 Рік тому

    Hi Roboage. Great video. Loved it! I am also working on ROS2 humble and want to control my arm. I followed your video and was able to spawn my arm in Gazebo but after including gazebo_ros2_controller in URDF file, when I started gazebo simulation, my arm started rotating and flying on its own. Have you ever come across this kind of error? What can be the error here?

    • @roboage1027
      @roboage1027  Рік тому

      Hi! Thank you for your comment! Check inertial properties of your robot's links in URDF file. If they are wrong, simulation will be broken. Also check this link on ROS answers site:answers.ros.org/question/416011/strange-behavior-and-instability-of-six-axis-manipulator-in-ros-2-with-gazeboclassic-when-using-position-control/ Try it, maybe it will help.

    • @akashparikh6204
      @akashparikh6204 Рік тому +1

      @@roboage1027 Hi, The ROS answer was the solution. Thank you. This solved my issue. I was struggling since almost a week. Thank you so much. :)
      I had to include properties to joints in URDF. (damping and friction).

    • @akashparikh6204
      @akashparikh6204 Рік тому

      Hi Roboage, sorry to bother you again. I am getting another problem now. In gazebo my arm can't grasp any object. The object simply slips out of the gripper. Have you come across such behavior?

    • @roboage1027
      @roboage1027  Рік тому

      @@akashparikh6204 Actually it is impossible to grasp object in Gazebo. In my video i just created temporal fixed joint between the gripper and the object, and then removed it when the gripper was at the drop location. You can find examples on GitHub on how to create fixed joint between two objects in Gazebo.

    • @akashparikh6204
      @akashparikh6204 Рік тому

      @@roboage1027 I did find some examples but all of them are for ROS and not for ROS2. Did you find any for ROS2?

  • @janbecker3239
    @janbecker3239 Рік тому

    Where do i get my launch file? Do i have to create it on my own or is it generated?

  • @giorgiolongari9660
    @giorgiolongari9660 Рік тому +1

    What should have I to write at minute 4:20 , I don't have the folders launch meshes and urdf, so the next part doesn't work for me, can u suggest me why I don't have them? Have I missed something?
    Many thanks

    • @roboage1027
      @roboage1027  Рік тому

      This is strange. What's the error log? ${PROJECT_NAME} is the name of your project. This variable should be automatically set. share folder is also created automatically .

    • @giorgiolongari9660
      @giorgiolongari9660 Рік тому

      I'm sorry, I changed a bit the topic (I have modified the original one). It's not the name the problem but I don't have the folders! Thank you for the fast answer@@roboage1027

    • @roboage1027
      @roboage1027  Рік тому +1

      @@giorgiolongari9660 Are you running 'colcon build ' command from the workspace root folder?

    • @giorgiolongari2806
      @giorgiolongari2806 Рік тому

      Yes!

    • @roboage1027
      @roboage1027  Рік тому

      @@giorgiolongari2806 That's very strange. As I understood, there's no install folder in your workspace's folder? Or there is install folder but there's no share folder in it. It should be like so: your_workspace/install/your_project/share.
      Does your workspace have such a structure? All this folders are created automatically when creating and building the package.

  • @JustinYu2003
    @JustinYu2003 Рік тому

    Do you still have the github link for your project? Would appreciate it thanks

  • @rebop3000
    @rebop3000 9 місяців тому

    which gazebo version is that, im having a lot of issues

  • @atikx1786
    @atikx1786 Рік тому

    Do i replace the content of the newly created ros package with the content of the GitHub folder before i build and source it?

    • @atikx1786
      @atikx1786 Рік тому

      After i copied and pasted the contents from GitHub to the package then built it, i got some errors

  • @drapiasuperioridade
    @drapiasuperioridade 9 місяців тому

    You didn't show how you get the launch and urdf files. The video is very confused for those who want learn.

  • @emastino6152
    @emastino6152 Рік тому

    is there a repo we can access for this?

  • @angelorison6455
    @angelorison6455 Рік тому

    I require some assistance with the modification of urdf of my the robotic arm. I have already created a design and successfully converted it to URDF (Unified Robot Description Format) for ROS2 (Robot Operating System 2). However, I am encountering several issues during the process, and I would greatly appreciate your valuable support in resolving them.

    • @roboage1027
      @roboage1027  Рік тому

      I used solidworks2urdf exporter and i had to modify joints origins and orientations manually because they were somewhat wrong. Also sometimes it is necessary to modify inertial properties of the links. What exact problem you have?

    • @angelorison6455
      @angelorison6455 Рік тому

      @@roboage1027 I have the error output with me. Is there any way to contact you so that I can share it? It's for my college project, and I have limited time to complete it. I kindly request your assistance.

    • @roboage1027
      @roboage1027  Рік тому

      @@angelorison6455 Copy and paste error message here in comments or you can find me in Instagram and send in messenger. I'll try to help.

  • @danielschillhammer319
    @danielschillhammer319 Рік тому

    Thank you for your video. Can you share your repo?

    • @roboage1027
      @roboage1027  Рік тому

      Unfortunately, i didn't make github account yet. And recently regretted it, cause accidentally deleted some of the code when reinstalling OS. So i'll definetly make one.

  • @ShiftKoncepts
    @ShiftKoncepts 4 місяці тому

    Do u offer private tutor? I have ufactory xarm 6.

    • @roboage1027
      @roboage1027  4 місяці тому

      What kind of tutor do you need?

    • @ShiftKoncepts
      @ShiftKoncepts 4 місяці тому

      I want to get my 6 axis robot up and running for planning and robot vision. Ufactory included a list of demos but I’m not sure how to install that into gazebo and moveit2 and connect to my robot IP address.

  • @En1Gm4A
    @En1Gm4A Рік тому

    hello there, thanks a lot u got this on github?

  • @tahirfaris8408
    @tahirfaris8408 Рік тому

    can you guide how i can use my ros1 project files in ros2 what changes should i do

    • @roboage1027
      @roboage1027  Рік тому +1

      There is no short answer. You need to start with updating package.xml and CMakeLists.txt files and finish wth source code of your packages. You would need to remove and update everything, that is not compatible with ROS2.

    • @tahirfaris8408
      @tahirfaris8408 Рік тому +1

      @@roboage1027 can you please make a tutorial

    • @tahirfaris8408
      @tahirfaris8408 Рік тому

      Which files need to be removed and which files need to be update and what should be change

    • @roboage1027
      @roboage1027  Рік тому

      @@tahirfaris8408 There is nice tutorial on ROS2 docs site. docs.ros.org/en/humble/The-ROS2-Project/Contributing/Migration-Guide.html

  • @daanbanaan8579
    @daanbanaan8579 11 місяців тому +1

    4.55 --> i followed the steps but i miss the 'launch' and 'meshes' and 'urdf' map.
    How did you got this?

    • @daanbanaan8579
      @daanbanaan8579 11 місяців тому

      I think it has to do something with the build-type?
      Command line on 2.20 doesn't work for me.

  • @RlxRlx1
    @RlxRlx1 2 роки тому +1

    Thanks for the video , Do you offer any technical support?$

    • @roboage1027
      @roboage1027  2 роки тому

      Thank you very much! Didn't understand, what you mean by technical support.

    • @RlxRlx1
      @RlxRlx1 2 роки тому

      @@roboage1027 I need some help connecting my mecanum robot to ros2, I can pay for the advice

    • @roboage1027
      @roboage1027  2 роки тому

      @@RlxRlx1 I'm not an expert actually. I'm in the process of studying ROS 2 myself and have no experience in connecting real robot to ROS 2. Sorry 😞. But I'm planning to connect my robotic arm, that I'm currently building to ROS, when the project will be finished. For now, I'm just playing around with simulation in ROS 2.

  • @jongwukson273
    @jongwukson273 Рік тому

    can you share your source code? In my case, I have difficulties in reproducing your work.

  • @tsegaabnigusse2804
    @tsegaabnigusse2804 5 місяців тому

    ros2 ros2, ros to ros2 lol

  • @angelorison6455
    @angelorison6455 Рік тому

    in ament python need any edit to define config file?

    • @roboage1027
      @roboage1027  Рік тому

      I mostly work with C++ in ROS2. As i understand, you need to edit setup.py file, so that your config folder was installed in share directory of your package.

    • @angelorison6455
      @angelorison6455 Рік тому

      @@roboage1027 hey please can you explain the code you have added if i want a custom robot it was exported using fusion2urdf plugin

  • @user-lx3fi7tz1t
    @user-lx3fi7tz1t Рік тому

    Sir, can you plase provide github link

  • @adysssu
    @adysssu 9 місяців тому

    does this also work in foxy?

  • @alperensahin9824
    @alperensahin9824 Рік тому

    where is source code ?

  • @Autovetus
    @Autovetus 2 місяці тому

    Darn it . This is soooo far from "intuitive" is it because it people live to overcomplicate stuff ?

  • @pagetheme
    @pagetheme Рік тому

    Привіт. Чи міг би ти зробити таке відео українською мовою? Було б чудово.