Learn R Programming

simts (version 0.2.2)

create_imu: Internal IMU Object Construction

Description

Internal quick build for imu object.

Usage

create_imu(
  data,
  ngyros,
  nacces,
  axis,
  freq,
  unit = NULL,
  name = NULL,
  stype = NULL
)

Value

An imu object class.

Arguments

data

A matrix with dimensions N x length(index)

ngyros

An integer containing the number of gyroscopes

nacces

An integer containing the number of accelerometers

axis

A vector unique representation of elements e.g. x,y,z or x,y or x.

freq

An integer that provides the frequency for the data.

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.

stype

A string that describes the sensor type. Default value is NULL.

Author

James Balamuta