[Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

Andrey Filippov andrey at elphel.com
Mon Dec 17 17:01:37 PST 2018


Sorry, my typo - should be 103696 (https://wiki.elphel.com/wiki/103696 ). It is OK if you send too large images, I will see it and enable. ---- On Mon, 17 Dec 2018 16:58:31 -0800 Andrey Filippov <andrey at elphel.com> wrote ---- Winston, if you have 10396 board and serial GPS you can synchronize camera with LIDAR without any wires at all, using absolute (GPS) time. The log file will contain each frame timestamp (local time) and each GPS 1pps with both local time and GPS time - that make it easy to interpolate each camera image timestamp to absolute GPS time. Then you can match images with LIDAR if LIDAR data has absolute (GPS) time recorded separately from the camera. Andrey ---- On Mon, 17 Dec 2018 16:50:04 -0800 Elphel Support <support-list at support.elphel.com> wrote ---- Winston, If you are triggering 1 camera from the external source, you need only 2 wires, XSYNC1  and XSYNC2. "GND" and "XSYNCDRV" should not be connected. In that mode external trigger should arrive continuously, if it will stop, camera parameters will not update, autoexposure will not work. This is why we normally synchronize in a different way - camera is acquiring images from the internal signal, LIDAR provides sync. pulses that are recorded in the camera with the camera timestamps, so you can match lidar pulses and camera images. Andrey ---- On Mon, 17 Dec 2018 16:34:00 -0800 Winston Zhang <winston.zhang at bst.ai> wrote ---- _______________________________________________ Support-list mailing list Support-list at support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com _______________________________________________ Support-list mailing list Support-list at support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com Hi elphel     1. The connection show you as follow. I am sure about the trigger source is from the external signal. I think it is no problem, because all of the trigger and capturing images are work.     2. Can you give me some advices about how can I save my parameter normally. May be I can set these parameter in source code in elphel camera kernel, but I can not find these code position. ----------------------------------------------------------- Best Regrad! Yicheng-Zhang Email:  winston.zhang at bst.ai Tel:    18516291005 Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Elphel Support 发送时间: 2018-12-17 11:23 收件人: Winston Zhang; Elphel List 抄送: Qiao Yan; David Zhang; Qun Gu; Tao Zhang 主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar 1) 2.5 mm audio cable has 2 wires. Which are connected to what? 2) Do you trigger camera from the external source, use camera trigger output or use external signal to log in the camera ---- On Sun, 16 Dec 2018 18:35:17 -0800 Winston Zhang <winston.zhang at bst.ai> wrote ---- Hi elphel.     1. The 2.5mm audio line connect to the trigger generated cable(can output the 5v pulse voltage).     2. The trigger signal can be controlled by software. So We can stop it.     3. The parameters can not be refresh when I change the trigger page parameter(many many times). But may be it works some time. So I load the parameters which was saved some day. This is a big problem, it waste much time to save parameter. ----------------------------------------------------------- Best Regrad! Yicheng-Zhang Email:  winston.zhang at bst.ai Tel:    18516291005 Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Elphel Support 发送时间: 2018-12-17 10:12 收件人: Winston Zhang; Elphel List 抄送: Qiao Yan; David Zhang; Qun Gu; Tao Zhang 主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar Hello Winston, 1. I still do not understand - what cable do you use? 2. "But I stopped the trigger board signal" - what exactly do you mean by that? Disconnected cable, changed some parameter (which one, how?) 3. "that parameters can not be saved when I change the trigger parameter"  - Does the camera continue to work - http://192.168.0.39:2323/pointers (put your ip) increment frame number when you refresh? Andrey ---- On Sun, 16 Dec 2018 17:39:26 -0800 Winston Zhang <winston.zhang at bst.ai> wrote ---- Hi, Oleg     I just tested the method 1. However, When I set the parameter TRIG_OUT = 0x00 and applied it, all the parameters could not save(Test it many times). So I removed the external signal line, and tested all of these, it made works. The frame num stopped growing.     Another question is that parameters can not be saved when I change the trigger parameter(I remove the autoparameter*.* file in etc/elphel393), but other parameters probably can be saved success. Can you have other suggestion?      ----------------------------------------------------------- Best Regrad! Yicheng-Zhang Email:  winston.zhang at bst.ai Tel:    18516291005 Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Oleg 发送时间: 2018-12-13 03:44 收件人: winston.zhang at bst.ai 抄送: david.zhang at bst.ai; qiao.yan at bst.ai; tao.zhang at bst.ai; Qun Gu; elphel support-list 主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar Hello, In the link you used the internal trigger generator is working and is routed out to the sync cable (which is probably self-looped - input and output wires are connected): Try: 1. Set TRIG_OUT=0x0 to stop internal pulses at the sync cable output: # old link: http://192.168.0.9/parsedit.php?sensor_port=0&immediate&TRIG_CONDITION=0x95555&TRIG_OUT=0x66555&TRIG_PERIOD=100000000&TRIG=4 # new link:  http://192.168.0.9/parsedit.php?sensor_port=0&immediate&TRIG_CONDITION=0x95555&TRIG_OUT=0x0&TRIG_PERIOD=100000000&TRIG=4    or  2. If the sync cable inputs and outputs connected. Disconnect the wires from each other and apply your trigger source:  signal or "+" - to Black wire,  ground or "-" - to Green wire. Please, check the wire colors and pinout here. Let us know if that worked. Thanks. I'll update our docs to make them clear. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 5555 x124 Elphel, Inc. On Tue, Dec 11, 2018 at 9:04 PM Winston Zhang <winston.zhang at bst.ai> wrote: Hi, Andrey!     Thany you for your patience to answer our questions!     I have some new questions about external trigger. When I set the trigger parameter as the page http://192.168.0.9/parsedit.php?sensor_port=0&immediate&TRIG_CONDITION=0x95555&TRIG_OUT=0x66555&TRIG_PERIOD=10000000&TRIG=4, and I made the trigger board pulsing out the signal(10HZ), I found we could get 10 images. But I stopped the trigger board signal, I also could update the image(10hz). I wanted to konw that how can I test the external trigger signal work? Because when i stop external source trigger signal, it could receive images too. ----------------------------------------------------------- Best Regrad! Yicheng-Zhang Email:  winston.zhang at bst.ai Tel:    18516291005 Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Oleg 发送时间: 2018-09-19 02:38 收件人: david.zhang at bst.ai 抄送: winston.zhang at bst.ai; tao.zhang at bst.ai; Qun Gu; elphel support-list 主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar Hello, Here are a couple commands (in linux) that can help to check and sync the system clock: - Compare PC and camera clock: ~$ ssh root at 192.168.0.9 date;date -u - Write PC time into camera clock: ~$ ssh root at 192.168.0.9 "date -s @`( date -u +"%s" )` &&  hwclock -w" After setting the system clock check if the time survives the reboot. If it does not - then please update the firmware to 20180511. There was a bug in the clock driver we had to fix a while ago. Regards, Oleg On Mon, Sep 17, 2018 at 11:27 PM David Zhang <david.zhang at bst.ai> wrote: Hi, Andrey, We use default configuration(TRIG=4 and TRIG_PERIOD=25000000). Is that OK? And now our situation is there are timestamps in EXIF header. But it is not the kernel's system time. e.g. the timestamp in EXIF may be 2018/09/14 but actually system's date is 2018/09/18. How can i fix it? Thanks. Best, David 发件人: Elphel Support <support-list at support.elphel.com> 发送时间: 2018年9月18日 10:03:19 收件人: Winston Zhang 抄送: Winston Zhang; Tao Zhang; Qun Gu; David Zhang 主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar   Winston, What trigger settings do you use ( https://wiki.elphel.com/wiki/Trigger_393 )? Trigger 393 - ElphelWiki - wiki.elphel.com wiki.elphel.com Description. 10389 board is required. The triggering is used for one or several cameras synchronization or setting the frame rate (or fps). The conditions of the trigger can be generated either internally or externally. Camera channels should be in triggered mode (TRIG=4) and have  correct TRIG_PERIOD. Then all channels will be exactly synchronized. If you set TRIG_PERIOD to some "even" number (like exactly  10fps with TRIG_PERIOD=10000000), then timestamps will have all digits but seconds and tenths of a second the same for all frames. Andrey ---- On Mon, 17 Sep 2018 18:31:26 -0700 <winston.zhang at bst.ai> wrote ---- Hi, Andrey!     I captured some images form camera with the timestamp image name. This timestamp was the same with camera system timestamp. And the other way,  each image had its exif information that contained the real timestamp. But this timestamp from exif information was not the same with system timestamp. So can you provided some detials about where was the exif timestamp  from. And how did i do can solve this problem. (i had synchronized the camera system time with the GPS timestamp.) ----------------------------------------------------------- Best Regrad! Yicheng-Zhang Email:  winston.zhang at bst.ai Tel:    18516291005 Addr:   707 room, 7th floor, building 4th, No.1761, Zhangdong road, Pudong area   发件人: Oleg 发送时间: 2018-05-12 06:32 收件人: Winston Zhang 抄送: Tao Zhang; Qun Gu; David Zhang; elphel support-list 主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar Winston,    I could get the info from the 192.168.0.9:2323. This web could help me to get some information. But if I tried the http://192.168.0.9:2323/timestamp_name, the timestamp file saved web did not appear. How did I use it? http://192.168.0.9:2323/pointer_value/img Try the following: 1. get diagnostics.php 2. copy to 192.168.0.9:/www/pages/ 3. In the browser open:  view-source:http://192.168.0.9/diagnostics.php?pointers   You will get xml output similar to this one: <?xml version='1.0' standalone='yes'?> <Document> <camera ip='192.168.0.9'> <port index='0' sensor='mt9p006, none, none, none' mux='none'> <timestamps>                         ...  <ts frame='7290' ts='1526075540.347616' ptr='pointer_value'>1526075540.347616</ts> ... Take the pointer_value from the last <ts> for a particular port. Don't forget to add "/img" or "/bimg". If something does not work. Please send me your xml.   Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 5555 x124 Elphel, Inc. _______________________________________________ Support-list mailing list Support-list at support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com _______________________________________________ Support-list mailing list Support-list at support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com _______________________________________________ Support-list mailing list Support-list at support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com _______________________________________________ Support-list mailing list Support-list at support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com _______________________________________________ Support-list mailing list Support-list at support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com _______________________________________________ Support-list mailing list Support-list at support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20181217/5d5274e7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 224857 bytes
Desc: not available
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20181217/5d5274e7/attachment-0001.jpg>


More information about the Support-list mailing list