Go to Post ...remember RAID 0 is a trap. - Sperkowsky [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2010, 20:39
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Victor Controller Troubles

Hi all,

We're having a slight oddity on our robot's drivetrain. Everything seems fine, but when we start to move the drivetrain it kind of stutters. It's not too evident, our drivers can correct for it, but it's really kind of annoying just to have a problem that exists. The stuttering is quite quick and probably lasts ~100-200 ms. Looking at some probes in LabVIEW, I can see that the joystick values are fine and stable, but doing some digging in the Arcade Drive VI, digging into where it actually sets the motor speed, I can see that it'll set the motor to the correct speed, go to zero for a very short period of time, and then go back to the correct speed. This happens very fast for all the drivetrain motors.

And I'm not sure if this is related but all our victors seem to be going slightly crazy for color indicators. They're not solid red/green/yellow anymore and more like in a disco dance mode - flashing between all of the colors very quickly it appears. I'm not sure if it is all the colors, but it's certainly like a strobe light and appears abnormal. Though they still work fine spite the small bug described above.

Anyone know what could be causing this? I've never known to Victors to have trouble - usually they just work.

-Tanner
  #2   Spotlight this post!  
Unread 21-02-2010, 20:52
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,557
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: Victor Controller Troubles

The Victor will act weirdly if you select Jaguar in the code, because it will change the update rate beyond what the Victor can handle.
  #3   Spotlight this post!  
Unread 21-02-2010, 20:55
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: Victor Controller Troubles

Quote:
Originally Posted by Joe Ross View Post
The Victor will act weirdly if you select Jaguar in the code, because it will change the update rate beyond what the Victor can handle.
That's not it. Our drivetrain is selected to use Victors.

Thanks
-Tanner
  #4   Spotlight this post!  
Unread 22-02-2010, 07:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Victor Controller Troubles

This almost sounds like the robot is being disabled for a fraction of a second. The Victors will go blinky yellow when this happens. Does the Dashboard give an indication that the Watchdog is shutting down the robot briefly?
  #5   Spotlight this post!  
Unread 22-02-2010, 21:12
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: Victor Controller Troubles

Quote:
Originally Posted by Alan Anderson View Post
This almost sounds like the robot is being disabled for a fraction of a second. The Victors will go blinky yellow when this happens. Does the Dashboard give an indication that the Watchdog is shutting down the robot briefly?
I do not believe so.

-Tanner
  #6   Spotlight this post!  
Unread 23-02-2010, 18:46
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: Victor Controller Troubles

I think the problem was that I had some code in LabVIEW that I was not using, but it was still there (yeah, bad idea) so it was available to run. I think it was just setting the motors to zero every so often, spite what the joysticks said as it ran in parallel to it.

At least that is what I think it is. Haven't tested it yet (lack 'o robot), but it seems like a good theory.

-Tanner
Closed Thread


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
cRIO - motor controller code (esp. victor) ericand Programming 8 06-12-2008 22:09
Non-Victor Speed Controller FourPenguins Electrical 6 31-10-2006 15:46
What Victor for VEX Controller? Chris_Elston Electrical 5 25-04-2006 21:00
Victor controller problem llambele Technical Discussion 3 14-11-2001 23:00
Robot Controller & Operator Interface troubles patrickrd Technical Discussion 10 25-10-2001 07:36


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

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