Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
Current ROSBAG player support `std_msgs/String` message type only. But ROSBAG objective files could contains messages of different types.
Make a way to easy support messages from different ROS packages like a `std_msgs` or `nav_msgs`.
Current RosbagPlayer is `std_msgs/String` specific. I propose to generalize this code into parametrized by message type function. It should accept list of serialized messages (message type, content, timestamp, topic name) and return `future` that publish messages to ROS namespace.
fn build_player(msg_type: &str, records: Vec) -> Result, Error>
Macros that support message types substitution could be very useful.
Example of usage:
let records = bag.records();
// Build message players and join it in one future
let task = build_players!(
// ROSBAG records
// Supported message types
std_msgs / String,
std_msgs / UInt64,
std_msgs / Byte