Coder Social home page Coder Social logo

migrating a Sensor plugin about gz-sim HOT 2 OPEN

gazebosim avatar gazebosim commented on May 24, 2024
migrating a Sensor plugin

from gz-sim.

Comments (2)

osrf-migration avatar osrf-migration commented on May 24, 2024

Original comment by Felipe Inostroza (Bitbucket: Felipe Inostroza).


  • Edited issue description

from gz-sim.

chapulina avatar chapulina commented on May 24, 2024

From the migration tutorial it says that this should be a “standalone program"

I believe you're referring to this tutorial, right? What that means is that the main way to get sensor data at the moment is by subscribing to sensor messages from any executable. Here's a subscriber example.

Sorry if this is not the place to ask questions but I cant find where that would be.

Usually questions should go to https://answers.gazebosim.org, but I think you raise a good point about a missing feature, so let's keep this issue alive.

I am trying to migrate a sensor plug-in that: Takes sensor output from a gpulidar, and filters (removes) some of the points.

You can do that with the executable that I linked above. But there are some caveats:

  • If you're applying noise to the data, you can only get the post-noise data.
  • You can only get the data asynchronously. This can complicate things if timing is very important to your application.

The team has discussed the possibility of exposing sensor data through components so that systems could access it synchronously and before noise. For that to work, we may need some new APIs on ign-sensors.

I'll leave this issue open until we address the 2 caveats above. The implementation may be through components as suggested or some other way.

from gz-sim.

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.