Go to Post Kids should already be motivated to build the best robot they can, and learn as much as they can. They shouldn't need extra incentives. - Matt382 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-02-2010, 09:46
AlftanSr AlftanSr is offline
Registered User
FRC #1013
 
Join Date: Feb 2010
Location: Arizona
Posts: 12
AlftanSr is an unknown quantity at this point
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...
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2010, 12:11
sp33chy sp33chy is offline
Registered User
FRC #3332
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Melbourne, FL
Posts: 29
sp33chy is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2010, 12:17
AlftanSr AlftanSr is offline
Registered User
FRC #1013
 
Join Date: Feb 2010
Location: Arizona
Posts: 12
AlftanSr is an unknown quantity at this point
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2010, 15:46
chris janney chris janney is offline
Registered User
FRC #3266
 
Join Date: Jan 2010
Location: eaton ohio
Posts: 46
chris janney is an unknown quantity at this point
Re: Java, Camera, Watchdog...

hey ours isnt working as well. any advice?
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2010, 12:30
adamdb adamdb is offline
Registered User
#1583
 
Join Date: Feb 2005
Location: Parker, CO
Posts: 64
adamdb has a spectacular aura aboutadamdb has a spectacular aura aboutadamdb has a spectacular aura about
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.
__________________
Adam Bryant
Programming Mentor
Team 1583
Ridge View Academy Rambotics
Reply With Quote
  #6   Spotlight this post!  
Unread 22-02-2010, 23:18
Daniel Jones Daniel Jones is offline
Registered User
AKA: Hanes
FRC #0190 (Gompei and the HERD)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Shrewsbury MA
Posts: 13
Daniel Jones is on a distinguished road
Re: Java, Camera, Watchdog...

Does your camera have the administrator account set to username FRC and password FRC?
__________________
"there are 10 types of people in this world, those who understand binary and those who don't"
Reply With Quote
  #7   Spotlight this post!  
Unread 23-02-2010, 08:33
AlftanSr AlftanSr is offline
Registered User
FRC #1013
 
Join Date: Feb 2010
Location: Arizona
Posts: 12
AlftanSr is an unknown quantity at this point
Re: Java, Camera, Watchdog...

Yes it does. The camera works with Labview
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera Starving Watchdog daltore NI LabVIEW 2 31-01-2010 13:24
Java/Netbeans Camera Code for Classmate PC and Axis Camera joshholat Programming 1 23-01-2010 14:59
Where can I find camera tracking code for Java? nikRbokRz Java 4 20-01-2010 23:35
Java Camera Video on ClassMate Thomas4019 Java 8 16-01-2010 00:18
Camera Control in Java Imadapocalypse Java 1 09-01-2010 21:46


All times are GMT -5. The time now is 11:02.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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