has: Obtain the value of an object's properties
Description
Used to access different properties of the
gts, imu, or lts object.
Usage
has(x, type)# S3 method for imu
has(x, type)
Value
The method will return a single TRUE or FALSE response
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 whether accelerometers have been specified
"gyro"
Returns whether accelerometers have been specified
"sensors"
Returns whether there exists both types of sensors