Open 5730289021-NN opened 1 month ago
I just tested this and it works well for my use case, the ability to specify stamped/unstamped for each input and output separately is really helpful for incremental migration of components!
hey @5730289021-NN , great PR! I've merged #50 this morning as a first step toward TwistStamped support but I think it'd be useful to incorporate your PR as well.
First, I'd like to state for the record that a simple launch file example is one that isn't written in Python ;)
I'd like to soon change things such that the default would be to use stamped messages and opt-in for non-stamped. With merging #50 I caused a lot of conflicts on this PR... would you mind rebasing please?
@bmagyar I've squashed my commits and rebased on top of the upstream. Note: For those who would like to check the original commits, they can check them out here: https://github.com/FIBO-Engineer/twist_mux/tree/stamped-support-backup
This PR provides the versatile way for one who'd like to select whether each inputs or output should be stamped. It is similar to https://github.com/ros-teleop/twist_mux/pull/50
For input, if you'd like to subscribe to a stamped topic, you can define via
stamped
In this YAML config file,
joystick
will subscribe togeometry_msgs::Twist
topic andnavigation
will subscribe togeometry_msgs::TwistStamped
topic, seestamped
For output,
output_stamped
parameter is used to define whether you'd like to output stamped topic. A lean version of a launch file would probably be