|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: NEW 2009 Control System Released
Quote:
Quote:
I'd favor no team programming of the FPGA. [But of course I'm not a VHDL programmer.] I also favor keeping the rule against custom motors. [And I am a motor designer.] |
|
#2
|
|||||
|
|||||
|
Re: NEW 2009 Control System Released
As an embedded software engineer I wouldn't want to comment on that until we know more about the architecture of the new system. Specifically where the "safety features" reside. There's some good ideas floating around about FPGA based counters for sensors such as encoders.
|
|
#3
|
|||||
|
|||||
|
Re: NEW 2009 Control System Released
Quote:
Something interesting with regards to the PowerPC processor they keep mentioning--NI appears to be using a Virtex II Pro FPGA in the CompactRIO. That FPGA actually has two hard-core 450MHz PowerPC processors connected to the FPGA fabric. I wonder if we will be allowed to use both cores, or if they are using the other core for something else (more Master functionality, perhaps). The biggest thing that is bugging me at this point is the sheer size of the applications that are downloaded to the controller. 75Mb+ for a simple two-wheel drive control program??? That screams bloatware to me! I wonder how easy it is going to be to chew through the 128Mb of FLASH storage? I also talked at length with the NI guys about the "Real time vision system". All of the vision algorithms actually run on the PowerPC processor, and if you do unbounded OCR or any vision processing at a higher level than basic color thresholding or simple shape detection, the system will not be real time. They were able to get the "reading" demo to work in real time because the words were surrounded by either an oval or a rectangle. I am not sure if they were using the OCR after that first processing stage or not, but they were definitely keying in on the shape. I just wanted to clear up some misunderstandings and confusing / conflicting information on that particular subsystem. All that said, if they can work out some of the bugs, this looks like a very powerful system and it will be interesting to see what teams can do with it! Last edited by Eldarion : 20-04-2008 at 17:02. Reason: Enhanced clarity |
|
#4
|
|||
|
|||
|
Re: NEW 2009 Control System Released
After reading a lot of the stuff available from FIRST, WPI, NI, and Wind River... and doing some integration/interpretation... and guessing, the following are some random opinions
Custom h/w and/or driver software will likely be discouraged the first year. Both would make it difficult to provide the type of deep generic support needed across all the teams. The programming of the FPGA will be canned and shouldn't be touched by individual teams again for the same reasons. Maybe in later years we'll be able to change this. LabVIEW is built on top of what VxWorks provides, so C/C++ is actually the native method of building apps. |
|
#5
|
||||
|
||||
|
Re: NEW 2009 Control System Released
After reading the first post to the last, I went back to the first again.
Can someone help explain this stuff to me in peasants terms? ![]() |
|
#6
|
|||||
|
|||||
|
Re: NEW 2009 Control System Released
Quote:
Its a "PC" running a flavor of unix operating system that you'll need to write an application program for. Hardware drivers for all the common stuff will be written for you so you just have to call them to get the data you're interested in. Take EasyC or WPILIB x 1000 in terms of the number of library calls that are available. Quote:
Quote:
Quote:
Quote:
Last edited by dcbrown : 18-04-2008 at 15:02. |
|
#7
|
||||
|
||||
|
Re: NEW 2009 Control System Released
So it's actually the same programming accomplished in a different style?
Edit: Had to fix my grammer. ![]() |
|
#8
|
||||
|
||||
|
Re: NEW 2009 Control System Released
And since its in C++, you would still be able to write in C, as long as it tagged as C, and in C++ at the same time ,right? Does this mean we will be writing classes, object, and using the C++ templates, et cetera?
|
|
#9
|
||||
|
||||
|
Re: NEW 2009 Control System Released
Quote:
You can do things with the vxWorks shell that are just not unix like at all. For example, you can call routines from the shell much like you can call programs from a linux command prompt. I hope that Wind River will give us access to some of the extra tools that can come with Workbench. For example, Wind River has tools which can monitor memory use as the your program is running, so you can detect memroy leaks. There are also tools for profiling so you can know how much time is spent in various routiens and how often those routines are called. Hopefully we can get Wind River to spring for some training assistance to allow us to make the best use of their tools. |
|
#10
|
|||
|
|||
|
Re: NEW 2009 Control System Released
Quote:
. You can call routines, change data, whatever you want. But from an application programming standpoint, the API provided in VxWorks is very unix-like. I guess what I'm trying to say is don't confuse utilities unique to VxWorks with the environment that the typical team will be using (if using C). Ditto on training. It would be especially nice if the full analysis tool set was available, possibly at extra, but discounted, cost. Last edited by dcbrown : 18-04-2008 at 16:38. |
|
#11
|
|||||
|
|||||
|
Re: NEW 2009 Control System Released
Wow - this looks pretty rugged. I can't help but wonder how long it would take Ricky to rip a port out of it...
![]() |
|
#12
|
|||
|
|||
|
Re: NEW 2009 Control System Released
but we don't have any serial cables to accidentally screw in anymore!
|
|
#13
|
||||
|
||||
|
Re: NEW 2009 Control System Released
The system looks, awesome. To me(I missed all the sessions and everything gotta catch up)its a lot more down to making a WHOLE lot better auto. code than the IFI controller was. Also from the pics I saw, it looks way more cooler and professional then IFI.
Quote:
![]() |
|
#14
|
||||
|
||||
|
Re: NEW 2009 Control System Released
Quote:
Quote:
![]() Last edited by neutrino15 : 19-04-2008 at 01:44. |
|
#15
|
|||
|
|||
|
Re: NEW 2009 Control System Released
Quote:
The above evaulation kit has the full doc set for VxWorks. Just remember, VxWorks is multiplatform targetted so this is the generic doc set. Some components such as full MMU support may not exist in the cRIO environment. But all in all, the documentation is a place for the software mentors to start. I'd start with the following Code:
Wind River General Purpose Platform, VxWorks Edition - Getting Started - general overview Code:
VxWorks Kernel Programmers Guide VxWorks Application Programmers Guide VxWorks Device Driver Developer's Guide VxWorks Kernel API Reference Wind River Workbench User's Guide VxWorks Command-Line Tool User's Guide Wind River Workbench Host Shell User's Guide Wind River Host Shell API Reference Wind River Host Utilities API Reference Wind River System Viewer User's Guide Last edited by dcbrown : 21-04-2008 at 14:36. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Buying the 2009 control system | BornaE | FRC Control System | 9 | 16-10-2008 17:16 |
| 2009 Control System Feature Wishlist | tdlrali | FRC Control System | 47 | 17-06-2008 00:25 |
| pic: 2009 Control System, Mounted | Billfred | FRC Control System | 23 | 01-05-2008 19:02 |
| 2009 Control System Possibility? | Racer26 | Rumor Mill | 121 | 25-04-2008 09:05 |
| Forum Request: Post-2009 control system? | Billfred | CD Forum Support | 3 | 22-04-2008 16:22 |