[Documentation] [TitleIndex] [WordIndex

This page is a place to collect information about how to use ROS in conjunction with other popular systems such as Matlab, LabView, or SciPy. See this thread on ros-users.

Matlab

Runtime

The IPC-bridge package allows for publishing and subscribing to topics within Matlab.

Post-processing

rostopic echo

The rostopic echo command with the -p option produces tabular output that can be imported into Matlab/Octave.

bag2mat

The bag2mat.py script in starmac_tools produces a Matlab (binary, version 5) .mat file from a bag file input.

NumPy/SciPy

Runtime

For ad-hoc, interactive tasks, rosh is handy. For code that will become part of a library or a node, using rospy more directly might work better.

Tutorial on rospy + numpy

Post-processing

The rosbag Python API can be used to access data in bagfiles. See, e.g., rosbag/Cookbook for some examples.

For quick access to bagged topics as timeseries, the BagLoader class in starmac_tools might be helpful.

LabView

Some discussion is at http://answers.ros.org/question/522.


2017-10-21 12:18