Go to Post Here on CD, we are all one big FIRST team, mentoring each other. - Joe G. [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
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 17-01-2012, 12:15
Kovs's Avatar
Kovs Kovs is offline
Registered User
FRC #1259 (Paradigm Shift)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Pewaukee, Wisconsin
Posts: 19
Kovs will become famous soon enough
Jaguar Speed Control Issues

Hello, I'm a programmer for my team, and we're having problems getting the Jaguars to work in Speed Control Mode (PercentVBus works fine, jaguars return their speed).

We're using quadEncoders on toughboxes. I've tried many combinations of different P's, I's, and D's.

With positive P's, the drive usually won't do anything until the wheels are moved while the wheels are supposed to go in one direction. In this case the jaguars go to full power.

With negative P's, the drive usually jitters back and forth rapidly whenever I give it input (1.0). Could this be oscillation around a low speed?

I have to wait until exams are over on Thursday to try code on the robot again, but I want to check to see if perhaps these are signs of me skipping over something. Or maybe I should just be trying a very small negative P?

I appreciate any replies.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2012, 12:51
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,712
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Jaguar Speed Control Issues

Have you tuned the PID values yet? What you are describing could just be an unstable system that hasn't been tuned. Try lowering your P and see if that helps.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2012, 14:48
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Jaguar Speed Control Issues

Quote:
Originally Posted by Kovs View Post
Hello, I'm a programmer for my team, and we're having problems getting the Jaguars to work in Speed Control Mode
You are not alone. Take a look at this thread:

http://www.chiefdelphi.com/forums/sh...d.php?t=100135

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


All times are GMT -5. The time now is 20:15.

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