There appears to only be a rosbagwriter function for ROS log files but not ROS2 log files:
Does anyone know if you can use the rosbagwriter function to generator a log of ROS2 messages? If not, is there going to be a forthcoming ros2bagwriter function in a coming Matlab release? Thanks.

1 Comment

Nobody can usually tell you if there will be any specific code writtten to appear in a later release. If they do know, then they would be under a non-disclosure agreement. If they don't know, well, they don't know.

Sign in to comment.

 Accepted Answer

Michael
Michael on 14 Jun 2022

0 votes

I appears as though this wasn't supported for R2022a, but the prerelease of R2022b has a new function ros2bagwriter object: https://www.mathworks.com/help/releases/R2022b/ros/ref/ros2bagwriter.html

More Answers (0)

Products

Release

R2021a

Tags

Asked:

on 11 May 2022

Answered:

on 14 Jun 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!