Go to Post If only more people could have the same attitude toward FIRST as they do toward their fellow teams! - Jaine Perotti [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-03-2004, 09:08
FadyS.'s Avatar
FadyS. FadyS. is offline
Registered User
AKA: Fady Samuel
#1246 (Agincourt Robotics)
Team Role: Programmer
 
Join Date: Sep 2003
Location: Toronto
Posts: 35
FadyS. is on a distinguished road
Future of Autonomous Mode

I've been looking at all the videos from the regionals and I'm very disappointed with the quality of autonomous mode. In the real world, in a manufacturing plant, robots are expected to work autonomously doing repetitive routines throughout the day. Successfully programming an autonomous mode is a part of the process of engineering a robot. When will we be able to use a Pentium 4 level processor for the robot? In fact, maybe they should let us interface the robot microprocessor with the PC so that the PC does all the processing and sends back data to the robot processor on what it would like the bot to do. We are currently stuck with very primitive sensors. If only we could mount a couple of webcams and use a PC-class processor, the sky would be the limit for autonomous mode. In fact, you could play the entire match in autonomous mode if you could use webcams. At that point, it would purely be a matter of programming. You could use neural nets and heuristic algorithms and other pattern recognition techniques to understand the situation on the playing field and to have the robot react accordingly. The robot would be able to learn over time as its neural net weights evolve. That would be my dream come true. I would love to try to program something that sophisticated. Digital sensors and even the analog sensors don't tell you much. On the other hand if your robot is processing realtime video, the sky is the limit. When do you think FIRST bots will be doing that? In 5 years? 10 years maybe?

EDIT: Yes, I do realize this is a high school level competition but there are a lot of very very talented young programmers out there who can do this and much more.

Last edited by FadyS. : 15-03-2004 at 09:17.
  #2   Spotlight this post!  
Unread 15-03-2004, 09:20
Joe Matt's Avatar
Joe Matt Joe Matt is offline
Wake Up Get Up Get Out There
no team
 
Join Date: Dec 2001
Rookie Year: 2001
Location: CAK
Posts: 5,067
Joe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond repute
Re: Future of Autonomous Mode

Quote:
Originally Posted by FadyS.
I've been looking at all the videos from the regionals and I'm very disappointed with the quality of autonomous mode. In the real world, in a manufacturing plant, robots are expected to work autonomously doing repetitive routines throughout the day. Successfully programming an autonomous mode is a part of the process of engineering a robot. When will we be able to use a Pentium 4 level processor for the robot? In fact, maybe they should let us interface the robot microprocessor with the PC so that the PC does all the processing and sends back data to the robot processor on what it would like the bot to do. We are currently stuck with very primitive sensors. If only we could mount a couple of webcams and use a PC-class processor, the sky would be the limit for autonomous mode. In fact, you could play the entire match in autonomous mode if you could use webcams. At that point, it would purely be a matter of programming. You could use neural nets and heuristic algorithms and other pattern recognition techniques to understand the situation on the playing field and to have the robot react accordingly. The robot would be able to learn over time as its neural net weights evolve. That would be my dream come true. I would love to try to program something that sophisticated. Digital sensors and even the analog sensors don't tell you much. On the other hand if your robot is processing realtime video, the sky is the limit. When do you think FIRST bots will be doing that? In 5 years? 10 years maybe?
When it comes down to it, it's the idea of 6 weeks vs. more time. Sure, you can do more with more time, but half the challange is the time limit. 6 weeks is believed to be the bare minimum that you can build a robot. Frankly, sure you can have a P4 (yuck) or PPC ( ) in a robot controller, but what we have now is the bare minimum. Many times in the real world you will not the option nor resources to use the best. Innovation FIRST had to re-build the scoring and controll system for the regionals at VCU using a few outdated computers! That's part of engineering challange. Trying to make something out of nothing that should work together.
__________________
  #3   Spotlight this post!  
Unread 15-03-2004, 09:37
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Future of Autonomous Mode

Quote:
Originally Posted by FadyS.
In the real world, in a manufacturing plant, robots are expected to work autonomously doing repetitive routines throughout the day. {...} When will we be able to use a Pentium 4 level processor for the robot?
Most likely, robots in the "real world" are using a processor closer to what we have in the robot controller than a Pentium 4. Very few appications outside of the personal computer make use of Pentium chips, because they are too powerful (and therefore too complex and costly) for the job at hand. The Mars rovers are a perfect example. They do all sorts of complicated things, and it's all controlled by a 20MHz RS/6000 derivative.
  #4   Spotlight this post!  
Unread 15-03-2004, 09:39
FadyS.'s Avatar
FadyS. FadyS. is offline
Registered User
AKA: Fady Samuel
#1246 (Agincourt Robotics)
Team Role: Programmer
 
Join Date: Sep 2003
Location: Toronto
Posts: 35
FadyS. is on a distinguished road
Re: Future of Autonomous Mode

Quote:
Originally Posted by JosephM
When it comes down to it, it's the idea of 6 weeks vs. more time. Sure, you can do more with more time, but half the challange is the time limit. 6 weeks is believed to be the bare minimum that you can build a robot. Frankly, sure you can have a P4 (yuck) or PPC ( ) in a robot controller, but what we have now is the bare minimum. Many times in the real world you will not the option nor resources to use the best. Innovation FIRST had to re-build the scoring and controll system for the regionals at VCU using a few outdated computers! That's part of engineering challange. Trying to make something out of nothing that should work together.
Well, it was just an example. I'm not saying the bot should be powered by a P4 but just a faster processor and much more memory so that it's capable of the more advanced stuff. Yes, I agree, the 6 week period will hold people back. Unless of course, FIRST provides some default code for say, detecting the big yellow ball or something. Besides, when the software gets more advanced, teams will see a greater need for professional mentors in the fields of software engineering and computer science and they'll get to experience the work involved in these disciplines.
  #5   Spotlight this post!  
Unread 15-03-2004, 09:42
FadyS.'s Avatar
FadyS. FadyS. is offline
Registered User
AKA: Fady Samuel
#1246 (Agincourt Robotics)
Team Role: Programmer
 
Join Date: Sep 2003
Location: Toronto
Posts: 35
FadyS. is on a distinguished road
Re: Future of Autonomous Mode

Quote:
Originally Posted by Dave Flowerday
Most likely, robots in the "real world" are using a processor closer to what we have in the robot controller than a Pentium 4. Very few appications outside of the personal computer make use of Pentium chips, because they are too powerful (and therefore too complex and costly) for the job at hand. The Mars rovers are a perfect example. They do all sorts of complicated things, and it's all controlled by a 20MHz RS/6000 derivative.
Again, I agree..I just meant to say a faster processor and more memory than the current PIC processor. The Pentium 4 was a bad example. I'm sure every year, the robot controller will continue to be upgraded. Microprocessors are getting cheaper all the time.
  #6   Spotlight this post!  
Unread 15-03-2004, 09:50
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Future of Autonomous Mode

Quote:
I've been looking at all the videos from the regionals and I'm very disappointed with the quality of autonomous mode. ...
I completely disagree. I think a lot of teams have been scared off by interrupts and the IR sensors and having to write a realtime embedded sequence in C this year

the learning curve of switching to C has been very high this year.

our team has our bot doing exactly what we want it to do in auton mode - knocking the release ball off then turning around to start collecting them all by itself

and we are using nothing but an Analog Devices yaw rate sensor, and the FIRST beacon detectors - and our detectors are in a fixed postion on the opposite sides of the bot, just to see when we are passing the beacon

in fact, we are not even using interrupts for the IR senors - just polling the INT1 and 2 flag bits to detect when those pins have changed state, then we clear the bits - no interrupts are enabled at all!

If we can do all this with these simple resources, what do we need a pentium and a camera for?

if teams cant even make there bot move in auton mode at all, throwing more complexity at them will not make it easier, it will make it worse.

throwing more money or technology or resources at a problem is never the right answer - if you cant get something to work at all using simple technology, you will never get it to work using something complicated .

Last edited by KenWittlief : 15-03-2004 at 09:52.
  #7   Spotlight this post!  
Unread 15-03-2004, 10:10
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Future of Autonomous Mode

Quote:
Originally Posted by FadyS.
I'm sure every year, the robot controller will continue to be upgraded. Microprocessors are getting cheaper all the time.
This is very unlikely. For something low-volume like the robot controller (a few thousand a year is pretty low volume), the majority of the cost is in the PCB design, writing the default software, and testing. The cost of the processor is fairly insignificant. I think IFI spent basically all of this past year redesigning the RC with the new PIC processor, and I'd be very surprised if they don't stick with it in it's current form for at least a few years. Designing and testing new boards with different processors isn't trivial - especially with the limited amount of time IFI has to work with.

If you have tried to write something that won't work with this RC because of not enough processor power or RAM or something, you might try sharing it here on CD. There's a lot of good software folks here, and they may be able to help you optimize your design so that it will work on the RC.
  #8   Spotlight this post!  
Unread 15-03-2004, 10:13
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Future of Autonomous Mode

I agree with Ken on this one. People had a bit of a rough time making the switch to the new processor.

I also feel that the PIC was a bad choice (however, I still feel it is a big improvement over last year's controller). I would have rather seen IFI go to an HC11 or HC12 that comes pre-loaded with a real-time operating system Kernel. We use this type of thing for our custom electronics and it is actually easier to work with than the PIC on the IFI controller.

I don't think teams will have so much trouble next year. There will be a lot of lessons learned from this year, a lot of whitepapers on the subject, and the rookie teams will have all of this knowledge and experience at their disposal before next year's build season starts. Let's see how next year goes before we condemn this year's system.
__________________
-
An ounce of perception is worth a pound of obscure.
  #9   Spotlight this post!  
Unread 15-03-2004, 10:22
10intheCrunch's Avatar
10intheCrunch 10intheCrunch is offline
Who's John V-Neun?
AKA: Alex Baxter
None #0254 (Cheesy Poofs)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: San Jose, CA
Posts: 129
10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough
Send a message via AIM to 10intheCrunch
Re: Future of Autonomous Mode

I know FIRST isn't supposed to be fair, but autonomous mode as it is out of reach for many teams. Programming a real AI as well as processing realtime video and active decision making for playing a game as complicated as FIRST's would not be possible for all but a very very few teams, and I believe those teams would mostly outsource their programming.

FIRST is For Inspiration, of course, but I believe that most of the work on a robot should be by students, and that includes programming. I know that I couldn't program to the level you are talking about right now; people go to college and spend their careers developing these tools and systems. Certainly C was the right move, but this would be far too much.
__________________
~Alex Baxter
Programming, Arms operation, Team 254
  #10   Spotlight this post!  
Unread 15-03-2004, 10:47
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Future of Autonomous Mode

Quote:
Originally Posted by Chris Hibner
...I would have rather seen IFI go to an HC11 or HC12 that comes pre-loaded with a real-time operating system Kernel. We use this type of thing for our custom electronics and it is actually easier to work with than the PIC on the IFI controller.
I would have greatly appreciated this also. It is much better to have some of the basic requirments laid out for you in an OS than to have to put all that in your code. Plus, with an OS you can have fun things like multitasking.
__________________

  #11   Spotlight this post!  
Unread 15-03-2004, 11:03
FadyS.'s Avatar
FadyS. FadyS. is offline
Registered User
AKA: Fady Samuel
#1246 (Agincourt Robotics)
Team Role: Programmer
 
Join Date: Sep 2003
Location: Toronto
Posts: 35
FadyS. is on a distinguished road
Re: Future of Autonomous Mode

Quote:
Originally Posted by 10intheCrunch
I know FIRST isn't supposed to be fair, but autonomous mode as it is out of reach for many teams. Programming a real AI as well as processing realtime video and active decision making for playing a game as complicated as FIRST's would not be possible for all but a very very few teams, and I believe those teams would mostly outsource their programming.

FIRST is For Inspiration, of course, but I believe that most of the work on a robot should be by students, and that includes programming. I know that I couldn't program to the level you are talking about right now; people go to college and spend their careers developing these tools and systems. Certainly C was the right move, but this would be far too much.
Yup, this probably does need to move in stages but I think it would be nice to give the programmers a bigger role in the team. Really at this point all you need is one guy and an hour or so to write all the basic code for the bot. Any more advanced stuff will take another couple of hours. It would be nice to have a team of programmers instead working around the clock like the rest of the team, trying to figure things out.

EDIT: Perhaps we're looking at something in the long run. Maybe in 20 years, FIRST bots will be AI driven? Besides, this just adds to the coolness factor.

Last edited by FadyS. : 15-03-2004 at 11:08.
  #12   Spotlight this post!  
Unread 15-03-2004, 14:53
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Future of Autonomous Mode

FIRST is a competition intended to give high school students the experience of working on all stages of a real engineering project in six weeks (Design, Prototype, Build Program, Debug, etc..). FIRST does this by getting all teams to start from scratch with a new game. Although some teams have advantages like a battle-tested drive train that they rebuild every year, it still is a new game with new challenges (like steps to climb). Autonomous has new challenges as well.

FIRST is not an AI development competition like the RoboCup. They use AI with cameras to play an autonomous game of soccer. Some robots even network with teammates to organize plays, which would be cool for FIRST if IFI would provide the ability for bots to communicate with each other (perhaps that is the future, FIRST loves cooperation). However, Robocop teams same simple goal: kick the ball in the opponent's goal. The game of soccer is much simpler than any FIRST game, which are notorious for their complex scoring systems that many humans can't comprehend. Even if we were given a default camera object recognition system, very, very few teams would be able to teach it to play the game in 6 weeks. Think about all the different objects involved in this year's game (3 types of balls, 4 different goals, etc). All FIRST robots look different, so the only way to tell a friend robot from a foe is those little blinking lights.

This would create a larger gap between the haves and have-nots when it comes to Autonomous. Currently the pinnacle of autonomous is a positional coordinate system (like the ones Wildstang and a few others have). The PIC is powerful enough to allow everyone to do this without external processors. As teams get used the new processor, gyros and encoders in the next few years, many more teams will develop positional systems, including some relatively new teams. It gives all programmers (students and mentors) a lofty, but achievable goal. A camera based AI system in 6 weeks is not an achievable goal for nearly every FIRST team.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"

Last edited by The Lucas : 16-03-2004 at 02:16.
  #13   Spotlight this post!  
Unread 15-03-2004, 17:36
Cyris12 Cyris12 is offline
Registered User
AKA: Ajay Reddy
#0254 (Cheesy Poofs)
Team Role: Programmer
 
Join Date: Feb 2004
Location: San Jose, CA
Posts: 6
Cyris12 is an unknown quantity at this point
Send a message via AIM to Cyris12
Re: Future of Autonomous Mode

Quote:
Really at this point all you need is one guy and an hour or so to write all the basic code for the bot. Any more advanced stuff will take another couple of hours. It would be nice to have a team of programmers instead working around the clock like the rest of the team, trying to figure things out.
There's a lot for programmers to work on right now. It's often useful to compensate for mechanical quirks your robot may have, or to streamline your control system. If nothing else, there's plenty of work to be done on autonomous mode. If your team can afford sensors, they open up new possibilities and improve the accuracy of your existing code. Accelerometers, gyros, optical sensors, pots, and prox sensors all help. At the very least, you could always create dead reckoning programs.
  #14   Spotlight this post!  
Unread 16-03-2004, 08:17
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Future of Autonomous Mode

Its pretty easy to integrate a program running on a PC with the mini-RC using the serial port. You can code all of your low-level functions on the RC with any high-level processing on the PC. The PC handles all of your "big picture" task management and the RC handles IO and actuator control. Your PC program is basically acting as a smart operator in teleoperation mode. You could probably mount a small laptop on a simple mobile robot base or use a wireless serial adaptor.

Obviously you won't be able to use this on the real robot for the FRC, but what are you going to do for the other 46 weeks of the year?

Last edited by seanwitte : 16-03-2004 at 08:26.
  #15   Spotlight this post!  
Unread 16-03-2004, 09:49
fred's Avatar
fred fred is offline
More Grizzle
None #0341 (Daisy)
Team Role: Programmer
 
Join Date: Jan 2003
Location: Ambler
Posts: 132
fred is on a distinguished road
Re: Future of Autonomous Mode

I think with most teams/programmers at the first regionals of the season, the priority was getting the robot up and running before worrying about autonomous. We will be going to our first regional of the year on Thursday and you can bet we will be worrying about getting the robot running before we finetune our auton code. By nats though, I expect that plenty of teams will have working auton modes.
__________________
"The distance between genius and insanity is measured only by success."

-Anonymous
Closed Thread


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
setting autonomous mode Allison Programming 10 08-03-2004 20:37
Initializing autonomous mode Mr. Lim Programming 7 02-02-2004 07:26
how can you use a gyro in autonomous mode magical hands Programming 3 02-01-2004 13:31
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
autonomous mode timer Don Programming 6 09-02-2003 22:16


All times are GMT -5. The time now is 15:46.

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