Git Product home page Git Product logo

Comments (2)

pabloinigoblasco avatar pabloinigoblasco commented on July 30, 2024

Generally, the /opt/ros/foxy directory is reserved for packages installed from Debian repositories. Directly copying or modifying files in /opt/ros/foxy is not standard practice and can lead to complications.

For your specific situation, consider these two alternatives:

  • Overlapping Workspaces: You can source multiple workspaces sequentially in your bash terminal. This approach is useful if you're working with distinct sets of packages, like SMACC and Foxy. By sourcing the setup.bash of each workspace, you effectively overlap them, which allows you to access packages from both. This way, you can load as many workspaces as needed without altering the system's ROS installation. The command would be:
source /path/to/workspace1/install/setup.bash
source /path/to/workspace2/install/setup.bash
  • Building Foxy from Source: Another approach is to build ROS Foxy from source and include the SMACC2 repository within your ROS base workspace. This method creates a complete Foxy workspace containing all the necessary packages, including SMACC2. This approach is more holistic and maintains a clear separation from the system-installed ROS.

However, if you have a specific reason to directly extend or override the contents of /opt/ros/foxy (which is unusual or simply incorrect), you can do so by using Colcon's --install-base option. The command would be:

bash

colcon build --install-base /opt/ros/foxy

Be aware that this might require changing the write permissions of the /opt/ros/foxy folder, which involves administrative privileges and should be done cautiously.

from smacc2.

cagdasyilmaz avatar cagdasyilmaz commented on July 30, 2024

Dear Pablo,

Thank you for your prompt and explanatory response. You have written a well-documented implementation that is a means to an end.

Thanks for everyone who contributed this library.

from smacc2.

Related Issues (20)

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.