Ros 2 navigation error installation(Rolling distro)

asked 2022-09-12 12:54:54 -0600

chiyaan gravatar image

updated 2022-09-13 06:31:55 -0600

ravijoshi gravatar image

When I execute command,

sudo apt install ros-rolling-navigation2

I get the following error:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-rolling-navigation2
edit retag flag offensive close merge delete

Comments

1

This error can arrive when you do not have GPG keys for packages.ros.org on your system. Can you please follow the installation guide properly and try again? Sometime, if you are behind a firewall (such as using university internet etc.), you may get this error.

ravijoshi gravatar image ravijoshi  ( 2022-09-13 06:37:14 -0600 )edit

Hi @ ravijoshi I will try working on it as you had suggested Thanks a lot

chiyaan gravatar image chiyaan  ( 2022-09-13 18:40:05 -0600 )edit

hi @ ravijoshi, I'm pretty new to Ros 2. I had tried a new installation of ros 2 using binary install. I was able to install gpg keys and also had working talker listener. But again the nav2 problem persists. Also the installation is carried out in a vmware machine

chiyaan gravatar image chiyaan  ( 2022-09-15 16:10:52 -0600 )edit

Sorry to hear. Which OS and version are you using? Nevertheless, I can locate ros-foxy-navigation2 and ros-galactic-navigation2 in my Ubuntu. Please install ROS Galactic (though it should work on ROS Humble too)!

ravijoshi gravatar image ravijoshi  ( 2022-09-16 11:18:22 -0600 )edit

Hi @ ravijoshi, I use ubuntu 22 (Jammy jellyfish) with ros-rolling Thank you for your suggestion and help.

chiyaan gravatar image chiyaan  ( 2022-09-16 11:41:35 -0600 )edit