![]() |
Camera won't initialize when reset from RC - reset from OI and Power-up works,
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! |
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
Are you sure your backup battery is charged?
|
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
yea it is charged ....
|
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
From Kevin's website:
Quote:
Good luck, Robinson |
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. :o |
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. |
Re: Camera won't initialize when reset from RC - reset from OI and Power-up works,
Quote:
JBot |
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.
|
| All times are GMT -5. The time now is 17:59. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi