Go to Post my theory on the matter was always something along the lines of "Oh, we're all girls? What an odd thing for you to notice." - karinka13 [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 28-03-2005, 09:57
JimS JimS is offline
Registered User
#0549
 
Join Date: Mar 2005
Location: Leominster High School
Posts: 5
JimS is an unknown quantity at this point
Software Simulation

Has anyone tried to run the Default program on the IDE simulator or can it be done.I attemped it but gor nothing but errors. Can anyone help

JimS
  #2   Spotlight this post!  
Unread 28-03-2005, 10:12
dm0ney's Avatar
dm0ney dm0ney is offline
Will Code For Food (Food Optional)
AKA: Deepak Mishra
None #0217 (The ThunderChickens)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Shelby Twp., MI
Posts: 48
dm0ney will become famous soon enough
Send a message via AIM to dm0ney
Re: Software Simulation

I could not get it work as a true debugger.

What errors were you getting?
__________________

Alumni
Team #217, The ThunderChickens



Student, Class of 2009
California Institute of Technology



Last edited by dm0ney : 28-03-2005 at 10:46.
  #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...
  #4   Spotlight this post!  
Unread 28-03-2005, 21:09
dm0ney's Avatar
dm0ney dm0ney is offline
Will Code For Food (Food Optional)
AKA: Deepak Mishra
None #0217 (The ThunderChickens)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Shelby Twp., MI
Posts: 48
dm0ney will become famous soon enough
Send a message via AIM to dm0ney
Re: Software Simulation

Quote:
Originally Posted by ace123
I've used RoboEmu2 myself, it is a very valuable thing if you arent at your place of work.

I myself have also used a straight RC with a tethered OI with power to it (thanks sparkies) and loaded code on that and tested it. Using IFI Dashboard straight up, it's probably as close as a simulation as you will ever get without the actual robot.

If a second RC or OI isnt available (either another 2005 ordered or 2004 edition) RoboEmu2 is a VERY valuable tool for debugging.

The best solution would be to vocally protest the destruction of this years robot until say week 4 of the build season next year so the programmers can test code on it.

This year, we built the kit bot the first week and tested all our pneumatic code on that, 'ported' last years arm code to this year's arm, and tested our drive code on last year's drive base.

Sure there were differences such as last years robot being a 4-motor 6 wheel drive and this year being 6-motor 6-wheel, but a testing bed is a testing bed.

I would urge every team to try and keep a robot around for a few weeks of build to allow programmers to get some robot time..... a little time goes a LONG way.
__________________

Alumni
Team #217, The ThunderChickens



Student, Class of 2009
California Institute of Technology


  #5   Spotlight this post!  
Unread 29-03-2005, 07:29
JimS JimS is offline
Registered User
#0549
 
Join Date: Mar 2005
Location: Leominster High School
Posts: 5
JimS is an unknown quantity at this point
Re: Software Simulation

Quote:
Originally Posted by dm0ney
I could not get it work as a true debugger.

What errors were you getting?
The errors I get are various but some of them are :
Missing arguments
Symbol not defined
Illegal Characters(On comment entries)
Illegal op codes

JimS
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
Attention engineers...What type are you and why? Paul H Career 95 05-04-2007 14:38
Software Development Process? tcj103 Programming 5 08-02-2005 15:46
software software software archiver 2001 5 24-06-2002 00:21


All times are GMT -5. The time now is 00:16.

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