Giter Club home page Giter Club logo

Comments (4)

jsbruglie avatar jsbruglie commented on July 30, 2024 1

These functions are not exactly provided by Gazebo, but automatically generated by the Protobuf compiler from the .proto message. Essentially depending on the type of data field, you get different ways to change it. I think this may be useful to help understand which functions are created for different types of fields.
In any case, if you have compiled Gazebo from source you can see the generated .pb.h headers for each message type in the build/gazebo/msgs directory.

from gap.

Guptajakala avatar Guptajakala commented on July 30, 2024 1

Cooooooooool! This is great to know. Thanks!

from gap.

jsbruglie avatar jsbruglie commented on July 30, 2024

Thank you!

The contents of the Visual message are documented here, although .proto are not really supported by Doxygen, so usually looking directly at the code is usually more helpful. It doesn't really tell you which functions are implemented for adding or removing fields, but it is standard across Protobuf messages.

If instead you mean where did I find out that Gazebo listens to ~/visual topic and what it does with these messages, I'd say I was looking at the source and found this, specifically the Scene::ProcessVisualMsg function.

from gap.

Guptajakala avatar Guptajakala commented on July 30, 2024

Thank you for your timely response!
I found .proto file once but there is no member functions related. I only shows the member variables. I found you are using function mutable_material()
That's so brilliant and I wonder if there is any place to know other similar member functions?

from gap.

Related Issues (11)

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.