PhidgetGPS

PhidgetGPS

A class for interfacing with a PhidgetGPS.  See your product manual for more specific API details, supported functionality, units, etc.

Summary
PhidgetGPSA class for interfacing with a PhidgetGPS.
EventsEvents supported by PhidgetGPS.
Properties
PositionFixStatusGets the position fix status of this gps.
LatitudeGets the last recieved latitude.
LongitudeGets the last recieved longitude.
AltitudeGets the last recieved altitude.
HeadingGets the last recieved heading.
VelocityGets the last recieved velocity.
DateTimeGets the last recieved date and time in UTC.

Events

Events supported by PhidgetGPS.  Pass these constants to the addEventListener() function when adding event listeners to a Phidget object.

PhidgetDataEvent.FIX_CHANGEposition fix status change
PhidgetDataEvent.POSITION_CHANGEposition change (Array:[latitude,longitude,altitude])

Properties

PositionFixStatus

public function get PositionFixStatus():Boolean

Gets the position fix status of this gps.

Latitude

public function get Latitude():Number

Gets the last recieved latitude.

Longitude

public function get Longitude():Number

Gets the last recieved longitude.

Altitude

public function get Altitude():Number

Gets the last recieved altitude.

Heading

public function get Heading():Number

Gets the last recieved heading.

Velocity

public function get Velocity():Number

Gets the last recieved velocity.

DateTime

public function get DateTime():Date

Gets the last recieved date and time in UTC.

Base Phidget class from which all specific device classes inherit.
public function get PositionFixStatus():Boolean
Gets the position fix status of this gps.
public function get Latitude():Number
Gets the last recieved latitude.
public function get Longitude():Number
Gets the last recieved longitude.
public function get Altitude():Number
Gets the last recieved altitude.
public function get Heading():Number
Gets the last recieved heading.
public function get Velocity():Number
Gets the last recieved velocity.
public function get DateTime():Date
Gets the last recieved date and time in UTC.
Close