Giter Site home page Giter Site logo

Comments (9)

traversaro avatar traversaro commented on July 30, 2024 2

I think the current solution is not ideal for two reason:

I think both issues can be avoided if instead of using:

./manageFWrobot.py -n $ROBOT_CODE/robots-configuration/$YARP_ROBOT_NAME/network.$YARP_ROBOT_NAME.xml -f ../info/firmware.info.xml -p all -a info | tee ../logs/log.of.FirmwareUpdater.$YARP_ROBOT_NAME.info.all.txt

we use the yarp resource utility to find the file, i.e

./manageFWrobot.py -n `yarp resource --from network.$YARP_ROBOT_NAME.xml` -f ../info/firmware.info.xml -p all -a info | tee ../logs/log.of.FirmwareUpdater.$YARP_ROBOT_NAME.info.all.txt

this will work fine both manual and superbuild installation, and will use the installed version of the files instead of the source one (so it will work even if we switch to use binaries in the future).

from icub-firmware-build.

traversaro avatar traversaro commented on July 30, 2024 1

Note that

We usually install robots-configuration as part of the superbuild, so our path is $ROBOTOLOGY_SUPERBUILD_DIR/src/robots-configuration.

Note that since iCubWaterloo01/SN44, the iCubs that come out from the "production" also use the superbuild, so this is a problem that affects also those robots.

from icub-firmware-build.

GiulioRomualdi avatar GiulioRomualdi commented on July 30, 2024

I just noticed that I should open it in icub-firmware-build.

from icub-firmware-build.

GiulioRomualdi avatar GiulioRomualdi commented on July 30, 2024

If you tell me what you prefer I can open a PR. Should I close this issue and open a new one in icub-firmware-build?

from icub-firmware-build.

traversaro avatar traversaro commented on July 30, 2024

I just noticed that I should open it in icub-firmware-build.

I transferred the issue there.

from icub-firmware-build.

marcoaccame avatar marcoaccame commented on July 30, 2024

./manageFWrobot.py -n yarp resource --from network.$YARP_ROBOT_NAME.xml

seems a good solution by me.

from icub-firmware-build.

traversaro avatar traversaro commented on July 30, 2024

Given #21, probably we can close this issue @GiulioRomualdi ?

from icub-firmware-build.

GiulioRomualdi avatar GiulioRomualdi commented on July 30, 2024

Yes!

from icub-firmware-build.

traversaro avatar traversaro commented on July 30, 2024

Note that probably yarp resource now also prints [DEBUG] messages so it is not suitable anymore to do this, but that is another story.

from icub-firmware-build.

Related Issues (12)

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.