Inherits from NSObject
Declared in PSKDeviceAttitude.h

Overview

stores all sensor information retrieved from the OS

Class Methods

sharedDeviceAttitude

shared device attitude instance

+ (PSKDeviceAttitude *)sharedDeviceAttitude

Discussion

shared device attitude instance

Declared In

PSKDeviceAttitude.h

Instance Methods

attitudeEulerAngles

roll, pitch, yaw calculated manually and put into an PSKVector3

- (PSKVector3 *)attitudeEulerAngles

Discussion

roll, pitch, yaw calculated manually and put into an PSKVector3

Declared In

PSKDeviceAttitude.h

attitudeGravity

- (PSKVector3 *)attitudeGravity

Discussion

Declared In

PSKDeviceAttitude.h

attitudeHeading

the heading extracted from the CMMotion-based attitude

- (float)attitudeHeading

Discussion

the heading extracted from the CMMotion-based attitude

Declared In

PSKDeviceAttitude.h

attitudeMatrix

- (PSKMatrix4x4 *)attitudeMatrix

Discussion

Declared In

PSKDeviceAttitude.h

attitudePitch

the pitch of the device calculated from gravity

- (double)attitudePitch

Discussion

the pitch of the device calculated from gravity

Declared In

PSKDeviceAttitude.h

attitudeRoll

the roll of the device calculated from gravity

- (double)attitudeRoll

Discussion

the roll of the device calculated from gravity

Declared In

PSKDeviceAttitude.h

attitudeTilting

the tilting extracted from the CMMotion-based attitude

- (float)attitudeTilting

Discussion

the tilting extracted from the CMMotion-based attitude

Declared In

PSKDeviceAttitude.h

attitudeYaw

the yaw of the device calculated from magnetometer

- (double)attitudeYaw

Discussion

the yaw of the device calculated from magnetometer

Declared In

PSKDeviceAttitude.h

descriptionForHeading

string describing all heading parameters

- (NSString *)descriptionForHeading

Return Value

string describing all heading parameters

Declared In

PSKDeviceAttitude.h

descriptionForMotion

string describing all motion parameters

- (NSString *)descriptionForMotion

Return Value

string describing all motion parameters

Declared In

PSKDeviceAttitude.h

deviceOrientation

- (UIDeviceOrientation)deviceOrientation

Discussion

Declared In

PSKDeviceAttitude.h

ecefCoordinates

Earth-centered, Earth-fixed coordinates

- (PSKVector3 *)ecefCoordinates

Discussion

Earth-centered, Earth-fixed coordinates

Declared In

PSKDeviceAttitude.h

hasAttitude

- (BOOL)hasAttitude

Discussion

Declared In

PSKDeviceAttitude.h

hasHeading

is heading information available

- (BOOL)hasHeading

Discussion

is heading information available

Declared In

PSKDeviceAttitude.h

hasLocation

hasLocation is a location available

- (BOOL)hasLocation

Discussion

hasLocation is a location available

Declared In

PSKDeviceAttitude.h

heading

heading to true north pole

- (PSK_PRECISION)heading

Discussion

heading to true north pole

Declared In

PSKDeviceAttitude.h

headingAccuracy

accuracy of heading

- (PSK_PRECISION)headingAccuracy

Discussion

accuracy of heading

Declared In

PSKDeviceAttitude.h

headingAge

age of the last heading information

- (float)headingAge

Discussion

age of the last heading information

Declared In

PSKDeviceAttitude.h

headingMatrix

- (PSKMatrix4x4 *)headingMatrix

Discussion

Declared In

PSKDeviceAttitude.h

headingSignalQuality

- (PSKSignalQuality)headingSignalQuality

headingTimestamp

time stamp of last heading update

- (NSDate *)headingTimestamp

Discussion

time stamp of last heading update

Declared In

PSKDeviceAttitude.h

location

the CLLocation object retrieved during the last update

- (CLLocation *)location

Return Value

nil if the location is invalid or the @ref locationCoordinate is 0,0

Discussion

the CLLocation object retrieved during the last update

Declared In

PSKDeviceAttitude.h

locationAccuracy

user position’s accuracy for latitude and longitude

- (PSK_PRECISION)locationAccuracy

Discussion

user position’s accuracy for latitude and longitude

Declared In

PSKDeviceAttitude.h

locationAge

how old the location is in seconds

- (float)locationAge

Discussion

how old the location is in seconds

Declared In

PSKDeviceAttitude.h

locationAltitude

user position’s altitude

- (PSK_PRECISION)locationAltitude

Discussion

user position’s altitude

Declared In

PSKDeviceAttitude.h

locationAltitudeAccuracy

user position’s accuracy for altitude

- (PSK_PRECISION)locationAltitudeAccuracy

Discussion

user position’s accuracy for altitude

Declared In

PSKDeviceAttitude.h

locationAuthorizationStatus

wraps @ref [CLLocationManager authorizationStatus] and allows simulation using @ref PSKSimulator

- (CLAuthorizationStatus)locationAuthorizationStatus

Declared In

PSKDeviceAttitude.h

locationCoordinate

the CLLocationCoordinate2D of the last retrieved location

- (CLLocationCoordinate2D)locationCoordinate

Discussion

the CLLocationCoordinate2D of the last retrieved location

Declared In

PSKDeviceAttitude.h

locationLatitude

user position’s latitude

- (PSK_PRECISION)locationLatitude

Discussion

user position’s latitude

Declared In

PSKDeviceAttitude.h

locationLongitude

user position’s longitude

- (PSK_PRECISION)locationLongitude

Discussion

user position’s longitude

Declared In

PSKDeviceAttitude.h

locationSignalQuality

- (PSKSignalQuality)locationSignalQuality

locationTimestamp

time stamp of the last retrieved location

- (NSDate *)locationTimestamp

Discussion

time stamp of the last retrieved location

Declared In

PSKDeviceAttitude.h

magneticHeading

heading to magnetic north pole - LEGACY CODE ONLY

- (PSK_PRECISION)magneticHeading

Discussion

heading to magnetic north pole - LEGACY CODE ONLY

Declared In

PSKDeviceAttitude.h

motionEulerAngles

roll, pitch, yaw as returned by CMMotionManager

- (PSKVector3 *)motionEulerAngles

Discussion

roll, pitch, yaw as returned by CMMotionManager

Declared In

PSKDeviceAttitude.h

motionPitch

pitch component from the latest motion update

- (double)motionPitch

Discussion

pitch component from the latest motion update

Declared In

PSKDeviceAttitude.h

motionRoll

roll component from the latest motion update

- (double)motionRoll

Discussion

roll component from the latest motion update

Declared In

PSKDeviceAttitude.h

motionYaw

yaw component from the latest motion update

- (double)motionYaw

Discussion

yaw component from the latest motion update

Declared In

PSKDeviceAttitude.h

orientationIsLandscape

- (BOOL)orientationIsLandscape

Discussion

Declared In

PSKDeviceAttitude.h

orientationSideAxis

- (float)orientationSideAxis

Discussion

Declared In

PSKDeviceAttitude.h

orientationUpAxis

- (float)orientationUpAxis

Discussion

Declared In

PSKDeviceAttitude.h

signalQuality

- (PSKSignalQuality)signalQuality

Discussion

Declared In

PSKDeviceAttitude.h