SimulatedGps Class | ![]() |
Namespace: Telogis.GeoBase.Navigation
The SimulatedGps type exposes the following members.
Name | Description | |
---|---|---|
![]() | SimulatedGps(LatLon) |
Creates a SimulatedGps at the given location.
|
![]() | SimulatedGps(LatLon) |
Creates a SimulatedGps which begins driving along the given path.
|
![]() | SimulatedGps(Double, LatLon) |
Creates a SimulatedGps which begins driving along the given path. GPS ticks occur tickRate times per second.
|
![]() | SimulatedGps(LatLon, LatLon) |
Creates a SimulatedGps which begins driving along the given path.
|
![]() | SimulatedGps(SimulationMode, LatLon) |
Creates a SimulatedGps at the given location.
|
![]() | SimulatedGps(SimulationMode, LatLon) |
Creates a SimulatedGps which begins driving along the given path.
|
Name | Description | |
---|---|---|
![]() | HasPath |
Returns true if the SimulatedGps has a path with at least one point remaining.
|
![]() | Mode |
The mode the SimulatedGps is running in.
|
![]() | Path |
The list of points remaining in the path. Points will be removed
from the start of the list as they are visited.
|
![]() | Pause |
The length of time to pause before starting navigation.
|
![]() | Position |
Gets the Position of the GPS unit.
|
![]() | PoweredUp |
Determines the powered state of the GPS unit.
|
![]() | SpeedMultiplier |
The speed multiplier to use. A value of 1.05 will result in a vehicle
that travels 5% above the speed limit.
|
![]() | TickRate |
Defines how often the SimulatedGps thread ticks.
The GPS thread will only be maintained if TickRate is not 0.
|
![]() | Time |
The current time as reported by the GPS.
|
![]() ![]() | TimeMultiplier |
Used to determine the tick duration in proportion to clock time.
|
Name | Description | |
---|---|---|
![]() | BeginNavigation |
Begins navigation along the given path.
|
![]() | ClearPath |
Clears the current path causing the vehicle to stop.
|
![]() | Dispose |
Powers down the GPS unit.
|
![]() | EndNavigation |
Ends navigation along the given path.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetTurningRadius |
Gets the turning radius in a given unit.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | PowerDown |
Powers down the GPS unit.
|
![]() | PowerUp |
Powers up the GPS unit.
|
![]() | SetLocation(LatLon) |
Sets the GPS location and clears the path.
The existing heading is preserved.
The new position will be reflected immediately.
|
![]() | SetLocation(LatLon, Double) |
Sets the GPS location and heading and clears the path.
The new position will be reflected immediately.
|
![]() | SetPath |
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.
|
![]() | SetTurningRadius |
Given a value and unit, sets the turning radius.
|
![]() | Step |
Advances the simulation by the given time period.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | GPSException |
This event handler will be called when the GPS experiences a fatal exception.
|
![]() | Update |
This event handler will be called every time the SimulatedGps updates its position.
|
Related articles: The IGps Interface.