summaryrefslogtreecommitdiff
path: root/navit/vehicleprofile.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-06-15 19:53:24 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-06-15 19:53:24 +0000
commit93280efbe81b3c42cbfd40020ad53bee0c6cd818 (patch)
treecd11be6284ec7b0610b6d06bd794ded39b28f0bc /navit/vehicleprofile.h
parentaeb22fff6a01ab7fb95f4226aab7321553ee9233 (diff)
downloadnavit-93280efbe81b3c42cbfd40020ad53bee0c6cd818.tar.gz
Fix:Core:Improved tracking to compensate for gps receivers with static navigation disabled
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2317 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicleprofile.h')
-rw-r--r--navit/vehicleprofile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/vehicleprofile.h b/navit/vehicleprofile.h
index 51edfad24..c42498662 100644
--- a/navit/vehicleprofile.h
+++ b/navit/vehicleprofile.h
@@ -23,6 +23,8 @@ struct vehicleprofile {
int flags_reverse_mask; /**< Flags mask for moving in reverse direction */
int flags; /**< Required flags to move through a segment */
int maxspeed_handling; /**< 0 = Always, 1 = Only if lower, 2 = Never */
+ int static_speed; /**< Maximum speed of vehicle to consider it stationary */
+ int static_distance; /**< Maximum distance of previous position of vehicle to consider it stationary */
struct attr **attrs;
GHashTable *roadprofile_hash;
};