[Elphel-support] Synchronizing GPS data with imu log

Oleg support-list at support.elphel.com
Tue Apr 16 18:11:02 PDT 2013


>
> 1. What GPS receiver do you use? usb, serial?
> I am using a Garmin GPS 18 with a serial connection to the camera.
>
Garmin GPS18x-5Hz

2. Go to: http://192.168.0.9/imu_setup.php -> list - please send the page
> output.
> <Logger_configuration>
> <imu_period>-256</imu_period>
> <sclk_freq>5000000</sclk_freq>
> <stall>2</stall>
> <baud_rate>4800.1920076803</baud_rate>
> <imu_slot>1</imu_slot>
> <gps_slot>1</gps_slot>
> <gps_mode>1</gps_mode>
> ...
> </Logger_configuration>
>

Looks like an incorrect GPS configuration.

1. Please check the gps board data here:
community-dot-elphel-dot-com-slash-bootblock353
2. Find "Read GPS"-button there. What's the result (displayed fine in
firefox only)?
The correct output will look like this:

> <board>
>
  <serial>F30002</serial>
>   ...
>   <port>2</port>
>   <part>GPS18x-5Hz</part>
>   <baud>19200</baud>
>   <sync>1</sync>
> </board>


3. If the following values are different, update them:

Note: don't forget to put the correct serial number in the corresponding
field.

port = 2 <2(J10)>
baud = 19200
sync = 1 <pps in, rising>

4. backup an old configuration file - telnet session:

> mv /etc/imu_logger.xml /etc/imu_logger.xml.bkp


5.  generate a new configuration - telnet:

> /usr/html/start_gps_compass.php


The "/etc/imu_logger.xml" will be recreated.
http://192.168.0.9/imu_setup.php?list just prints it.

Did this work? (fpcf -imu 1000 | grep "1:")



When I am looking at the photo properties I can find the DateTimeOriginal
> but not a marker for the timestamp.


*DateTimeOriginal* in photo properties = *Master**TimeStamp* displayed
by *read_imu_log.php
*from the log file and *TimeStamp* - log timestamps - every log record has
it:

170 *1366150854.523725*: [angleX]=>-5.1128082275391E-5
> [angleY]=>0.00011952236938477 [angleZ]=>0.00013243011474609 [gyroX]
> =>-0.091235568237305

171 *1366150854.524045*: *MasterTimeStamp: 1366172454.3739 TimeStamp:
> 1366172454.524* MasterTimeStamp(precise): 0x516dcec6+5b473
> TimeStamp(precise)

172 *1366150854.524131*: [angleX]=>-0.0001010827331543
> [angleY]=>0.00014835525512695 [angleZ]=>-3.8723236083984E-5 [gyroX]
> =>-0.40586477050781

173 *1366150854.524537*: [angleX]=>-6.445491027832E-5
> [angleY]=>-2.3133361816406E-5 [angleZ]=>-0.00018213331604004 [gyroX]
> =>0.089074036315918


Regards,
Oleg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20130416/aa2c82f3/attachment-0002.html>


More information about the Support-list mailing list