Go to Post ..the way we see it FIRST isn't about winning a robot contest, its about trying your best to complete a really really hard task in a really really short amount of time. - Stuart [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 03-07-2002, 13:54
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
emulationFIRST v0.04

Hopefully this will be the last of the release-a-day builds. I think I've fixed the crashing problems. If they still persist, please send me whatever output information you can get from them. As well as fixing bugs, this release also should fully support EEPROM (via DATA, READ, and WRITE commands). I want to check and make sure that EEPROM is accessed on a per program slot basis (ie each program slot has its own slice of EEPROM and can't access the EEPROM of other program slots). That is how I implemented it. There also is some support for the DEBUG command but it's not complete by any stretch of the imagination. Please test it out and send in bug reports.

As always, available here:
http://www.rit.edu/~msl8101/emulationFIRST/

Matt
(And yes, I did update the links this time ).
  #2   Spotlight this post!  
Unread 03-07-2002, 14:08
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
is it a bad thing if i get a big error message (from windows) that emualtionFIRST has failed and had to be shut down? it seems to work with the default code, but when i tried it with the code from the robot, which does include EEPROM access, it seems to horribly fail. any ideas?
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #3   Spotlight this post!  
Unread 03-07-2002, 14:17
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Yes it's a bad thing. If you send me a copy of your code, I can try and figure out where emulationFIRST is dying. There are probably numerous bugs throughout the code and it just needs various test cases (aka code segments) to test it out.

Matt
  #4   Spotlight this post!  
Unread 03-07-2002, 15:49
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
well, the strange part is, it breaks when it's parsing the code. i hit enter and it died. and the robot code isn't all that readable, cause me and dan (more me i think) were somewhat lazy this year. if you want it though, give me your email and i'll send it.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #5   Spotlight this post!  
Unread 03-07-2002, 22:52
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Wink Gettin' Better

Here's what I see when I run this year's BeachBot code through it:
Code:
C:\Robots\2002\FloridaFiles\BeachBotSW\2002-April-26\Processed>EmulationFIRST BeachBot2002.bsx BB2002MainLoop.bsx BB2002OutputData.bsx
Error: parse error.
Parse error, line: 444.
Error with line:
   for temp2=1 to temp1
Error: parse error.
Parse error, line: 444.
Error with line:
   for temp2=1 to temp1
Parse error, line: 444.
Error with line:
   for temp2=1 to temp1
SError: parse error.
Parse error, line: 574.
Error with line:
 if not (IN3 = 0) then SPPL0000
Parse error, line: 574.
Error with line:
 if not (IN3 = 0) then SPPL0000
Parse error, line: 574.
Error with line:
 if not (IN3 = 0) then SPPL0000
Parse error, line: 574.
Error with line:
 if not (IN3 = 0) then SPPL0000
Parse error, line: 574.
Error with line:
 if not (IN3 = 0) then SPPL0000


Input Values:

oi_swA=
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #6   Spotlight this post!  
Unread 08-07-2002, 10:55
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
I can tell you that the first part of your errors is because for loops aren't implemented. I'm not too sure about the second part but I think it may be because I haven't included IN3 as a variable/reference. Hopefully I'll fix both of those for the next release.

Matt who's back from Indiana finally
  #7   Spotlight this post!  
Unread 08-07-2002, 23:37
nwagers nwagers is offline
Registered User
#0240 (Mach Vee)
 
Join Date: Oct 2001
Location: Monroe, MI
Posts: 88
nwagers is an unknown quantity at this point
Send a message via AIM to nwagers Send a message via Yahoo to nwagers
does your emulator have to be run with the FIRST stamp code or can it handle any pbasic program? E.G. the one I posted in another thread...
  #8   Spotlight this post!  
Unread 09-07-2002, 08:54
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Unfortunately it only works with code designed to run on the InnovationFIRST controller. It doesn't really do anything with pin outs etc.

Matt
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
emulationFIRST v0.09 Matt Leese Programming 4 18-07-2002 14:36
emulationFIRST v0.03 Matt Leese Programming 7 03-07-2002 13:00
emulationFIRST v0.02 Matt Leese Programming 3 02-07-2002 16:37
emulationFIRST (aka PBasic emulator) Matt Leese Programming 5 30-06-2002 12:06


All times are GMT -5. The time now is 04:38.

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