xiaoyuzaitianjin / surveyor-srv1-firmware

Automatically exported from code.google.com/p/surveyor-srv1-firmware
0 stars 1 forks source link

Post upgradation issue : video not working on java console. #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I Upgraded my srv-1 robot(not stereo) to srv-blackfin-011809. I Am able
to connect via terminal (telnet ) and send commands but when i use java
console it does not work (video not displayed) and the process just hogs.

below is java console log for 5 min :

java.io.FileNotFoundException: debug\debug.bin (The system cannot find the path
specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at SRV1Console.<init>(SRV1Console.java:109)
        at SRV1Console.<clinit>(SRV1Console.java:75)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.ucware.JEXEClassLoader.run(Unknown Source)
        at com.ucware.JEXEClassLoader.main(Unknown Source)
             WebcamSat(tm) Version 3.1
 WebcamSat(tm) and Satcam(tm) are Copyright 2001-2006
              by Surveyor Corporation
        All worldwide rights are reserved.
               Surveyor Corporation
             email: support@surveyor.com
               web: www.surveyor.com

This version supports 1 camera accounts and 5 unique user accounts.

 go to http://localhost:8888/admin to configure server
         default user/password = webcamsat/admin

Webcamsat starting on port 8888...
Setting context to: SRV1Console[canvas0,0,0,0x0,invalid]
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
wrote 'I'
reading frame: 0 / 8899
**short read: 7156 of 8899
wrote 'I'
wrote 'I'
reading frame: 0 / 8832
**short read: 7346 of 8832
wrote 'I'
wrote 'I'
reading frame: 0 / 8782
**short read: 7192 of 8782
wrote 'I'
wrote 'I'
reading frame: 0 / 8789
**short read: 7080 of 8789
wrote 'I'
wrote 'I'
reading frame: 0 / 8735
**short read: 7457 of 8735
wrote 'I'
wrote 'I'

Original issue reported on code.google.com by Simha....@gmail.com on 23 Jan 2009 at 2:40

GoogleCodeExporter commented 9 years ago
You can ignore this message - it has no effect: 
    java.io.FileNotFoundException: debug\debug.bin (The system cannot find the path
specified)

If you are interfacing the Blackfin at a low data rate, SRV1Console.java might 
be
timing out in the image transfer.  In
trunk/blackfin/console/SRV1Console.java:readLoop(), you could try to change the
timeout limit -

        while (pos < frameSize && timeout < 600 && shouldRun) {
            if (is.available() <= 0) {
            timeout++;
            try { Thread.sleep(50); } catch (InterruptedException ie) {}
            continue;
            }

If you are running a high speed connection via the Matchport WLAN module, then 
it's
likely that something is wrong with your Matchport configuration.  If restoring 
the
Matchport to 2500kbps, here are the appropriate settings -

If restoring the Matchport to 2500kbps, the settings you need to change are:

  Expert (5) -  
     for CPU performance, enter FF
     for clk?, enter 81
     change MTU Size from 1400 to 1024
     skip the rest of the options
  Channel 1 Serial (1) -  
     for Baudrate, enter -1
     for divisor, enter 2
     for flow control, enter 2
     further down, for FlushMode, enter 80
     for Pack Cntrl, enter C0
     for InterCh Time, enter 3
     skip the rest of the options

You will find further discussion of this on the Surveyor Robotics Forum in this 
thread - 
    http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1200515001

Original comment by surveyorcorp@gmail.com on 23 Jan 2009 at 3:46

GoogleCodeExporter commented 9 years ago
setting match port configuration as below resolved the video issue. Thanks a 
lot for
the quick help.  

  Channel 1 Serial (1) -  
     for Baudrate, enter -1
     for divisor, enter 2
     for flow control, enter 2
     further down, for FlushMode, enter 80
     for Pack Cntrl, enter C0
     for InterCh Time, enter 3
     skip the rest of the options
--------------------------------------------------------------------------------
-----
Q. new question and your suggestions will be a great help. 
   I wish to know if anyone is working/has worked on vslam with srv-1 (using single
   camera). 
   I planed to integrate below two software but i have no idea on how to start.  
   http://code.google.com/p/monoslam/
   http://www.ofitselfso.com/SRV1CSharpConsole.php

Original comment by Simha....@gmail.com on 23 Jan 2009 at 4:40

GoogleCodeExporter commented 9 years ago
You might want to post this question on
http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?board=srv1sw .  Though I imagine 
there
have been various projects along these lines, I haven't seen any that put the 
pieces
together in a single console.  Perhaps you can motivate the coordination of some
activity.

Original comment by surveyorcorp@gmail.com on 23 Jan 2009 at 4:58