Go to Post Even when the system is "really good" it can always be tweaked a little to make it even better. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 23-03-2012, 09:49
Unsung FIRST Hero Woodie Flowers Award
Chris Fultz Chris Fultz is offline
My Other Car is a 500 HP Turbine
FRC #0234 (Cyber Blue)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 1942
Location: Indianapolis, IN
Posts: 2,837
Chris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond repute
Knowledge Base for Current Control?

Over the past month, we (234) have learned a lot more about the control system, data processing and communications and some of the DS capabilities (data recording, etc.) based on some challenges we had at SMR.

Since FIRST has already announced the contract with NI goes through 2014, what types of information, documentation and user guides would help all teams be more knowledgeable and successful with the existing system?

Some examples we had are:

* Single location that has the latest versions of all software versions (or at least a link to the site).

* Single location with photos of latest versions of hardware.

* Requirements for PC's if something other than the KOP Classmate is used.

Other ideas?


(PS - This is not a thread to debate NI / not NI. Please focus on what information would help teams with the existing system. )
__________________
Chris Fultz
Cyber Blue - Team 234
2016 IRI Planning Committee
2016 IndyRAGE Planning Committee
2010 - Woodie Flowers Award - Championship
Reply With Quote
  #2   Spotlight this post!  
Unread 23-03-2012, 10:57
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: Knowledge Base for Current Control?

A collection of simple example projects in multiple languages would be great.
  • tank drive
  • arcade drive
  • simple position control with a jaguar/victor and a resistive feedback element in a PID
  • encoder projects
  • gyro projects
  • accelerometer
  • vision
Then more complex combined projects that integrate multiple elements of the above.

If you want to set up a repository we can provide projects since we spent a ton of time working on this issue.!!!

Need better examples ( which may already exist ) of dashboard code and usage of DS cypress I/O.

Need a facility to determine processor load / idle time and get that back to the DS or via telnet/ssh.

Need an area for advanced topics such as datalogging both at the DS via the dashboard and onboard the robot either on a local file system or dumped via serial port to an offboard processor.

I liked the frc/kitofparts link on last year usfirst.org website last year a lot better than this years. I wish it would come back.
__________________
Ed Barker
Reply With Quote
  #3   Spotlight this post!  
Unread 23-03-2012, 12:07
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Knowledge Base for Current Control?

Quote:
Originally Posted by ebarker View Post
A collection of simple example projects in multiple languages would be great.
  • tank drive
  • arcade drive
  • simple position control with a jaguar/victor and a resistive feedback element in a PID
  • encoder projects
  • gyro projects
  • accelerometer
  • vision
Then more complex combined projects that integrate multiple elements of the above.
In LabVIEW, at least, all of these examples (and more) already exist. If you go under Help->Find Examples, the NI Example finder will appear, which contains sample code for almost anything you can do in LV, including many FIRST functions. It's a great resource, but I don't think many people know about it.

As for the other stuff, I'd be happy to write some example code in other areas and contribute to a Knowledge Base. I think it sounds like a great idea.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #4   Spotlight this post!  
Unread 23-03-2012, 13:15
carrillo694's Avatar
carrillo694 carrillo694 is offline
Alex Carrillo
FRC #0694 (Stuypulse)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: New York, NY
Posts: 66
carrillo694 is a jewel in the roughcarrillo694 is a jewel in the roughcarrillo694 is a jewel in the roughcarrillo694 is a jewel in the rough
Re: Knowledge Base for Current Control?

Quote:
Originally Posted by ebarker View Post
A collection of simple example projects in multiple languages would be great.
  • tank drive
  • arcade drive
  • simple position control with a jaguar/victor and a resistive feedback element in a PID
  • encoder projects
  • gyro projects
  • accelerometer
  • vision
Need better examples ( which may already exist ) of dashboard code and usage of DS cypress I/O.
In the documents section of the WPIlib project, you can find info on computer vision. You will also find many examples of tank/arcade drive and sensor usage in the Java/C++ documents, specifically the Cookbook and "Getting Started" guides, as well as the WPIlib users guide. WPIlibj (for Java) also comes with multiple sample projects that implement nearly everything on your list.

