Skip to content

Proposal - sensor_msgs/msg/Contact.msgΒ #286

@BartlomiejK2

Description

@BartlomiejK2

Description

Simple message for contact sensors, that defines if contact between sensor and some unknown object was detected.

Motivation

I could not find simple message that defines whether there is contact between some defined sensor and other undefined object/objects. Messages like /ros_gz_interfaces/msg/Contact.msg are too complicated and simulator specific for simple contact detection. For contact sensor with force and torque readings geometry_msgs/WrenchStamped.msg would be enough.

Design / Implementation Considerations

# This is a message to hold data from simple contact

std_msgs/Header header      # timestamp is the time the contact was measured
                                        # frame_id is the location of the contact sensor


bool contact                # True if there is contact

Additional Information

I believe that this message could be used for creating future hardware interfaces and broadcasters for ros2_control framework. It also would be helpful for fields where contact sensors are widely used, such as legged robotics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededin progressActively being worked on (Kanban column)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions