Code Monkey home page Code Monkey logo

ros_workspace's Introduction

ros_workspace's People

Contributors

audrow avatar cottsay avatar dirk-thomas avatar jacobperron avatar mikaelarguedas avatar mjcarroll avatar nuclearsandwich avatar seanyen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

ros_workspace's Issues

Providing default environment hooks for third party packages

Currently, there are a number of packages in ROS 2 which are built from sources outside our control. These packages still install themselves into the ROS prefix (/opt/ros/$ROS_DISTRO/) but don't provide any environment hooks to ensure that their executables are put onto PATH and their libraries are added to LD_LIBRARY_PATH, or other platform equivalents.

To overcome this issue for debian packages in early releases of ROS 2, this workspace package added some environment hooks unconditionally putting the necessary paths on LD_LIBRARY_PATH.

Packages benefiting from these hooks in ROS 2 bouncy (packages which have shared libraries in /opt/ros/bouncy/lib but no environment hook setting up the library path for themselves)

  • ros-bouncy-console-bridge
  • ros-bouncy-examples-rclcpp-minimal-composition
  • ros-bouncy-fastcdr
  • ros-bouncy-fastrtps
  • ros-bouncy-orocos-kdl
  • ros-bouncy-osrf-testing-tools-cpp
  • ros-bouncy-rclpy
  • ros-bouncy-resource-retriever
  • ros-bouncy-rviz-common
  • ros-bouncy-rviz-default-plugins
  • ros-bouncy-rviz-rendering
  • ros-bouncy-urdfdom

Some of these packages are ours and we should determine whether setting hooks for them is needed.

A number of packages that have needed this treatment are moving into _vendor packages which would potentially be a better home for these hooks.

For the remaining packages and future packages that can't provide their own hooks, is it worth populating the workspace with hooks for the default executable and binary paths so that no matter what further packages are installed the ROS prefix is usable?

Missing runtime deps on python3?

Hi,
If I understood properly, this package takes care of installing the /opt/ros/distro/(local_)setup.xx scripts. These files template are located in the ament_package and are specialized during build by a ament_cmake_core script. Both of those packages are build dependencies.

Now, the /opt/ros/distro/(local_)setup.xx scripts make use of the Python3 interpreter (see here and onward) which isn't an exec-dep and may very well not be installed resulting in,

/usr/bin/env: ‘python3’: No such file or directory
error: unable to find fallback python3 executable

The latter message coming from the local_setup.xx script.

So, shouldn't this package have an <exec_depend>python3</exec_depend>?

missing depends: ros_environment

Steps to reproduce the issue:

apt-cache show ros-foxy-ros-workspace | grep-dctrl --no-field-names --show-field=Depends --field=Depends 'ros-foxy-ros-environment'

Expected behavior:

ros-foxy-ros-workspace has ros-foxy-ros-environment in its Depends.

Actual behavior:

ros-foxy-ros-workspace does not have ros-foxy-ros-environment in its Depends.

Additional information:

https://github.com/ros2-gbp/ros_workspace-release/blob/debian/foxy/focal/ros_workspace/debian/control

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.