Thread: Camera Tracking
View Single Post
  #5   Spotlight this post!  
Unread 01-02-2009, 09:38
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: Camera Tracking

Quote:
Originally Posted by Greg McKaskle View Post
Sorry about that. Answer enough and you don't know where you are.

If you are getting a slow framerate due to displays or other things, and you are moving the target moderately fast, it seems reasonable to get pretty big and sudden jumps in the setpoint. Are you sure the rest isn't just tuning? If you are using the outputs wired to drive, it takes -1 to 1 range, right? So are your outputs in a range like that?

If I'm still not getting close, maybe you should copy the graph and paste it in the next post.

Greg McKaskle
Hehe, no problemo.

Eh, this situation is so confusing. We move the target around in a slow walk to a walk and the graph shows up in lots of jumps (not a nice "smooth" square wave we could expect with Image Processing.vi running so fast). I need to record some of the data and get the latest project on my HDD so I can show what exactly is happening.

On our PID loop, we've got the output limits at 50 and -50 and a divisor at 200 or 100, I can't remember which. We use a divisor and such high limits so that we can use integral, but with my limited use of a PID loop, I'm probably getting ahead of myself and should stay with just -1 and 1 outputs?

Thanks
-Tanner
Reply With Quote