MYNT-EYE-S-SDK/tools
2019-02-28 14:56:18 +08:00
..
analytics fix(tools): compatible avatar and s 2019-01-15 19:35:42 +08:00
checksum Update md5sum.sh 2018-05-16 16:56:02 +08:00
config/mynteye Update default topics 2018-06-07 12:45:23 +08:00
dataset fix(dataset): fix record bug 2019-01-14 18:55:53 +08:00
internal/data Split accel & gyro stamp analytics 2018-08-14 10:17:33 +08:00
linter@1c7828bedb Upgrade analytics tools with mynteye dataset 2018-04-15 21:32:14 +08:00
writer feat(*): add function to querry some hardware info 2019-02-28 14:56:18 +08:00
CMakeLists.txt Add miniglog 2018-11-16 16:30:13 +08:00
README.md docs(readme): modified temp to temperature 2019-01-15 16:49:08 +08:00
requirements.txt Update tools requirements 2018-06-02 16:43:48 +08:00

Tools for MYNT® EYE cameras

Prerequisites

OpenCV,

# Linux, macOS
export OpenCV_DIR=~/opencv

# Windows
set OpenCV_DIR=C:\opencv

Python packages,

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

ROS if using rosbag.

Build

cd <sdk>
make tools

Record data (mynteye dataset)

./tools/_output/bin/dataset/record

# Windows
.\tools\_output\bin\dataset\record.bat

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/image_raw /mynteye/imu/data_raw /mynteye/temperature/data_raw

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

# Windows
.\tools\_output\bin\writer\device_info_writer.bat tools\writer\config\device.info

img_params_writer.cc

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

# Windows
.\tools\_output\bin\writer\img_params_writer.bat tools\writer\config\img.params

imu_params_writer.cc

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

# Windows
.\tools\_output\bin\writer\imu_params_writer.bat tools\writer\config\imu.params

save_all_infos.cc

./tools/_output/bin/writer/save_all_infos

# Windows
.\tools\_output\bin\writer\save_all_infos.bat

Checksum

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