MYNT-EYE-S-SDK/tools
2018-04-21 22:05:38 +08:00
..
analytics Upgrade analytics tools with mynteye dataset 2018-04-15 21:32:14 +08:00
checksum Add checksum tools 2018-04-16 12:20:31 +08:00
config/mynteye Upgrade analytics tools with mynteye dataset 2018-04-15 21:32:14 +08:00
dataset Move select device to utils 2018-04-20 12:44:23 +08:00
internal/data Upgrade analytics tools with mynteye dataset 2018-04-15 21:32:14 +08:00
linter@1c7828bedb Upgrade analytics tools with mynteye dataset 2018-04-15 21:32:14 +08:00
writer Save all fields of device info 2018-04-21 22:05:38 +08:00
CMakeLists.txt Add device writer tools 2018-04-21 15:45:33 +08:00
README.md Add device writer tools 2018-04-21 15:45:33 +08:00
requirements.txt Add analytics tools 2018-04-14 21:17:00 +08:00

Tools for MYNT® EYE cameras

Prerequisites

Python packages,

cd <sdk>/tools/
sudo pip install -r requirements.txt

ROS if using rosbag.


Record data (mynteye dataset)

cd <sdk>
make tools
./tools/_output/bin/dataset/record

Analytics data (mynteye dataset)

imu_analytics.py

python tools/analytics/imu_analytics.py -i dataset -c tools/config/mynteye/mynteye_config.yaml \
-al=-1.2,1.2 -gl= -gdu=d -gsu=d -kl=

stamp_analytics.py

python tools/analytics/stamp_analytics.py -i dataset -c tools/config/mynteye/mynteye_config.yaml

Record data (rosbag)

cd <sdk>
make ros
source wrappers/ros/devel/setup.bash
roslaunch mynt_eye_ros_wrapper mynteye.launch
rosbag record -O mynteye.bag /mynteye/left /mynteye/imu /mynteye/temp

Analytics data (rosbag)

imu_analytics.py

python tools/analytics/imu_analytics.py -i mynteye.bag

stamp_analytics.py

python tools/analytics/stamp_analytics.py -i mynteye.bag

Writer

device_info_writer.cc

./tools/_output/bin/writer/device_info_writer tools/writer/config/device.info

img_params_writer.cc

./tools/_output/bin/writer/img_params_writer tools/writer/config/img.params

imu_params_writer.cc

./tools/_output/bin/writer/imu_params_writer tools/writer/config/imu.params

Checksum

./tools/checksum/md5sum.sh <file or directory>