Skip to content

Load a message or request from a yaml file (or standard input) #842

@ymd-stella

Description

@ymd-stella

Feature request

Feature description

I want to load a message/request from a yaml file, not from the command line. The benefits of this would be similar to #753.

Targets are

  • ros2 topic pub
  • ros2 service call
  • ros2 action send_goal

In my opinion, it would be neat to be able to do the following

cat foo.yaml | ros2 topic pub <topic_name> <msg_type>

Implementation considerations

This maybe conflicts with the functionality of #753. Similar functionality may be achieved with cat foo.yaml | vipe | tee foo.yaml | ros2 topic pub <topic_name> <msg_type>.

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