read.imu: Read an IMU Binary File into R

Description Usage Arguments Details Value References Examples

Description

Process binary files within the

Usage

1

Arguments

file

A string containing file names or paths.

type

A string that contains a supported IMU type given below.

unit

A string that contains the unit expression of the frequency. Default value is NULL.

name

A string that provides an identifier to the data. Default value is NULL.

Details

Currently supports the following IMUs:

We hope to soon be able to support delimited files.

Value

An imu object that contains 3 gyroscopes and 3 accelerometers in that order.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

gmwm documentation built on April 14, 2017, 4:38 p.m.