Giter Club home page Giter Club logo

Comments (2)

Sanic avatar Sanic commented on May 31, 2024

Hi!

That's a very interesting point that also hit me when building ROSIntegrationVision. There, i directly included the conversion while publishing tf. In that case, it's necessary to convert the coordinates between the tf tree has to be constructed properly.
For general Vectors and Quaternions i would be a bit more defensive, as people might use Vectors for all kinds of stuff, and not always to explicity describe an (absolute) location in the world. I'm also with you on your con "might lead to confusion about what the messages do in the background".

I would propose that one should be able to supply a flag for every instantiation of a message/service which enables the conversion everytime a message is processed (given, the message/service handles coordinates).
What do you (and others looking here) think of that?

from rosintegration.

jteuber avatar jteuber commented on May 31, 2024

A flag for the messages/services sounds like a good idea, then it can also be backward compatible. The problem might be, that that flag needs to be implemented in at least all messages that use Vector3 and Quaternion and be passed down. Seems to me like a lot has to be changed for that to work. Also, how does the topic know into what coordinate system it should interpret the incoming messages?

Maybe another option would be to have a flag in the topics, passed down to the converters which make sure that they convert incoming messages from the ROS-side to Unreal coordinates and vice versa. That would still need a lot of changes though.

from rosintegration.

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.