read.imu {simts} | R Documentation |
Read an IMU Binary File into R
Description
Process binary files within the
Usage
read.imu(file, type, unit = NULL, name = NULL)
Arguments
file |
A |
type |
A |
unit |
A |
name |
A |
Details
Currently supports the following IMUs:
IMAR
LN200
LN200IG
IXSEA
NAVCHIP_INT
NAVCHIP_FLT
Value
An imu
object that contains 3 gyroscopes and 3 accelerometers in that order.
Author(s)
James Balamuta We hope to soon be able to support delimited files.
References
Thanks goes to Philipp Clausen of Labo TOPO, EPFL, Switzerland, topo.epfl.ch, Tel:+41(0)21 693 27 55 for providing a matlab function that reads in IMUs. This function is a heavily modified port of MATLAB code into Armadillo/C++.
Examples
## Not run:
# Relative
setwd("F:/")
a = read.imu(file = "Documents/James/short_test_data.imu", type = "IXSEA")
# Fixed path
b = read.imu(file = "F:/Desktop/short_test_data.imu", type = "IXSEA")
## End(Not run)