Quote:
Originally Posted by ebarker View Post
Need a facility to determine processor load / idle time and get that back to the DS or via telnet/ssh.
I believe the Driver Station reports cRIO CPU load in the "Charts" tab on the far right (I forget the actual name).

Quote:
Originally Posted by ebarker View Post
Need an area for advanced topics such as datalogging both at the DS via the dashboard and onboard the robot either on a local file system or dumped via serial port to an offboard processor.
The SmartDashboard makes data logging trivial. See our Java usage here. This data is sent to a SmartDashboard .jar that can be downloaded here, and in settings in that .jar you can save to a .csv. File writing on the cRIO is also standard I/O; google Java 2 ME File I/O.

In sum, documentation for the items you seek exists, but is not perfectly centralized or communicated. The wpilib project on firstforge.wpi.edu is a good starting point, though.
Reply With Quote
  #5   Spotlight this post!  
Unread 23-03-2012, 13:40
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: Knowledge Base for Current Control?

Quote:
Originally Posted by carrillo694 View Post
In sum, documentation for the items you seek exists, but is not perfectly centralized or communicated. The wpilib project on firstforge.wpi.edu is a good starting point, though.
Bingo !! - It is not small undertaking trying to explain all of this to a group of semi-veteran or rookie teams.

We just tried to train about a dozen rookie and semi-vets. Extremely challenging. Telling them to just go to usfirst.org or firstforge.wpi.edu or just google around isn't sufficient.

Personally I know and our team knows where all of this stuff is and how to do it. The problem is centralizing it and organizing it into a friendly easy to approach fashion.

The java and windriver examples are a little random and not really progressive. It isn't such a problem if you have plenty of software mentors (adult or student) but a lot of teams struggle to see the big picture.

Our students have held a lot of workshops teaching java and windriver where they have the pupils learn how to add controls and sensors in a progressive fashion. But it is in our head and not "out there" on the net for people to see.

I don't think we need something as fancy as CMU's robotC curriculum but that would be nice. If we can just have a central landing site that hosts or points to all the useful stuff that would be great. It would best be managed by someone and not just an upload site. Otherwise it turns into a morass of stuff that a lot of people are not going to dig through.

And we probably need a pages with a bunch of title/links to "how do I ....".

In summary we probably need:

1) centralized information map pointing or linking to everything you every wanted to know
2) HOWTO's
3) cirriculum

The curriculum may never get done. Big project, should look like CMU's stuff

I don't know if they still exist but there use to be a ton of HOWTO documents for linux app and linux kernel developers that was a compendium of probably answered questions, sitting in a central location.

Supporting a ton of teams is very tough and we a trying to hold them off until after the Championship and then we can spend from here to kickoff getting them up to speed.

Too much of it tends to be a verbal "here is where to do and how to find it". It almost reminds me of pre-history before the written word was invented and societies were oral and all history and knowledge was transmitted orally. I used to work with someone that grew up in Côte d'Ivoire under that type of knowledge transfer. In America when someone tells you a story it takes three minutes. Onetime this guy started a story at 2:30 pm on day and was still telling it at 11pm that night. But that is typical in Côte d'Ivoire. But I digress.

If you go to the bottom left corner of ChiefDelphis's home page there is "Useful Links" section. That is good news ! It is also bad news !

A lot of stuff, not really cataloged by sections. Plus big stuff like WPI isn't even there. And there are pages that just copy someone elses page instead of linking to it. The problem with copying instead of linking is the owner of the data cannot propagate changes locally.

Back before most of you were born we had something called a card catalog. You could look up information by author, title, or subject.

Instead of the marginally useful "Useful Links" section, If you could tree down starting with the subject of robot-->programming-->C or Java, or Labview-->then whatever you needed, like dashboard..

That would be useful..
.
__________________
Ed Barker

Last edited by ebarker : 23-03-2012 at 14:01.
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 11:53.

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