How to log Data with Raspberry Pi and ROS

2 views (last 30 days)
Dear Sir or Madam,
I am using Raspberry Pi 3, Matlab2018b and the ROS Toolbox to perform a mapping task. So the Model is running in the ROS environment.
With a 'To Workspace Block' I want to save data as a 'Structure With Time' on the Raspberry Pi while running my model on the Raspberry Pi.
I enabled MAT-file logging and I can find a <model_name>.mat file with the signals I am logging on the Raspberry Pi.
But this file only contains only the latest data. And there are no other .mat files. Is there a possibility to log the complite data?
I know I can run Rasberry Pi ROS also in 'external mode' or send the data as ROS Massage or using rosbags.
  1 Comment
MathWorks Robotics and Autonomous Systems Team
It should have been logging the whole time based signal for this, can you confirm the model ran more than 1 time-step?
Also if you have further questions/ issue remains, consider sending detailed information by posing the question to support@mathworks.com

Sign in to comment.

Answers (0)

Categories

Find more on Raspberry Pi Hardware in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!