Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Java, Camera, Watchdog... (http://www.chiefdelphi.com/forums/showthread.php?t=83072)

AlftanSr 19-02-2010 09:46

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...

sp33chy 19-02-2010 12:11

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.

AlftanSr 19-02-2010 12:17

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.

chris janney 20-02-2010 15:46

Re: Java, Camera, Watchdog...
 
hey ours isnt working as well. any advice?

adamdb 21-02-2010 12:30

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.

Daniel Jones 22-02-2010 23:18

Re: Java, Camera, Watchdog...
 
Does your camera have the administrator account set to username FRC and password FRC?

AlftanSr 23-02-2010 08:33

Re: Java, Camera, Watchdog...
 
Yes it does. The camera works with Labview


All times are GMT -5. The time now is 09:26.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi