GithubHelp home page GithubHelp logo

Comments (3)

clalancette avatar clalancette commented on August 16, 2024 4

After talking about this in Waffle, we decided that we should probably change this to disabled instead of off to avoid the problem. I'll submit a PR in the future to do that.

from demos.

clalancette avatar clalancette commented on August 16, 2024

I have to disagree with this one. The underlying data structures use the terminology off, metadata, content, so I think this demo should use the same thing.

This issue isn't specific to this demo; basically any value that YAML considers to be "false" will be considered a boolean.

As @jacobperron pointed out, there are actually a couple of different workarounds for this. One is to quote it:

ros2 param set /introspection_client client_configure_introspection \"off\"

Another option is to use the explicit string configuration from YAML:

ros2 param set /introspection_client client_configure_introspection '!!str off'

Maybe we should just make this explicit in the test case instead?

from demos.

jacobperron avatar jacobperron commented on August 16, 2024

Yeah, it would be nice to use the same terminology. I'm torn, since it would be nice to avoid this quirk of the demo. I suppose it's not a big deal since it's just a demo.

If someone wanted to make this feature configurable during runtime (like the demo) in their own application (or as part of the core ROS implementation), what could we suggest? It seems like "off" might be a poor name choice given how integrated YAML is in ROS.

from demos.

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.