View Single Post
  #3   Spotlight this post!  
Unread 28-03-2005, 20:55
ace123's Avatar
ace123 ace123 is offline
Registered User
AKA: Patrick Horn
FRC #0008 (Paly Robotics - http://robotics.paly.net/)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 50
ace123 has a spectacular aura aboutace123 has a spectacular aura about
Send a message via AIM to ace123
Re: Software Simulation

Check out RoboEmu2:
http://www.robbayer.com/re2.shtml

It will require that you compile your source code using GCC, but if you can get it all working, it's a great solution!

With lots of hacking, it allows you to use autonomous mode, disabled mode and user mode and, with even more hacking, can simulate pots, encoders and even a camera as it runs through native code.

Of course, it won't probably simulate wierd problems like state variables randomly getting set to 0 by interrupts or other such nastiness. (I had this last Friday, and had to tear out the entire autonomous code between matches.) Small things like code loops or what happens if somebody has a certain switch on as it enters auton mode can be tested, and this program has helped me fix some obscure bugs in the code.
__________________
-Patrick Horn, Paly Robotics

Check out the space simulator called Vega Strike, modelled after the space simulator games Elite and Wing Commander. It's Open Source too!
If you have ever played Wing Commander, or especially Privateer, and had a feeling of nostalga derived from the you will enjoy these two Vega Strike mods: Privateer Gemini Gold and Privateer Remake!
I'm working on adding multiplayer support this year...