value {simts}R Documentation

Obtain the value of an object's properties

Description

Used to access different properties of the gts, imu, or lts object.

Usage

value(x, type)

## S3 method for class 'imu'
value(x, type)

Arguments

x

A gts, imu, or lts object.

type

A string indicating the field to be retrieved.

Details

To access information about imu properties use:

"accel"

Returns the number of accelerometers

"gyro"

Returns the number of gyroscopes

"sensors"

Returns total number of sensors

Value

The method will return a single numeric or string result depending on the slot being accessed.

Methods (by class)

Author(s)

James Balamuta


[Package simts version 0.2.2 Index]