bag2matlab-master

所属分类:人工智能/神经网络/深度学习
开发工具:LINUX
文件大小:23KB
下载次数:2
上传日期:2018-10-15 22:06:18
上 传 者wonkeun youn
说明:  ROS bag convert to mat

文件列表:
LICENSE (18046, 2016-10-20)
bagInfo.m (3274, 2016-10-20)
bagReader.m (11379, 2016-10-20)
combineTimes.m (2328, 2016-10-20)
flattenTable.m (2610, 2016-10-20)
matlab_bag_helper.py (5565, 2016-10-20)
py2Matlab.m (5046, 2016-10-20)
rosImageToMatlab.m (2412, 2016-10-20)
setupEnv.m (5469, 2016-10-20)

# bag2matlab This repo has Matlab and Python code for reading data from a ROS bag file directly into a Matlab workspace. See the documentation for bagReader.m and bagInfo.m for information on how to use the code. This requires Matlab and ROS to run. Tested with ROS Kinetic Kame, Matlab R2015b, and R2016b. The bagReader() Matlab script reads all data from a bag for a given topic. Simply call bagReader.m with the bag name and the topic to read to get all of the data from that topic as a table. For example, bagReader('flight.bag', '/uav/pose') will read all of the data published on the '/uav/pose' topic that is stored within 'flight.bag'. bagInfo() returns the names and types of all the topics in a bag. For example: bagInfo('flight.bag') will return two cell arrays, one with the topic names, and the other with the corresponding types. For convenience, there is also a Matlab function for converting ROS images from sensor_msgs/Image messages to a representation Matlab can understand. This functionality is in rosImageToMatlab.m. Currently, only mono8 and bgr8 conversions are supported.

近期下载者

相关文件


收藏者