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

humanoid_nav_msgs not found while building nao_virtual

asked 2018-02-02 12:14:41 -0500

BoC gravatar image

updated 2018-02-03 01:59:59 -0500

gvdhoorn gravatar image

Hello everyone,

I'm a totally ROS rookie and I have the following problem:

  • It's my aim to simulate Nao in Gazebo using plain ros_control architecture.

See also: ( https://github.com/ros-naoqi/nao_virtual )

  • My procedure:

1) I create a Workspace (catkin workspace)

mkdir -p ~/nao_ws/src
cd ~/nao_ws/src
catkin_init_workspace
cd~/catkin_ws
catkin_make

2) Subsequently:

cd  ~/nao_ws/src
git clone https://github.com/roboticsgroup/roboticsgroup_gazebo_plugins.git
git clone https://github.com/pal-robotics/pal_msgs.git
git clone https://github.com/pal-robotics/pal_gazebo_plugins.git
catkin_make

catkin_make command produced the following error:

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "humanoid_nav_msgs"
  with any of the following names:

    humanoid_nav_msgsConfig.cmake
    humanoid_nav_msgs-config.cmake

  Add the installation prefix of "humanoid_nav_msgs" to CMAKE_PREFIX_PATH or
  set "humanoid_nav_msgs_DIR" to a directory containing one of the above
  files.  If "humanoid_nav_msgs" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  pal_msgs/pal_walking_msgs/CMakeLists.txt:4 (find_package)


-- Could not find the required component 'humanoid_nav_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "humanoid_nav_msgs"
  with any of the following names:

    humanoid_nav_msgsConfig.cmake
    humanoid_nav_msgs-config.cmake

  Add the installation prefix of "humanoid_nav_msgs" to CMAKE_PREFIX_PATH or
  set "humanoid_nav_msgs_DIR" to a directory containing one of the above
  files.  If "humanoid_nav_msgs" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  pal_msgs/pal_walking_msgs/CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/name/nao_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/name/nao_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

My Ubuntu version: 14.04 (Indigo)

Can anybody help me further?

Many thanks and best regards

edit retag flag offensive close merge delete

Comments

Do you have the humanoid_nav_msgs package?

jayess gravatar image jayess  ( 2018-02-02 17:18:02 -0500 )edit

@BoC: I've changed the title of your question, as your problem does not seem to be with "simulating nao in gazebo using plain ros_control". At least not yet. The problem is getting the packages to compile.

gvdhoorn gravatar image gvdhoorn  ( 2018-02-03 02:00:54 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2018-02-03 01:58:38 -0500

gvdhoorn gravatar image

updated 2018-02-03 01:59:06 -0500

The readme in the repository you link seems to be slightly incomplete.

Unless the packages you cloned to your workspace are completely stand-alone / self-sufficient (which almost no pkg is, as reuse is one of the corner stones of ROS), you'll have to make sure that you have all dependencies of those packages installed on your system as well.

ROS has a tool for that, called rosdep. See #q215059 for an explanation why ROS introduced a 'new tool', and see #q252478 that uses the tool in an example workflow that builds a pkg cloned from a repository.

edit flag offensive delete link more

Comments

As these dependencies are not needed by this package anymore, a PR has been opened to update the readme accordingly https://github.com/ros-naoqi/nao_virt...

marguedas gravatar image marguedas  ( 2018-02-24 02:49:12 -0500 )edit
0

answered 2018-02-02 14:19:24 -0500

jayess gravatar image

It looks like you're running catkin_make from the ~/nao_ws/src directory instead of the ~/nao_ws directory. You always run catkin_make from the ~/nao_ws directory. Run it from there and see if it works.

edit flag offensive delete link more

Comments

Thank you for your reply. Running catkin_make from the ~/nao_ws directory produces the same error.

BoC gravatar image BoC  ( 2018-02-02 15:45:38 -0500 )edit

Question Tools

Stats

Asked: 2018-02-02 12:14:41 -0500

Seen: 918 times

Last updated: Feb 03 '18