ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Hi everyone I am getting started with Nav2 in Ros2 so after installing the nav2 I was trying to build the package..

asked 2022-05-22 13:15:14 -0600

ahmadkhaleel22 gravatar image

updated 2022-11-03 05:15:45 -0600

ljaniec gravatar image

Hi everyone I am getting started with Nav2 in Ros2 so after installing the nav2 I was trying to build the package with this code

git clone https://github.com/ros-planning/navigation2.git --branch <ros2-distro>-devel

If you don't know what I am talking about check this page of nav2 Installation:

when I execute the command above its give me the following error :

ahmad@DESKTOP-QA1ALF1:~/nav2_ws/src$ git clone
https://github.com/ros-planning/navigation2.git --branch galactic-devel 
Cloning into 'navigation2'... fatal: Remote branch
galactic-devel not found in upstream origin
ahmad@DESKTOP-QA1ALF1:~/nav2_ws/src$

Anyone know what should I do ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2022-11-02 17:38:04 -0600

EbtesamO gravatar image

It seems like you didn't write the package name correctly.

It is "galactic" not "galactic-devel"

git clone https://github.com/ros-planning/navig... --branch galactic

edit flag offensive delete link more

Question Tools

Stats

Asked: 2022-05-22 13:15:14 -0600

Seen: 463 times

Last updated: Nov 03 '22