![]() |
Purchasing the 2009 controller
Hey guys,
i wanna purchase the 2009 controller to play with during the off season. Do you know where i can do that, and what will the estimated price be? Thanks a lot =] |
Re: Purchasing the 2009 controller
The cRIO costs 3k without all the modules that make it useful. FIRST is going to get a big discount also they are working on some custom comments that will allow for easy PWM control so until they release the entire package prototyping will be difficult anyway.
|
Re: Purchasing the 2009 controller
Liron,
that's a great question....I sure want to know the answer! Later in the fall, announcements will be made at ni.com/community/first. In the meanwhile, they will have tutorials and training available there on-line. You can also use the NXT in the Mindstorm kit and program it with Labview; the C environment will only work on the PAC system from NI. |
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
http://lejos-osek.sourceforge.net/
C/C++ support for NXT. I can't wait for the compactRIO, but I don't have Mindstorms, so I can only get our new hybrid code working for sponsors :( . |
Re: Purchasing the 2009 controller
Some links and prices for reference:
Here's a good set of links to CompactRIO products: http://zone.ni.com/devzone/cda/tut/p/id/3114 $3000 - This is what "looks like" the FIRST integrated controller and chassis (no guarantees from me though) (NI 9074): http://sine.ni.com/nips/cds/view/p/lang/en/nid/203964 Note: The NI website indicates 128MB RAM and 256MB storage, while the FIRST FAQ indicates 64MB/128MB, so this may be an indication that FIRST is getting a customized version -- or it might just be a typo. :) $350 - The analog input module mentioned on the website (NI 9201): http://sine.ni.com/nips/cds/view/p/lang/en/nid/14588 $350 - The digital I/O module mentioned on the website (NI 9403): http://sine.ni.com/nips/cds/view/p/lang/en/nid/203425 $100 - The "solenoid" module mentioned on the website (NI 9472): http://sine.ni.com/nips/cds/view/p/lang/en/nid/14175 Again, no guarantees that FIRST will use these exact versions.... So, ~$3800 to get the whole package now -- nearly the cost of entry for a regional competition. :ahh: Plus, I don't know where to get the new power distribution block and digital sidecar board, or how much they might cost. Some options to save a few bucks: $1500 - What looks like a lower-end controller, with less RAM/storage (and no integrated chassis): http://sine.ni.com/nips/cds/view/p/lang/en/nid/203347 $700 - What looks like the lowest-end chassis (no integrated controller): http://sine.ni.com/nips/cds/view/p/lang/en/nid/14156 So if you really want something to play with in the pre-season, you could spend ~$3000 for a somewhat limited controller/chassis, or $3800 for the (possibly) real thing -- or save all kinds of money and just do research until you get the real deal in 2009. FRC is definitely getting more expensive for the off-season... Each team will have to judge their spending based on their own budgets and desires for off-season work. I kind of hope that they DON'T release the final controller, etc, until the 2009 kickoff, it would be a nice little equalizer for lower-budget teams if everyone had to start their hands-on learning curve at the same time next year. :P |
Re: Purchasing the 2009 controller
We have some mentors, one of them who works with a guy at National Instruments, who are pushing for getting us a controller that we can learn and prototype on in the post season.
even if it isn't the actual controller we are getting next year, we cant exactly train new programmers on our old board. I'm so excited for this thing- 32 bits of tastiness. Ill never have to worry again about the ADC interrupt corrupting my floating point calculations!! |
Re: Purchasing the 2009 controller
The guys at the NI booth said the FRC controller will be a hybrid of the cRIO-9072 and cRIO-9074 with it leaning more toward the later. They also said FIRST plans on giving teams only one instead of a new one each year. The price of the additional cRIO-FRC with modules is supposed to be comparable to what we pay now for an additional IFI-RC.
|
Re: Purchasing the 2009 controller
Quote:
did he say when it'd be available? |
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
we're trying to at least get a cRIO to mess around with before the summer. i know it won't be like the FRC one, most likely (software, standard libraries, etc.) but i like PLC's anyways, and wanna learn LabVIEW lol.
|
Re: Purchasing the 2009 controller
Quote:
1. if you intend to develop new teams by lending them old robots that totally shoots that idea in the foot. If you intend to use robots for public relations purposes it also ruins that idea. 2. if the "kit" will cost the same from year to year but you don't get a processor with each one then why not register as a new team and get a rookie kit? Why should the "veteran" teams be denied if they are paying the same price as new rookies. True- recycling the thing is a neat idea but old robots have lots of good uses and ripping their brains out is simply a brainless idea. 130 lb paperweights- I don't think so. WC :cool: |
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
Quote:
http://first.wpi.edu/2009_FRC_Controller_FAQ_FINAL.pdf It's the last question (and 2 questions) under Logistics, near the top of Page 3. |
Re: Purchasing the 2009 controller
Quote:
I must say their answer is kind of weird since they didn't answer their own question. I actually understood the opposite from the NI reps who said teams would be getting a new one each year so they could continue using their old robots. |
Re: Purchasing the 2009 controller
Yeah it did not explicitly state that teams will be reusing old controllers. The passively stated "may" and further added that new components may be used to modify an old controller. Maybe this is kin do like how at the regional, we couldnt use a pre-2004 IFI controller since IFI modified their controller over the years.
Btw, speaking of IFI, do you think the 2008 robot controller will be dramatically reduced in price? I see it as a potential educational tool for our middle schools. Thanks |
Re: Purchasing the 2009 controller
Only a few hours after initially talking to the NI guys, apparently they may be able to send us some COTS parts- the cRIO amd the PWM, digital IO, and solenoid plugins.
more updates to come... |
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
Yes, the cost of the cRIO-9074 plus the modules is quite significant, so we are not able to provide (read: DONATE) a new cRIO controller to FIRST each and every year. So, you will be required to re-use the cRIO for multiple years - though new (read: ADDITIONAL/SUPPLEMENTARY) cRIO modules may be given to teams in their KOP if new modules are required or are advantageous. Teams who want a new controller each year will be required to purchase a new unit plus modules at the incredibly discounted cost.
-Danny |
Re: Purchasing the 2009 controller
Quote:
I would like to know how "heavily reduced" the price of the system will be for the offer to sell a "second controller" to a team each year? Does that imply we would get a new controller each year? Or- to put it bluntly- does anyone actually know the facts here? WC |
Re: Purchasing the 2009 controller
The only hard facts you will see are in the FAQ at http://first.wpi.edu/2009_FRC_Controller_FAQ_FINAL.pdf other then that what you will get from most of us is what we were told at the NI booth in Atlanta.
|
Re: Purchasing the 2009 controller
Quote:
Frankly I don't understand how FIRST can possibly claim that they are not increasing the cost of the program. To get the same equipment that we currently get each year (since we, like many teams, really like to keep our old robots functional), we're going to have to spend an additional amount of money (likely $1000+) each year. If we choose not to spend this money, we get LESS than what we get now. How is that not raising the cost? A different NI rep also told us that the software for the system is not done yet and will not be complete until sometime in the fall, so we may not see availability of this stuff anytime soon. |
Re: Purchasing the 2009 controller
Quote:
Quote:
-Danny |
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
Quote:
-Danny |
Re: Purchasing the 2009 controller
Ok, so now we've heard some information from an official source. Thanks, Danny.
As someone starting a new team, I was very concerned about this whole price-of-a-second-controller issue. I'm not technically inclined, but overall I'm excited for this new system and the possibilities it presents. |
Re: Purchasing the 2009 controller
Wow.... I appreciate the donation by NI, but not getting a new controller per year is a major step backwards; regardless of it being more advanced.
|
Re: Purchasing the 2009 controller
Suppose an automobile dealer were to offer the following great deal:
|
Re: Purchasing the 2009 controller
We have thought about building a second robot for a long time. We want to make the leap to the next level and after some advice from some championship caliber teams we decided this is a must for next year. The extra driver practice is just to valuable.
But now that we have committed to ourselves to raise the funds necessary to make the leap next year, bam, up jumps the devil and another couple grand gets thrown into the mix. |
Re: Purchasing the 2009 controller
Quote:
Thanks for clarifying things Danny. Since 'the Real Thing' won't be available till fall, I'm trying to work out a strategy of teaching our team Labview. Looking at the material available at ni.com/community/first there doesn't seem to be much beyond "Getting Started With Labview". In addition, those of us who have been using Labview as a great lab instrument need to train up to programming the actuator outputs. This material should be available now, since we will be using a COTS unit. What would you recommend as a tutorial training sequence to start now? Thanks again in advance. |
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
In the past the $1100 bought you a new RC and OI as well as the radios. I wonder if the comparably priced extra cRIO will come with the modules, an additional drivers station and wireless system or if it will just be the cRIO base unit.
|
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
Quote:
Do you realize that unless you were at Nationals you still do not have access to this training and information? |
Re: Purchasing the 2009 controller
Quote:
http://www.chiefdelphi.com/forums/sh...95&postcount=8 here (which is available to everyone, and the link to http://first.wpi.edu/FRC/csoverview.html is right on first's website) also states that the cost will be significantly reduced. Either way - nothing indicates that the cost will be $2000 more than if it hadn't been the NI system. |
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
im betting it cant cost NI more than $300 in order to manufacture this cRIO and all of its components, and considering its a 'student' edition and a bit of a publicity stunt (2000 working demos is nothing to scoff at), we will probably see a complete unit at about $500 dollars at the heavily reduced price, which is really not much more than the current one.
|
Re: Purchasing the 2009 controller
Alright, kinda a topic change, but I'm looking to get on the ball ASAP.
Perhaps someone from the FLL area can help me out here. http://shop.lego.com/ByTheme/Product.aspx?p=9841&cn=17 If I buy a LEGO NXT brick, I can use the LabView kit to program it, correct? Can I get some RJ12 connectors, and use my own sensors? What would someone recommend to me to buy to get started in the LabView arena? Sorry, I'm a LEGO newb. Jacob |
Re: Purchasing the 2009 controller
Quote:
Think about that next time. -Danny |
Re: Purchasing the 2009 controller
Quote:
Quote:
To use LabVIEW to program the NXT, install LabVIEW, then grab yourself a copy of the LabVIEW NXT Toolkit. Once you get that installed, your LabVIEW installation will have an additional NXT palette with VI's that you need to interact with your NXT. You can get something up and running pretty quickly. Realize there are 2 modes for controlling your NXT - one that is downloaded to the NXT, the other is direct communication of the NXT. I recommend you start with the direct communication, since it's the easiest to get immediate results for testing. Then learn how to create a program that downloads to the NXT. I really like the NXT as a LabVIEW programming platform, since you can use the "light sensor" interface to get data from any type of simple analog sensor source. I put together a demo for the FRC Championships in 2007 (and kickoff in 2008) that used an FRC KOP Accelerometer and FRC KOP Gyro, I simply cut a couple extension cables in half and used them for inputs to the NXT from the sensors (2 for accelerometer since I wanted both X and Y axis info, and 1 for the gyro). In my code I merely read the "light sensor" value of the ports I connected them to, and viola, I had the data that I could put into a 2D graph, 3D graph, 3D Picture Control, or whatever I wanted. I built the robot, wired the sensors, and programmed the whole thing in the span of half a day - then again, I'm more proficient in LabVIEW than you'll be starting off, but given a little practice you'll get better. -Danny |
Re: Purchasing the 2009 controller
Quote:
I'm not familiar with the LEGO system at all. Is there an equivalent of an "OI", or do you use your computer via bluetooth to control the bot? Or do you use another NXT via bluetooth? Again, sorry I'm such a newb in this field. Just trying to get off the ground :p Jacob |
Re: Purchasing the 2009 controller
Quote:
For everything else, yes, you'd want to use SOME kind of laptop/computer interface for an OI, and you'd perform direct communicate with the NXT either via Bluetooth or tether via USB. For demos and stuff where you want to be uber cool, you can certainly use another NXT for controlling your robot using the NXT brick-to-brick communications - I don't recommend it normally, though, since you're eating 2 sets of batteries in that situation instead of 1 set; leave that for PR demo purposes only. Plus, if you want to use a USB joystick (or XBox gamepad via USB, or other USB controllers), all you need to do is plug the USB joystick into your laptop (and make sure all necessary drivers are installed) and then use the joystick VIs provided by LabVIEW and you've got instant programming access to your joystick. Some of the engineers here at NI even got a Wii-mote interface to work with LabVIEW, so I'm interested in playing with that a bit myself. I recommend you play with a laptop controlling the NXT directly via the USB tether connection with a USB joystick/gamepad, especially if you have any sensors on your NXT you want to play with. Remember that the communication stream is pretty slow when using Bluetooth, so feeding data like accelerometer or gyro data back to the laptop via Bluetooth is not going to be impressive at all, but via USB tether it'll be really nice. -Danny |
Re: Purchasing the 2009 controller
When I asked the NI guys, what they said to me is that they're looking into a tiering structure: 1st cRio is free with registration, second comes "highly subsidized", and subsequent ones will be retail price. This is NOT finalized, however, so don't expect it to be the case in the future.
|
Re: Purchasing the 2009 controller
Quote:
So I got my hands on an NXT. Should I just simply install LabView, and download the toolkit? Once I do, where should I get started? Is there some kind of getting started guide for LabView+NXT? Geez I feel like a n00b. Jacob |
Re: Purchasing the 2009 controller
After reading this little conversation, I'm leaning towards picking up an NXT myself and learning to program for next year. Kudos on all the help, Danny.
|
Re: Purchasing the 2009 controller
Quote:
Yes, follow these steps:
"View the Getting Started Guide" and it has everything you need to know about getting started and connecting up with the NXT through LabVIEW. The 4th link is "View the Advanced Programming Guide", and it contains the full NXT Toolkit programming guide. Each VI has help for it built into LabVIEW, and once you get the hang of programming LabVIEW it becomes fairly natural. If you run into any specific problems, come see me in the LabVIEW Forum here on ChiefDelphi and I'll be glad to help you out. -Danny |
Re: Purchasing the 2009 controller
Great info & advice Danny. Much appreciated!
|
Re: Purchasing the 2009 controller
Danny,
In the table of programming environments for NXT http://www.teamhassenplug.org/NXT/NXTSoftware.html It says that the NI Labview Toolkit lacks events, bluetooth, floating point?, and data logging. - Is this true? I would have thought that the Labview toolkit would provide a superset of all other functionality. Do you know if RobotC, which seems to have a Yes in every column at least for a windows environment would be useful training? I guess that would depend on what WPI is planning on putting over VxWorks. Thanks, Greg |
Re: Purchasing the 2009 controller
Quote:
NI LabVIEW NXT Toolkit Lacks ability to partner the NXT Brick to 3rd party Bluetooth Devices - TRUE. NI LabVIEW NXT Toolkit Lacks ability to do floating point - TRUE**. NI LabVIEW NXT Toolkit Lacks Automatic Data Logging Mechanism - TRUE***. * - You don't really think the cRIO supports interrupts, do you? :eek: ** - I say true only because that's what I've always been told, I am having a hard time finding the correct resource to completely back that claim up 100%. *** - You can always data log yourself, by writing data to a file as it's read. Quote:
Quote:
-Danny |
Re: Purchasing the 2009 controller
Danny,
Thanks for the information. What I was thinking about but didn't ask correctly is if the capabilities that are lacking in LabView for NXT might make the environment significantly different than it will be with the cRIO. It probably doesn't matter unless there is a better alternative right now for getting some practical LabView experience this spring/summer. We have been a C development based team mainly because it would have been a financial strain to buy EasyC seats for all our programmers. Also, with the excellent code that Kevin Watson wrote we really didn't need WPILib and without the WPILib source it was not possible to teach what was really going on at the hardware interface. We had some really great success stories of students building their own microcontroller projects, especially with the Atmel devices that really need no glue and no programmer other than a serial port and a few zener diodes. It was largely due to minor mods to Kevin's code that the students got the confidence to go there... I'm thinknig that with VxWorks already abstracting the HW the low level experience is gone unless we add a co-processor (that probably cannot be justified from a need perspective). We looked into the LabView simulation capability but it didn't look at the time as though that would work without EasyC. However we probably could have used MPLab and just made sure that we were populating the dashboard packets with what the VI was expecting. On the topic of the simulation environment was there any capability to model the mechanical system with motor power, wheel friction, CG, weight, etc? Never got to tutorial 3. That would be really useful. What we do now is measure the system response the hard way by inserting step changes in the PWM outputs and then record the wheel shaft encoder and gyro outputs and try to come up with a low order polynominal fit to model the system. Of course this year we hade a mecanum drive with no suspension that did not stay co-planer so there probaby was no hope for modeling. Thanks, Greg |
Re: Purchasing the 2009 controller
Quote:
|
Re: Purchasing the 2009 controller
Quote:
Instead of having interrupts, you have an FPGA - the FPGA is a pure polling mechanism, but it's extremely FAST. So, instead of having interrupts taking time away from the main processor, you've got an external unit managing a fast polling strategy for reading external sensors. -Danny |
Re: Purchasing the 2009 controller
Quote:
I'm a little uneasy about this news. If there aren't any interrupts, how will it be possible to do control loops that depend on doing measurements and computations at precise intervals? How can even a simple speedometer function be implemented? I'm guessing -- I'm hoping -- that what you mean by "no interrupts supported" is not the same thing as what I'm thinking of. |
Re: Purchasing the 2009 controller
I'm assuming that there must be some sort of way of scheduling things. VxWorks is a multi-task RTOS. How do you schedule anything without any interrupts? For example, this year we used the gyro which is a rate sensor. To get an angle we had to integrate it over time which requires an accurate time base. The FPGA could do this for us but we don't know what is in the FPGA and we can't change it. If the function that we need isn't there, how do we work around it? Similarly, the accelerometers can give you speed by integraing over time and then you can get distance by integrating the speed over time. In this case the speed isn't even a real input and is unlikely to be in the FPGA.
I've read up on the mpc5200 that is in the cRIO and there are 8 timers built into the processor. I suppose that those will still be available. |
Re: Purchasing the 2009 controller
Quote:
CompactRIO whitepaper has a lot of great details about the architecture. Quote:
After reading the whitepaper, I'm very happy with the architecture. My only qualm is that without real interrupts in the user code or the ability to reconfigure the FPGA, it will be impossible to add certain types of sensors without support from NI. I'm sure they will do a good job getting all the common ones in, though. |
Re: Purchasing the 2009 controller
VxWorks does indeed support interrupts and timers. A VxWorks BSP (board support package - code to support an architecture port of vxWorks on a unique piece of hardware) will possibly include 3 timer libraries.
The first is the system timer and includes functions like sysClkRateSet, sysClkRateGet, sysClkEnable etc. The system timer library is mandatory and is used by the BSP to generate the tick timer that support pre-emption. The system tick normally runs at 60Hz or 100Hz. It is common to raise the rate up to 1Khz. There is a watchdog library that hooks the system timer ISR to do its work. It is pretty easy to create watchdog, interval and one-shot functions. The watchdog library only works in the kernel context, if you are working in a RTP (real time process - very much like processes in linux) the POSIX timers are available. The second timer library is very similar to the system timer library, called the auxiliary timer library and includes functions like sysAuxClkRateSet, sysAuxClkEnable etc. It is commonly provided but is optional. Programmers make use of the aux timer library if greater precision (that the system timer) is necessary. It also works only in the kernel context, there is no analog in a RTP. The third timer library is the timestamp library. It is normally used by system profiling functions in the kernel context. It is less commonly provided and is optional. The idea is to support a very high-res timestamp rather that interval and one-shot functions. Finally, rolling ones own timer is pretty easy and not unlike using the timers on the 2004-2007 FIRST systems. You set a clock source, pre-scalar and initial value, register a ISR, enables interrupts and let it rip. But vxWorks makes it muuuuch easier to write interrupt service routines. HTH, Keith |
Re: Purchasing the 2009 controller
"im betting it cant cost NI more than $300 in order to manufacture this cRIO and all of its components"
That is way off. Students and indeed the general public are misled about the costs of computer-like things. We are used to buying consumer products which are made by the tens or hundreds of thousands or millions in China. NIs costs for the cRIO and modules are probably nearer to $1200 if they make them thousands at a time. And this is after putting in at least $500K in development. The development number would be much higher but this is not the first cRIO nor the first VxWorks BSP for this processor family. NI has a great reputation for quality and good thorough engineering. My concern is that they are also quite expensive. If NI sells the cRIO for something similar to the current RC/OI they will be losing money. Wind River's products are the best-in-class but also pricey. I'll bet Wind River is just giving away development platforms (that might normally go for $20K each). One hopes that new management at NI and Wind River will not cut off FIRST after a few years. Until they do this control system is cool and students will get a real-world close-up look at an industrial strength setup. The current FIRST RC/OI setups are really just souped-up toys in comparison. |
Re: Purchasing the 2009 controller
Once upon a time, THE computer company, IBM, was releasing this little product called the XT. They needed a GPIB board to allow it to be used in labs and mfg test. NI was able to land a make/break contract, providing the boards at a price that such a small company couldn't really manage.
This gamble forced NI to invest heavily in its manufacturing, drive down costs, allowed it to gain a foothold against bigger suppliers, and to self-finance many new products. Identifying investment opportunities and doing what it takes to win the gamble, is IMO one of the intangibles that separate well run companies into the goods and greats. Personally, I think the cRIO architecture is a winner, and now in its second generation, upping volumes, driving down costs, and getting it in the hands of smart and motivated people, is a similar gamble, well worth taking. NI isn't prone to walking away from things like this, and "new management at NI", is not something I'd really worry about either. I'm biased, but I think NI has a very strong and stable culture, not only at the top, but throughout the organization. Anyway, I thought this way-back story, might be appropriate to share some of NI's point-of-view. By the way, it is always fun to see others guess at your costs, and at your levels of investment. As far as I know, no prizes will be awarded. Greg McKaskle |
Re: Purchasing the 2009 controller
If I'm not mistaken, with the FPGA itself you can do quite a bit of fancy action-reaction or even PID loops
ADC / encoder -> FPGA ->PWM How configurable the cRIO is I'm not sure, being here in Singapore the chances of getting my hands on a cRIO isn't very high. Yet. :p Found a useful image here: ![]() And here ![]() One should offload most of the closed loop logic into the FPGA while the RTP handles monitoring, higher level processing, scheduling etc. Perhaps this explains why there are no support for interrupts. You don't need them! I think there is a certain level of paradigm shift from PIC based microcontroller programming to the cRIO observed here. In my opinion, having an embedded computer in a ruggedized chassis at $1k is pretty decent. Apart from their development costs, one must remember that these are industrial grade equipment. Maybe within the range of other industrial PLD/CPLD devices. On the sidenote, may want to consider thinking how many IFI processors, OI, etc which are already fried (dead), due to mistakes in connection such as polarity (oops!), high current surges, etc. I think the cRIO would be more reliable in this sense too. Edit: I'm thinking of sampling a cRIO here in SG, and probably budget for it so that the kids here who were playing with vex can try out some new stuff, though I'm completely clueless how to go about doing that. Any non-FRC members have any idea? |
Re: Purchasing the 2009 controller
Quote:
|
| All times are GMT -5. The time now is 02:46. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi