Create and Set Up a ROS2 Workspace - ROS2 Tutorial 3

Sdílet
Vložit
  • čas přidán 3. 08. 2024
  • In this ROS2 tutorial you will create and set up a ROS2 workspace, which will allow you to write custom ROS2 code.
    🔥 10+h ROS2 Course 👉 rbcknd.com/ros2-for-beginners
    👉 ROS2 Tutorials Playlist: • ROS2 Tutorials - ROS2 ...
    ⏱️ Chapters
    (0:00) What’s a ROS2 workspace?
    (0:52) Install colcon
    (1:53) autocompletion
    (4:15) Create a ROS2 workspace
    (5:44) Build and source the workspace
    👉 Get all my courses here 👉 rbcknd.com/all-courses
    Twitter: / roboticsbackend
    More Free Tutorials: roboticsbackend.com

Komentáře • 29

  • @RoboticsBackEnd
    @RoboticsBackEnd  Před rokem +2

    Thank you for watching!
    🔥 To go further with ROS2, check out this complete and step-by-step ROS2 course
    👉 rbcknd.com/ros2-for-beginners

  • @erniea5843
    @erniea5843 Před 2 měsíci

    These videos are a lifesaver! I bought your course just to support the channel. Keep up the good work.

  • @AnasHawasli
    @AnasHawasli Před 2 měsíci

    Dude you are a very good teacher thank you so much for all the content

  • @jahidalislamrizvee5673
    @jahidalislamrizvee5673 Před rokem +2

    Really helpful tutorial....🖤

  • @ehabquran
    @ehabquran Před 5 měsíci

    regarding my previous question (s there an auto complete for ros2 as well?); I've set ros environment/work-space using conda since i've installed it on an m1 mac?

  • @LearnerForstud
    @LearnerForstud Před rokem +2

    very good, thank you for your tutorials, lessons
    what program do you use for split terminal??

  • @ehabquran
    @ehabquran Před 5 měsíci

    Hi, I'm newbie :)
    is there an auto complete for ros2 as well?

  • @federicoosti2795
    @federicoosti2795 Před 8 měsíci

    Hi!
    That's an awesome tutorial series. However I have created multiple workspaces, but as I have deleted them, when I open a new terminal an error shows that the local_setup.bash was not found. How do I properly delete a workspace folder? Thank you very much!

    • @RoboticsBackEnd
      @RoboticsBackEnd  Před 8 měsíci

      Make sure that you also remove the line to source the workspace in the .bashrc :)

    • @fnhm_
      @fnhm_ Před měsícem

      @@RoboticsBackEnd Why howewer we need to add these lines for custom ros nodes while the nodes in turtle package can work without it?

  • @kin_1997
    @kin_1997 Před 10 měsíci +1

    how do you split terminal like that :D

    • @kin_1997
      @kin_1997 Před 10 měsíci +2

      nvm its Terminator tool

  • @yaraosama7573
    @yaraosama7573 Před 11 měsíci

    It says unable to locate python3 -colcon-common-extensions
    What should I do ?

    • @RoboticsBackEnd
      @RoboticsBackEnd  Před 11 měsíci

      Make sure you wrote the line correctly, could be a typo. If not, then make sure you have an internet connection from the machine where you run the line.

  • @EkfriedKinzoun-ik7td
    @EkfriedKinzoun-ik7td Před 3 měsíci

    what terminal are you use ?

  • @mahboobalam8988
    @mahboobalam8988 Před rokem

    yesterday i purchage your same course from udemy but i got error and my debited 🥺

    • @RoboticsBackEnd
      @RoboticsBackEnd  Před rokem +1

      Thanks! If you have any issue with payment for the course, please reach out to Udemy support. As an instructor I have zero control over this.

  • @mahboobalam8988
    @mahboobalam8988 Před rokem

    bash: /opt/ros/humble/setup.bash: No such file or directory
    I'm getting this error
    anyone please help

    • @RoboticsBackEnd
      @RoboticsBackEnd  Před rokem +1

      Make sure you have this exact line:
      source /opt/ros/humble/setup.bash
      And redo the installation steps before, maybe the installation was not done correctly

    • @SarkarAniruddha
      @SarkarAniruddha Před 9 měsíci

      @@RoboticsBackEndI am facing a trouble. When I type source .bashrc it is saying no such file or directory. Any solution??

    • @ammaarkhan1856
      @ammaarkhan1856 Před 9 měsíci +2

      @@SarkarAniruddha make sure you are in root folder when you run only 'source .bashrc'. otherwise use from any folder in terminal: 'source ~/.bashrc'.

    • @SarkarAniruddha
      @SarkarAniruddha Před 9 měsíci

      @@ammaarkhan1856hey thanks for the reply! I fixed the issue sometimes ago. Thanks a lot again!

    • @tuanphammanh7122
      @tuanphammanh7122 Před 6 měsíci +1

      @@SarkarAniruddha I still have it how you solve it man?