|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Java, Camera, Watchdog...
As if there weren't enough camera/java issues on this forum already, I have a question.
First off, I should add that we're using the DefaultCodeProject, and just edited it to our needs. Our code works fine, so we decided it was time to bring in the camera. In our constructor, we added: camera = AxisCamera.getInstance(); When we deployed that to the robot, our robot would turn on and off and on and off, while our driver station was displaying either 'Teleop enabled' or 'Watchdog not fed' messages. We commented out the one line of camera code, and the robot worked fine again. What's the deal????????????? As a side note, we tried loading the CirclTrackerDemo project, but didn't get any camera on the dashboard. But at least the Watchdog was happy! Unlike me... |
|
#2
|
|||
|
|||
|
Re: Java, Camera, Watchdog...
Are you feeding the watchdog enough?
Also I can't get camera to work at all even with the CircleTrackerDemo so we are in the same boat on that regard. |
|
#3
|
|||
|
|||
|
Re: Java, Camera, Watchdog...
I tried making every other line of code to be watchdog.feed, but it was still hungry.
It's something with the camera. When I comment out the camera code, the camera = axiscamera.getinstance in the constructor, the watchdog gets hungry. |
|
#4
|
|||
|
|||
|
Re: Java, Camera, Watchdog...
hey ours isnt working as well. any advice?
|
|
#5
|
|||
|
|||
|
Re: Java, Camera, Watchdog...
I think we are having a similar or possibly related issue. I started this thread about it. http://www.chiefdelphi.com/forums/sh...ad.php?t=83057
Ours manifests itself as the motors turning off very briefly when they should remain running. |
|
#6
|
|||
|
|||
|
Re: Java, Camera, Watchdog...
Does your camera have the administrator account set to username FRC and password FRC?
|
|
#7
|
|||
|
|||
|
Re: Java, Camera, Watchdog...
Yes it does. The camera works with Labview
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera Starving Watchdog | daltore | NI LabVIEW | 2 | 01-31-2010 01:24 PM |
| Java/Netbeans Camera Code for Classmate PC and Axis Camera | joshholat | Programming | 1 | 01-23-2010 02:59 PM |
| Where can I find camera tracking code for Java? | nikRbokRz | Java | 4 | 01-20-2010 11:35 PM |
| Java Camera Video on ClassMate | Thomas4019 | Java | 8 | 01-16-2010 12:18 AM |
| Camera Control in Java | Imadapocalypse | Java | 1 | 01-09-2010 09:46 PM |