Difference between revisions of "MATLAB code"
Jump to navigation
Jump to search
(Created page with " = Introduction = There are currently 4 robots in the robotrainer family: * '''RoboTrainer CLASSIC''' ** The very first version of the robotrainer. Uses a motor from an ‘El...") |
|||
Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
+ | Training Technology Lab uses MATLAB for most data processing and visualization purposes. | ||
+ | Several scripts have been written to work with our various technology. | ||
+ | Here is a list of the following scripts: | ||
+ | |||
+ | * Rosbag extraction | ||
+ | ** Rosbag loader | ||
+ | ** Rosbag plotter | ||
+ | ** Rosbag video | ||
+ | |||
+ | == Rosbag extraction == | ||
+ | For viewing video stored in a .bag file, [http://wiki.ros.org/rqt_bag rqt_bag] is the standard tool. | ||
+ | For extracting video | ||
+ | |||
+ | === Rosbag loader === | ||
+ | Converts .bag files into .mat files. Must be done before using the other 2 scripts | ||
+ | === Rosbag plotter === | ||
+ | automatically plots known data formats) | ||
+ | === Rosbag video === | ||
+ | automatically converts rosbags into .avi files with data plot overlays. | ||
+ | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= FAQ/Debugging = | = FAQ/Debugging = | ||
Line 16: | Line 27: | ||
=== ROS: use IP address instead of hostname === | === ROS: use IP address instead of hostname === | ||
− | |||
− |
Revision as of 10:59, 9 August 2019
Contents
Introduction
Training Technology Lab uses MATLAB for most data processing and visualization purposes. Several scripts have been written to work with our various technology. Here is a list of the following scripts:
- Rosbag extraction
- Rosbag loader
- Rosbag plotter
- Rosbag video
Rosbag extraction
For viewing video stored in a .bag file, rqt_bag is the standard tool. For extracting video
Rosbag loader
Converts .bag files into .mat files. Must be done before using the other 2 scripts
Rosbag plotter
automatically plots known data formats)
Rosbag video
automatically converts rosbags into .avi files with data plot overlays.
FAQ/Debugging
This sections relates to all common problems with the software.