Go to Post Now the big question is, does Dave think this is pimp? - Mike Schroeder [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #25   Spotlight this post!  
Unread 10-03-2010, 08:15
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,753
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: Comments/Complaints on NI control system

Quote:
The cRio connects via Ethernet to its camera, downloads a new image, processes it, and drives to the target, while causing the swerve drive controls to freak out from the non-constant loop time (even though vision is running in a separate virtual thread). I have seen vision processing mess up PID calculations. That's exactly why we didn't use the camera in 2009 with our swerve drive.
I hadn't heard many complaints about this. The framework for 2009 was kept simple and not designed specifically for a swerve robot. The "virtual threads" are real vxWorks threads BTW, and by default everything runs at the same priority. My suggestion to try and improve this would be to up the priority on the PID or lower it on the vision. VxWorks and LV RT are certainly used in realtime applications just as demanding as keeping wheels pointed in a particular direction. Also, learning to use the tools to learn where the processing is going, what latencies are being seen, and where memory is going, is IMO a good problem.

The thing about vision is that it produces so much data that it can bring almost any processor to its knees. Some simple things can be done with little code, but people have very high expectation -- "My two year old sees it, why doesn't the computer?"

If you want to post a good description of your lag, perhaps I can help you find the issue and solve it for real rather than talk about fictional ones. PM me if you want to try and do this interactively or want to provide code.

Greg McKaskle
Reply With Quote
 


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
Control System wmatt2014 Control System 9 01-02-2008 09:56
IRI - Comments, Suggestions, Complaints, etc. Chris Fultz Off-Season Events 5 11-07-2004 20:42
Control System archiver 2000 0 23-06-2002 22:51
control system archiver 2000 1 23-06-2002 22:04
Annoying People Are Bad Thread (Post Complaints Here!) Joe Matt Chit-Chat 20 15-02-2002 23:23


All times are GMT -5. The time now is 14:17.

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