Click or drag to resize

SimulatedGps Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
This class simulates a GPS unit by following a predefined set of points at the allowable speed limit. This class is intended for testing or demonstration purposes.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.NavigationSimulatedGps

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class SimulatedGps : ISimulatedGps, 
	IGps, IDisposable

The SimulatedGps type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyHasPath
Returns true if the SimulatedGps has a path with at least one point remaining.
Public propertyMode
The mode the SimulatedGps is running in.
Public propertyPath
The list of points remaining in the path. Points will be removed from the start of the list as they are visited.
Public propertyPause
The length of time to pause before starting navigation.
Public propertyPosition
Gets the Position of the GPS unit.
Public propertyPoweredUp
Determines the powered state of the GPS unit.
Public propertySpeedMultiplier
The speed multiplier to use. A value of 1.05 will result in a vehicle that travels 5% above the speed limit.
Public propertyTickRate
Defines how often the SimulatedGps thread ticks. The GPS thread will only be maintained if TickRate is not 0.
Public propertyTime
The current time as reported by the GPS.
Public propertyCode exampleTimeMultiplier
Used to determine the tick duration in proportion to clock time.
Top
Methods
  NameDescription
Public methodBeginNavigation
Begins navigation along the given path.
Public methodClearPath
Clears the current path causing the vehicle to stop.
Public methodDispose
Powers down the GPS unit.
Public methodEndNavigation
Ends navigation along the given path.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTurningRadius
Gets the turning radius in a given unit.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPowerDown
Powers down the GPS unit.
Public methodPowerUp
Powers up the GPS unit.
Public methodSetLocation(LatLon)
Sets the GPS location and clears the path. The existing heading is preserved. The new position will be reflected immediately.
Public methodSetLocation(LatLon, Double)
Sets the GPS location and heading and clears the path. The new position will be reflected immediately.
Public methodSetPath
Sets the current path. The vehicle will move to the start of the path and begin following points. The new position will be reflected immediately.
Public methodSetTurningRadius
Given a value and unit, sets the turning radius.
Public methodStep
Advances the simulation by the given time period.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventGPSException
This event handler will be called when the GPS experiences a fatal exception.
Public eventUpdate
This event handler will be called every time the SimulatedGps updates its position.
Top
Remarks

Related articles: The IGps Interface.

See Also