Giter Site home page Giter Site logo

Comments (3)

dirk-thomas avatar dirk-thomas commented on September 6, 2024

Do we require the middleware to conform to some kind of type name standard? Where is that documented?

Currently the bridge relies on the type names to match what we use in all current implementations. It is not documented explicitly - only implicitly in the .msg to .idl generator (namespaces, struct). All rmw impl. use the same typename pattern in order to be able to interoperate:

It should certainly be mentioned in the design doc.

If you have a generated reply topic type that lacks the '::' dynamic bridge crashes (because t.rfind("::") returns npos, but this is not handled).

The fact that the bridge crashed when a typename doesn't comply is certainly not intended but a bug. Please see #66 which should catch this case and at least prevent the crash. It would be great if you could try the patch and comment if it prevents the crash in your case.

from ros1_bridge.

mikaelarguedas avatar mikaelarguedas commented on September 6, 2024

@dirk-thomas what is the action item here? documenting the type naming pattern in the design doc? or is there something that should be done in this repo?

from ros1_bridge.

dirk-thomas avatar dirk-thomas commented on September 6, 2024

Yes, documenting the type naming pattern somewhere. Nothing needs to happen in this repo imo.

from ros1_bridge.

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.