En este momento estás viendo error de compilación de colcon en el ejemplo Ros2 Foxy Unity-Robotics-Hub

 – Unity

error de compilación de colcon en el ejemplo Ros2 Foxy Unity-Robotics-Hub – Unity

error de compilación de colcon en el ejemplo Ros2 Foxy Unity-Robotics-Hub

– UnityAssets3Free

bienvenido , me llamo juansito y para hoy os traigo
nueva pregunta

Estoy siguiendo Tutorial de integración de ROS-Unity para ROS2. Copié unity_robotics_demo y unity_robotics_demo_msgs a mi carpeta src de aquí. Al compilar unity_robotics_demo_msgs me da error. Hice source install/setup.bash y colcon build. Error:

CMake Error at CMakeLists.txt:7 (find_package):
  By not providing "Findrosidl_default_generators.cmake" in CMAKE_MODULE_PATH
  this project has asked CMake to find a package configuration file provided
  by "rosidl_default_generators", but CMake did not find one.

  Could not find a package configuration file provided by
  "rosidl_default_generators" with any of the following names:

    rosidl_default_generatorsConfig.cmake
    rosidl_default_generators-config.cmake

  Add the installation prefix of "rosidl_default_generators" to
  CMAKE_PREFIX_PATH or set "rosidl_default_generators_DIR" to a directory
  containing one of the above files.  If "rosidl_default_generators" provides
  a separate development package or SDK, be sure it has been installed.

No sé cómo agregar el prefijo de instalación. En foxy/share hay rosidl_default_generators:

0

nota: si aun no se resuelve tu pregunta por favor dejar un comentario y pronto lo podremos de nuevo , muchas gracias

eso es todo,espero que te halla servido

Deja una respuesta