Code Monkey home page Code Monkey logo

Comments (4)

furushchev avatar furushchev commented on June 29, 2024

Is there any proceeding?
Is it no problem to put into an existing package or make a new package in common_msgs?

from common_msgs.

tfoote avatar tfoote commented on June 29, 2024

Looking at this message I do not see it adding significant value by declaring such a generic datatype without semantic meaning. And without specific meaning there's no point in creating a single line msg file.

A well defined message should stand alone and be interpretable without any other context. For example a LaserScan captures the metadata as well as payload and any program knows what to expect when receiving the message.

A such you could propose setting up voice specific messages which would have meaning for voice recognition. However they should have strong semantic meaning so that the data can be interpreted effectively.

i'm not sure of your exact use cases but I would suggest something like:

VoiceRecognitionCandidates.msg
# This message represents the candidate phrases detected by voice recognition
String [] canidiates

or a more complex datatype

Where it's always known that VoiceRecognitionCandidates are differentiated from

Letter.msg
String [] sentances

Which is simply a collection of sentences. These could both be StringArray but have very different values.

Also when embedding a StringArray would require you to address the subfield using

my_msgs.strings.strings[0]

vs if you use the String [] type it could simply be

my_msg.strings[0]

from common_msgs.

maxbader avatar maxbader commented on June 29, 2024

Hi

I just proposed a generic_msgs pkg (#49) maybe this would also solve your problem.

Greetings

from common_msgs.

tfoote avatar tfoote commented on June 29, 2024

Closing as proposed messages don't have semantic meaning. See parallel discussion in #49.

from common_msgs.

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.