Skip to content

Strange location of recorder and player executables #1736

@Timple

Description

@Timple

Description

We can run the recorder as a node by:

ros2 run rosbag2_transport recorder

This cannot be guessed but has to be reverse engineered from code.

Expected Behavior

ros2 run rosbag2 recorder

or

ros2 run ros2bag recorder

Actual Behavior

Type ros2 run rosbag2 and try tab-complete, this fails

To Reproduce

These templates are getting rediculous.

System

Jazzy

Additional context

Yes, there the commanline cli of course. But in launchfiles this:

<node name="rosbag_operational" pkg="rosbag2" exec="recorder" />

Looks much better than

<executable cmd="ros2 bag record --node-name rosbag_operational"/>

As it's consistent with other stuff, better passes ros arguments etc. Also node renaming and remapping is much better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions