![]() |
Re: 2009 Control System Possibility?
Quote:
Quote:
|
Re: 2009 Control System Possibility?
Quote:
Going along with that, what about teams that choose not to invest resources to build up their programming expertise? A team without mechanical prowess can turn to AndyMark, but there is no source other that Kevin Watson for programming help. There are scattered whitepapers and forum posts, but no real tested and reusable code. A library of solid source code would be beneficial to everyone. |
Re: 2009 Control System Possibility?
Quote:
My programming training involves: 1. Having the kids read and understand Kevin's template to understand how the code works. 2. Teaching the basics of PID coding, switch debouncing and the like. 3. Trying to introduce behavior-based programming, to give the kids something to hang everything on. Then I sit back and watch what they do. Sure I make suggestions and help them debug, but mostly I enjoy having them show me what they have done! They come away from the process with the self-confidence of having created a piece of code which makes the robot perform as they wish and the knowledge gained by doing the coding themselves. That is what FIRST is all about! |
Re: 2009 Control System Possibility?
Quote:
Quote:
I also agree that engineers should be giving back, but I had better not see: Quote:
-Danny |
Re: 2009 Control System Possibility?
First of all, this thread contains some of the best discussions I've ever seen on Chief Delphi.
The two common viewpoints here seem to be either that a low-level system is better since students learn more or that high-level is better because it allows everyone to be more competitive. How about a mix of the two? That's what we have right now - more experienced / advantageous teams can write everything in C (which is low-level enough), and the others can use easyC/WPILib. Of course, neither option comes with complete control logic for everything, but the basic building blocks are there - we can use encoders, gyros and the like right out of the box (ok, small tweaks are often necessary). The argument that this is not enough is not valid. Software and hardware are very similar in this aspect: FIRST doesn't ship us a complete drive base that works right out of the box - they give us frame components, gear boxes and motors, and we can figure out what to do with it. Continuing the hardware to software analogy, if all teams were given a full drive base, would that make FIRST better? In my opinion, it would not - it would take away from the design process and frankly, it would make the robots boring. Would we see swerve drives on the field if everyone was given a full drive base? Similarly, the fact that we are not given full software blocks makes FIRST more competitive. Now, to get back to the actual topic, how would any hardware solution affect what the software can do? As long as FIRST leaves enough possibilities (aka, the choice of either using low(er)-level or high(er)-level programming), anything is possible. I don't think that FIRST should give us full software solutions to common problems, though. Coming up with those solutions is just as important of a lesson as finding solutions to mechanincal problems. Lastly, the community has a huge influence over what is available to teams. I know that CD is always willing to help out people asking for help, but every team needs to be aware that this resource is available. It would also be helpful to newer teams if the older teams stepped up and released some of their precious source code. I know everyone is proud of what they achieve and does not want to give it up to other teams since they want to keep the competitive edge, but if we want to make competitions more interesting, we need to give some of it up. |
Re: 2009 Control System Possibility?
What's ahead for 2009? Look what First has shown so far. LEGO league is NXT. FTC will be a NXT with an add on board for motors and sensor expansion. Note that the LEGO NXT base includes closed loop motor control. While it allows for raw a to d sensors, the sensor ports clearly show the intention to use full conditioned and inteligent sensors that comunicate thier state by I2C master slave bus comunication. The currently un used but enormously powerful feature of the NXT is the high speed RS485 master slave multi drop port.
This is a totaly different hardware platform from what IFI has provided the FIRST comunity. I would bet some money ( maybe 5 cents) that the new 2009 FRC would also be a more capable version of this hardware platform. So FTC will have a ST MIcro ARM7 as the master (where we write the main robot controll program), a ATMEL microcontroller slave to do A to D, a BLUE TOOTH comunications slave, a graphic LCD slave ( state or diagnostic display), 3 I2C ports for inteligent motor and sensors, and a high speed port for the realy heavy duty needs. The platform is expandable. I wondered which direction FIRST would go back in this thread. http://www.chiefdelphi.com/forums/sh...679#post641679 If FIRST does go down this path, what about software? Looking at the new FTC system there is the NXTG graphical drag and drop NI developed platform, the NI student version of Labview with NXT plug in blocks, CM Robot C , maybe Easy C, open source? and hate to bring it up but MSRS. That's allot of programming options.This is a very different environment than the IFI system. Any body that thinks this platform is going to be too easy and not expose students to serious programming probably never worked with distributed serialized control systems before. This platform could allow us to abstract at a high level and also have the need to show students the low level down and dirty progamming. The high level is done on the ARM master and the low level is on the microcontroler on the inteligent sensors and motor controllers. It's hard enough to develop a state machine to control something like a robot. The thought of programing it at the low level in MPLAB makes my eyes glaze over. If NI does it right we could be writing state machines in lab view next year. If This is the new FRC platform, I hope the game committe takes pitty on us next year and gives us an easy game. Change is nasty but it happens. |
Re: 2009 Control System Possibility?
I feel bad IFI is getting the boot from FIRST... i kinda hope it doesn't happen, at least for the field control and such... plus, it won't be as easy as saying "Hey, where's the IFI guy?" anymore when you have a radio problem or whatever... saying "Hey, where's the FIRST guy?" won't really get you very far. :o
I'm guessing it's a price thing... the FRC controller is mighty expensive. But, if FIRST is really designing their own controller, a few specs i'd like to see: > tiDSP processor (or, if they want to stay with microchip, a PIC32 would be nice too) > digital serial communication (of some sort) to motor controllers w/higher chop frequency (to get rid of the angry buzzing associated with most first robots) > same 16 channel analog in > i'm ok with the number of digital I/O pins, but it'd be nice to have a few more (maybe like a total of 24 instead of 18) > some sort of locking mechanism to hold the pwm cables on or a mass pwm connector so all your cables can be connected to a main terminal block, say, one for all your analog inputs, then that whole block can be locked into the control board. > gyro and accelerometer chips mounted on the main controller PC board near processor anaog pins to minimize possibility of electrical interference. > 5v tolerant I/O (may require level converters for I/O) > ZigBee radio > Programming port on OI panel along with program mode button on OI panel. And... yeah that'd be good. :] -q |
Re: 2009 Control System Possibility?
Quote:
Yes, those are DB-25 Cup connectors for the analog and digital I/O. tee-hee-hee Jacob |
Re: 2009 Control System Possibility?
Quote:
Quote:
|
Re: 2009 Control System Possibility?
Code:
if(BLUETOOTH == true && NATIVE_FLOAT == true){ |
Re: 2009 Control System Possibility?
Quote:
|
Re: 2009 Control System Possibility?
Quote:
I realize they have extreme rates of change on their digital lines (0->VDD VDD->0 transitions) that can ring far up in the high frequency electromagnetic spectrum. It could be a problem, but there are PCB design softwares available from multiple manufacturers today (Like Mentor Graphics) that incorporate high frequency physics tools into their auto routers and simulation environments. I don't think it's beyond the capacity of FIRST to pull off. For what most teams do, yes, it's overkill... but as a note some universities use these ti processors in controls classes because they have enough speed to both do vision processing and silky smooth motion control at the same time to make neat robots that can do things like balance like a segway and follow a colored ball at the same time, from the same processor. But anyways, if you don't want to make the jump to light speed, but still make a jump to slipspace, Microchip is coming out with a line of 32 bit cores that run at 80MIPS as opposed to the current 8-bit processor's 40, and i imagine these processors i mentioned in my previous post will be much more affordable than the tiDSP, while still enableing some pretty fancy footwork motion control capabilities (the whole single-instruction-fractional divide, single-instruction square and accumulate :yikes: , and vectored interrupts in the new PIC32's makes me sweat cold :o ) I'm really looking forward to their release date. Does that mean I'm geeky? :] -q |
Re: 2009 Control System Possibility?
Quote:
Also, note that they are "Digital Signal Controllers", rather than "Digital Signal Processors". The difference is perhaps semantics, but the C2000s feel a lot like a microcontroller with a gorgeous math processor. Imagine for a moment what types of control loops you could run on them. Lastly - accounting for physics is really really easy at their speeds. They run as fast as 150MHz _internal_. 150MHz is pretty tame, all things considered. |
Re: 2009 Control System Possibility?
Quote:
|
Re: 2009 Control System Possibility?
Quote:
Also, I've heard rumors that FIRST has been collecting engineers in preparation for taking on the engineering load of designing and maintaining their own control system hardware/software. (source: a mentor on our team watches whenever FIRST opens up job positions and has seen a lot of engineer hiring lately) Come by and see us sometime in Atlanta! -q |
Re: 2009 Control System Possibility?
Quote:
come with a C programming level abstraction. You don't have to know what the hardware is as long as all your friendly code comes along for the ride ( knowing pin outs is still a must:ahh: ) but programming is the same as always pretty much except it is pretty much light speed. Microchip's 24 and 32 series has a really great auto data collector called Direct Memory Access or DMA. It means the core processor doesn't even see the data going by from the A/D or CAN or Communications Ports. This lets your real code be really busy without messing with a bunch of interrupts until you say so and want to look over all that data its collected for you. I hope we don't go Graphical Programming. If you look real hard you will notice that LABVIEW has "script type boxes" to put real code in when LABVIEW starts to choke. The one caveat here is though if they go to some sort of multi-core processor Labview can run multiple threads (programs) at the same time. No interleaving or round robin(sharing). That starts the beginning of ARTIFICIAL INTELLIGENCE ALGORITHMS!:eek: Now your robot can make some decisions on its own like full collision avoidance based on a camera. Not at all of the realm of multicore. Who knows. Maybe it won't work and they will go back to IFI? |
Re: 2009 Control System Possibility?
Quote:
|
Re: 2009 Control System Possibility?
Quote:
|
Re: 2009 Control System Possibility?
Data flows are pretty cool.
Data flows inside of state machines are even cooler, and really powerful. |
Re: 2009 Control System Possibility?
Quote:
-Danny |
Re: 2009 Control System Possibility?
Quote:
Ladder logic would be easy to program the robots. |
Re: 2009 Control System Possibility?
Well, I guess all our questions have been answered, and this is no longer a question.
My speculation about 802.11 WAS correct, just I was off-base on the IFI portion of it, it's an NI CompactRIO. |
| All times are GMT -5. The time now is 03:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi