moveit2_tutorials: Cannot locate rosdep definition for [moveit_hybrid_planning]

asked 2022-05-08 21:40:58 -0600

MahShah gravatar image

updated 2022-05-09 02:16:34 -0600

gvdhoorn gravatar image

i follow step by step getting started of moveit2 in the following address:

link text

after this command rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y

mehdi@mehdi-X456UF:~/ws_moveit2$ rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
moveit2_tutorials: Cannot locate rosdep definition for [moveit_hybrid_planning]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

what is the ERROR and how i can fix it?

edit retag flag offensive close merge delete

Comments

I suspect you've cloned moveit2_tutorials into an incorrect directory in your workspace. Could you ensure that you performed the previous two steps Create A Colcon Workspace and Download Tutorials and Download MoveIt 2 Tutorials Source correctly? You should have

|-- ws_moveit2
|    |-- src
|    |    |-- moveit2_tutorials

and you should be running the rosdep comand in the src directory, as per the tutorial.

ijnek gravatar image ijnek  ( 2022-05-09 01:37:06 -0600 )edit

Looking at the question again, my previous comment is probably incorrect. Do you happen to have ROS2 Foxy installed, but following the galactic tutorial? hybrid_planning seems to not have only been introduced in galactic.

What's the output when you run echo $ROS_DISTRO?

ijnek gravatar image ijnek  ( 2022-05-09 08:04:07 -0600 )edit