Opened 14 years ago
Closed 14 years ago
#396 closed defect/bug (fixed)
Log files are written for non-active vehicles
Reported by: | stuvel.eu | Owned by: | stuvel.eu |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | core | Version: | git master |
Severity: | Keywords: | ||
Cc: |
Description
Log files are written for non-active vehicles. My configured vehicles are "car", "bike" and "pedestrian", of which only "car" is active:
<vehicle name="Car" profilename="car" enabled="yes" active="1" ...>
<log type="gpx" data="/home/root/gpx/car-track_%Y%m%d-%i.gpx" flush_size="1000" flush_time="30"/> ...
</vehicle>
<vehicle name="Bike" profilename="bike" enabled="yes" active="0" ...>
<log type="gpx" data="/home/root/gpx/bike-track_%Y%m%d-%i.gpx" flush_size="1000" flush_time="30"/> ...
</vehicle>
<vehicle name="Pedestrian" profilename="pedestrian" enabled="yes" active="0" ...>
<log type="gpx" data="/home/root/gpx/walk-track_%Y%m%d-%i.gpx" flush_size="1000" flush_time="30"/> ...
</vehicle>
Even though "bike" and "pedestrian" are inactive, I get "bike-track_{date}-{sequence}.gpx" and "walk-track_{date}-{sequence}.gpx" files.
I would expect an inactive vehicle to be really inactive, and not log anything until they become active.
I'll attach my complete vehicle configuration to this ticket.
Tested on SVN revision 2368
Attachments (1)
Change History (5)
Changed 14 years ago by stuvel.eu
comment:1 Changed 14 years ago by stuvel.eu
Just to add a little motivation: I want to use GPS logging to enhance and extend OpenStreetMap?. It is then important to know whether I walked, cycled or drove somewhere. When all vehicle configurations produce logs simultaneously, it's later on impossible to determine this.
Of course on short drives when I can immediately upload and tag the GPX file it's fine, but I also want to do this when visiting France for a three week holiday. I don't think I'll be able to remember the exact date and time at which I exited the car to take a walk, three weeks after the face.
comment:2 Changed 14 years ago by stuvel.eu
- Owner changed from KaZeR to stuvel.eu
- Status changed from new to assigned
comment:3 Changed 14 years ago by stuvel.eu
I'm working on a new menu where you can pick the active profile for a given vehicle. The profile name is written in the GPX log (since SVN r2405).
comment:4 Changed 14 years ago by stuvel.eu
- Resolution set to fixed
- Status changed from assigned to closed
Implemented per SVN r2416
Vehicle configuration