Go to Post A lot of people forget this when posting, but your posts here on ChiefDelphi will more or less be here forever. Do you really want that post you just be made to be on the Internet forever?... Post wisely... - artdutra04 [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 01-27-2010, 07:58 AM
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Flickering Victors

I don't have my hands as deeply in the code as in the past, so this may not be all that descriptive, but hopefully someone will recognize the behavior I saw yesterday, and point me in the right direction for debugging today.

My students are programming the robot in Java, and it sounds like what they've put on the cRIO is very close to the default code, with the notable exception of configuring the drive code to use Victors rather than Jaguars. When the code is running, and no one is touching the joystick, the lights on the Victors change colors rapidly and chaotically. The joystick appears to be configured correctly, because I see the messages about switching from arcade to tank when I move the throttle. The pattern seems to change when I move the joystick; we see brief periods of solid green (but not red) mixed in with the flickering. The behavior is the same whether we're in arcade or tank. The odds that all four of our Victors are on the fritz seems unlikely, so I'm leaning toward some software configuration issue. In any case, I'm totally perplexed... any suggestions?
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Reply With Quote
  #2   Spotlight this post!  
Unread 01-27-2010, 08:17 AM
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Flickering Victors

If you look at the Diagnostics tab on the DS, it will show some/most of the errors that are happening in the SW.

In particular, are user watchdogs happening? You may need to clear the display and see what new stuff shows up.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 01-27-2010, 11:42 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Flickering Victors

It sounds like it's still using the Jaguar class. The faster update rate and wider pulse widths that the jaguar class uses cause problems for Victors.
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
Blown Victors teh_pwnerer795 Electrical 16 01-14-2007 10:31 PM
splicing victors h0x4r Electrical 6 02-19-2005 03:46 PM
Calibrating Victors SpaceOsc Control System 27 11-19-2004 07:59 AM
In need of victors Big H Kit & Additional Hardware 1 02-18-2004 08:35 PM
victors great_one411 Electrical 4 02-06-2003 09:08 AM


All times are GMT -5. The time now is 07:35 AM.

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