[Elphel-support] Synchronizing GPS data with imu log

Dylan Carlson carl3967 at umn.edu
Tue Apr 16 16:53:10 PDT 2013


>
> How do I include the GPS data in the generated log files?
> It should already be there by default.
> How to test it? in a telnet session run:
>
>> fpcf -imu 1000 | grep "1:"
>
> where 1000 is the number of records to print, "grep" filters the records
> that have "1:" meaning they are records from GPS.
> "0:" - for IMU,
> "2:" - for images.
>
>  I tried to search the log with fpcf -imu 1000 | grep "1:" and I do not
get any results back.

Can you see any GPS related records?
> If I remember correctly your:
> GPS is 5Hz - 5 records/sec (IMU - 2560 records/sec)
>
>>  How can I synchronize the timestamps I see in the log to a timestamp on
>> the photos In the log records for images (read_imu_log.php):
>>
> "TimeStamp" is the logger time.
> "MasterTimeStamp" - time that is written into image's EXIF.
>
> When I am looking at the photo properties I can find the DateTimeOriginal
but not a marker for the timestamp.


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

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>
<msg_conf>10</msg_conf>
<img_sync>1</img_sync>
<extra_conf>4</extra_conf>
<slow_spi>0</slow_spi>
<imu_sa>3</imu_sa>
<sleep_busy>30000</sleep_busy>
<imu_registers>
<R_00>0x10</R_00>
<R_01>0x12</R_01>
<R_02>0x14</R_02>
<R_03>0x16</R_03>
<R_04>0x18</R_04>
<R_05>0x1a</R_05>
<R_06>0x1c</R_06>
<R_07>0x1e</R_07>
<R_08>0x20</R_08>
<R_09>0x22</R_09>
<R_10>0x24</R_10>
<R_11>0x26</R_11>
<R_12>0x40</R_12>
<R_13>0x42</R_13>
<R_14>0x44</R_14>
<R_15>0x46</R_15>
<R_16>0x48</R_16>
<R_17>0x4a</R_17>
<R_18>0x4c</R_18>
<R_19>0x4e</R_19>
<R_20>0x50</R_20>
<R_21>0x52</R_21>
<R_22>0x54</R_22>
<R_23>0x56</R_23>
<R_24>0x0e</R_24>
<R_25>0x70</R_25>
<R_26>0x72</R_26>
<R_27>0x74</R_27>
</imu_registers>
<nmea>
<S_0>
<sentence>RMC</sentence>
<format>nbnbnbnnnnb</format>
</S_0>
<S_1>
<sentence>GGA</sentence>
<format>nnbnbnnnnbnbbb</format>
</S_1>
<S_2>
<sentence>GSA</sentence>
<format>bnnnnnnnnnnnnnnnn</format>
</S_2>
<S_3>
<sentence>VTG</sentence>
<format>nbnbnbnb</format>
</S_3>
</nmea>
<message>Odometer message</message>
</Logger_configuration>



> Best regards,
> Oleg Dzhimiev
> Electronics Engineer
> phone: +1 801 783 5555 x124
> Elphel, Inc.




-- 
*University Of Minnesota: College of Science and Engineering*
*Aerospace Engineering and Mechanics*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20130416/7bf56e70/attachment-0002.html>


More information about the Support-list mailing list