|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We've run into an interesting problem. We are using the streamlined code from Kevin Watson's code repository.
1) When we first turn on the RC, it successfully initializes the camera, and begins searching. 2) When we reset the RC by pressing the RESET button on the RC itself, the camera initialization fails. The debug information shows that we fail in STATE #3, with and error code of 131. This is error what we got when press reset button ..... Camera: Initialized abnormally with the code 131 Camera: Initialization state : 1 Camera: Initialization state : 2 Camera: Initialization state : 3 No camera data ...... HOWEVER 3) If we reset using the ROBOT RESET button on the OI, or if we open and close the main breaker (power-down/power-up), the camera initializes perfectly fine. We're wondering if anyone else is having this issue, or if this is an isolated problem that just we are having. Thanks in advance! Last edited by krunal : 13-01-2007 at 13:40. |
|
#2
|
|||||
|
|||||
|
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
Are you sure your backup battery is charged?
|
|
#3
|
|||
|
|||
|
yea it is charged ....
|
|
#4
|
|||
|
|||
|
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
From Kevin's website:
Quote:
Good luck, Robinson |
|
#5
|
||||
|
||||
|
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
Power cycling just the camera when initialization fails does not help.
We performed the documented diagnostics on the TTL serial port and the TTL to RS-232 converter board, via the loopback jumpers on both and the DDT, and they both passed. I'm wondering if the serial port receive interrupt handlers aren't properly reinitialized when the RC's RESET button is pressed, but are reinitialized fine when the entire RC is power cycled, or the OI ROBOT RESET button is pressed. I'm thinking this might be, because we built a 3-pin camera serial to DB-9 cable, and were able to view the commands being sent to the camera when initialization failed. We saw that the "CR" command for STATE #3 was indeed being sent by the RC properly. Either the camera wasn't ACKing it, or the RC wasn't picking up the ACK. I THINK the camera was ACKing the "CR" commands, because when I connected to the camera directly with a laptop (immediately after initialization from the RC failed), and issued equivalent "CR" commands from the laptop, the camera ACKed them just fine. Still just trying to find out if this is an isolated incident though. And right now, it looks like it is. ![]() |
|
#6
|
||||
|
||||
|
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
Krunal,
Check out this post by Dave Flowerday: http://www.chiefdelphi.com/forums/sh...1#post48 3512 Based on his description, this sounds like the exact problem we're running in to. |
|
#7
|
|||||
|
|||||
|
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
Quote:
JBot |
|
#8
|
|||
|
|||
|
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
The camera reset problem we had last year was, any type of reset worked fine in the lab, but when connected to the competition port at the regional the camera would not initialize with turning the robot power on. So our autonomous mode failed every time.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FRC: Reset and Program Controls | yanksrock777 | General Forum | 4 | 24-01-2007 22:37 |
| Camera does not search in autonomous mode after reset | Keith Watson | Programming | 17 | 07-03-2006 00:42 |
| Robot Reset & Camera Initalization | Don Reid | Programming | 3 | 06-03-2006 18:45 |
| Complete Reset | Windex | Control System | 3 | 20-02-2005 14:02 |
| Visibility of Robot Controller and Reset Button | Tracy | Rules/Strategy | 1 | 17-02-2003 07:36 |