Skip to content

PoseStamped instead of TransformStamped for Cartesian space positions #1

@kschwan

Description

@kschwan

Hi,

I would like to suggest a change to the CRTK specification. I know the following is a breaking change and so may not be accepted because of that.

I propose using the PoseStamped message type for representing "single" (i.e., not a heirarchy of transformations) measurements/commands in Cartesian space. My arguments for doing so:

  • TransformStamped "is mostly used by the tf package".
  • Basically, tools like RViz expect an array with a hierarchy of transforms which gets published by, e.g., robot_state_publisher. Typically not at a very high frequency.
  • TransformStamped has a child_frame_id field, which implies that it "specifies a transform from the header's frame_id to child_frame_id" (again, a hierarchy of transforms). PoseStamped only has a frame_id which makes more sense for representing end-effector poses that are given in, e.g., the robot's base_link frame.
  • PoseStamped is immediately visualizable in RViz, while TransformStamped has to be displayed via. TFDisplay, i.e., updating the view of the whole TF transform heirarchy.

My reason for asking this is that I was looking to implement the CRTK spec in our MOPS surgical system, and here I found a discrepancy.

Thanks for your consideration,
Kim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions