Code Monkey home page Code Monkey logo

Comments (2)

peci1 avatar peci1 commented on August 16, 2024

In my view, they are not semantically the same. They might be mathematically the same (or very similar), but the semantics differ.

The general policy in ROS is to have separate message definition if they carry a semantically different information (even if the data structure would be the same). See e.g. Point vs. Vector3 types.

Pose is (from msg definition) "pose in free space". It does not specify the pose of what kind of object.

Transform is "transform between two coordinate frames". Here it does specify that you should only apply it to coordinate frames.

The difference is nicely visible in the stamped variants of the messages. TransformStamped has the child_frame_id field, because it knows it specifies the tf between two tf frames. PoseStamped has nothing like that - it is just a generic pose of "something" in the given frame.

from common_msgs.

tfoote avatar tfoote commented on August 16, 2024

Yes they are differentiated due to the semantic differences highlighed by @peci1 above.

Also there was a long thread on it recently at ros2/common_interfaces#152

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.