Quote:
Originally posted by Chris Hibner
We actually out-programmed our micro last year. If anyone has seen our robot you know that it was a very complex machine and really couldn't be controlled by human alone (much help from automatic control was needed). We had 6 feedback loops running at all times to control it.
We actually had an automatic balancing feature that had to be cut from the code because we ran out of code space and variable space. Just to get enough space to do all of the feedback we had to play some tricks with direct memory access and memory location swapping or else we would have been out of variable space well before putting in the 6 feedback loops.
It's too bad we had to cut the auto-balance - it would have saved us about 4 seconds per match. We ended up putting sensor feeback to a driver display so the driver had to do what the auto-balance routine was going to do.
So, as far as I'm concerned, bring on a more powerful micro (please).
|
I'm rather interested in what you did with your pbasic. Not too many people on our team know anything about the programming, so we don't get much innovation done in that department. The only major think I could think of to do in the code last year was auto-balance. You cut it out to make room for somthing more important? I'm curious to look at your code and robot! Perhaps you could post or point us to some documentation?
