summaryrefslogtreecommitdiff
path: root/navit/track.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-08-12 15:08:14 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-08-12 15:08:14 +0000
commit23793a6853b6cb1bbfde06a8a6e9a104414ba255 (patch)
tree4e97f95542fa5365914b5ad7919c5a8885693ec6 /navit/track.c
parent6de9aa25d5ceceae1afcedc2b8fb096218db16f4 (diff)
downloadnavit-23793a6853b6cb1bbfde06a8a6e9a104414ba255.tar.gz
Add:Core:Support for loading itineraries from destination.txt
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3526 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/track.c')
-rw-r--r--navit/track.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/navit/track.c b/navit/track.c
index 2361746ef..baf67c2f9 100644
--- a/navit/track.c
+++ b/navit/track.c
@@ -632,7 +632,11 @@ tracking_update(struct tracking *tr, struct vehicle *v, struct vehicleprofile *v
!vehicle_get_attr(tr->vehicle, attr_position_direction, &direction_attr, NULL) ||
!vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL) ||
!vehicle_get_attr(tr->vehicle, attr_position_time_iso8601, &time_attr, NULL)) {
- dbg(0,"failed to get position data\n");
+ dbg(0,"failed to get position data %d %d %d %d\n",
+ vehicle_get_attr(tr->vehicle, attr_position_speed, &speed_attr, NULL),
+ vehicle_get_attr(tr->vehicle, attr_position_direction, &direction_attr, NULL),
+ vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL),
+ vehicle_get_attr(tr->vehicle, attr_position_time_iso8601, &time_attr, NULL));
return;
}
if (!vehicleprofile_get_attr(vehicleprofile,attr_static_speed,&static_speed,NULL) || !vehicleprofile_get_attr(vehicleprofile,attr_static_distance,&static_distance,NULL)) {