value: Obtain the value of an object's properties

View source: R/utilities.R

valueR 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)

  • value(imu): Access imu object properties

Author(s)

James Balamuta


simts documentation built on Aug. 31, 2023, 5:07 p.m.