| 1 |
<para> |
| 2 |
Set the logging configuration as tmin:tmax:dmin:dmax. |
| 3 |
Here tmin and tmax are in seconds, and dmin and dmax in meters. |
| 4 |
With dt = time since last log, dx = distance since last log, |
| 5 |
and v the current speed, the device logs if |
| 6 |
</para> |
| 7 |
<para> |
| 8 |
(dt > tmin and dx >= dmin and v >= vmin) or dt > tmax or dx > dmax or v > vmax |
| 9 |
</para> |
| 10 |
<para> |
| 11 |
If you use this option, vmin is fixed at 0 and vmax at 65535 km/h. |
| 12 |
</para> |
| 13 |
<para> |
| 14 |
Example. Set the device to log every 6 seconds (or 10km, whichever |
| 15 |
happens first!) |
| 16 |
</para> |
| 17 |
|
| 18 |
<example xml:id="skytraq-configulog"> |
| 19 |
<title>Set the logging parameters for Skytraq device</title> |
| 20 |
<para> |
| 21 |
<userinput> |
| 22 |
gpsbabel -i skytraq,configlog=6:3600:0:10000 -f /dev/ttyUSB0 |
| 23 |
</userinput> |
| 24 |
</para> |
| 25 |
</example> |