Giter Site home page Giter Site logo

webots_ros2_spot's People

Contributors

meteoritenmax avatar mstuettgen avatar skpawar1305 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

webots_ros2_spot's Issues

Cannot locate rosdep definition for [spot_msg_interface]

Problem

I have tried installing the webot_spot requirements as described here.

However, after running the ansible script and running colcon build --symlink-install i get the following output:

Starting >>> webots_spot_msgs
Starting >>> webots_spot_teleop
/home/user/.local/lib/python3.10/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
  warnings.warn(
/home/user/.local/lib/python3.10/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead
  warnings.warn(
--- stderr: webots_spot_msgs                                                                 
CMake Error at /opt/ros/humble/share/rosidl_cmake/cmake/rosidl_write_generator_arguments.cmake:44 (message):
  rosidl_write_generator_arguments() called with unused arguments:
  INCLUDE_PATHS;action_msgs:/opt/ros/humble/share/action_msgs;builtin_interfaces:/opt/ros/humble/share/builtin_interfaces;unique_identifier_msgs:/opt/ros/humble/share/unique_identifier_msgs
Call Stack (most recent call first):
  /opt/ros/rolling/share/rosidl_generator_type_description/cmake/rosidl_generator_type_description_generate_interfaces.cmake:57 (rosidl_write_generator_arguments)
  /opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)
  /opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:286 (ament_execute_extensions)
  CMakeLists.txt:25 (rosidl_generate_interfaces)


---
Failed   <<< webots_spot_msgs [0.76s, exited with code 1]
Aborted  <<< webots_spot_teleop [0.80s]                     

Summary: 0 packages finished [1.40s]
  1 package failed: webots_spot_msgs
  1 package aborted: webots_spot_teleop
  2 packages had stderr output: webots_spot_msgs webots_spot_teleop
  1 package not processed

Which made me think the webots_spot_msgs package might be faulty.
I ran the install instructions found in the README.md, but get the following output:

$ rosdep install --ignore-src --from-paths src -y -r
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
webots_spot_teleop: Cannot locate rosdep definition for [spot_msg_interface]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

I am using Ubuntu 22.04 btw.

Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

Is something broken or am I missing something?

Issues with building and rosdep

When build with colcon I get this error. I'm following the instructions exactly and using the correct versions of ubuntu and
ros2. Not sure what I'm doing wrong or if there's an issue with the installation guide. Thanks can't wait to get this working.

I'm also getting another error when running rosdep:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
webots_spot: Cannot locate rosdep definition for [robot_state_publisher]

Finished <<< webots_ros2_importer [2.42s]
--- stderr: webots_spot_msgs
CMake Error at CMakeLists.txt:19 (find_package):
By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ament_cmake", but CMake did not find one.

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

ament_cmakeConfig.cmake
ament_cmake-config.cmake

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

Can't copy 'launch/rtabmap_launch.py': doesn't exist or not a regular file

While following the instructions for install, when I run colcon build --symlink-install I get the following output:

--- stderr: webots_spot
/usr/local/lib/python3.10/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
  warnings.warn(
/usr/local/lib/python3.10/dist-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
error: can't copy 'launch/rtabmap_launch.py': doesn't exist or not a regular file
---
Failed   <<< webots_spot [1.99s, exited with code 1]

As the error says, this file doesn't seem to exist. It was removed in commit 61fee3f. I was unable to determine where this requirement comes from, as setup.py looks for "launch/*_launch.py", which should not include non-existent files.

This is with ROS Humble on Ubuntu 22.04.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.