Go to Post ...the list of the things we want to get done in the off-season has grown to such a length that I have to take off my shoes and socks to count them...and I think I may need to grow a few more toes soon. - StephLee [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 18-01-2003, 21:37
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Help testing RoboEmu 1.10

OK, I just finished RoboEmu 1.10, but need some help. Based on the insane number of bug reports I got for 1.09 and 1.09b, I was hoping to get a few individuals here on ChiefDelphi to help me test it out before making an "official" release.

New in this version:
A lot

Fixes in this version:
even more

Basically, I implemented everything in the PBASIC 2.5 spec with the exception of conditional-compilation and the PIN command. I also made a few changes to the variables system.

If you are interested in helping, I would appreciate it very much. As I said, I don't want to update the links on my website or in the whitepapers until I have some confirmation that most of the bugs have been worked out. Therefore, I've attached the new version to this post. The source code is a little on the large side, but if you want it I can email it to you.

Thanks in advance to any and all that are willing to help!

--Rob

[edit]
I fixed the EXIT error. File now attached to new post (look a few entries down).
[/edit]
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php

Last edited by rbayer : 19-01-2003 at 17:11.
  #2   Spotlight this post!  
Unread 19-01-2003, 09:21
redbeard0531 redbeard0531 is offline
Registered User
#0686 (Bovine Intervention)
 
Join Date: Jan 2003
Location: New Market, MD
Posts: 40
redbeard0531 is an unknown quantity at this point
Send a message via AIM to redbeard0531
it wont work with default edubot code. it gives me an error on line 405 about an exit outside of a for loop
  #3   Spotlight this post!  
Unread 19-01-2003, 12:33
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
Quote:
Originally posted by redbeard0531
it wont work with default edubot code. it gives me an error on line 405 about an exit outside of a for loop
And it doesn't make any difference whether you click on Yes or No in response to the question "Do you wish to quit?".... The program always exits.
__________________
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
  #4   Spotlight this post!  
Unread 19-01-2003, 13:05
Caleb Fulton's Avatar
Caleb Fulton Caleb Fulton is offline
Z = Z^2 + C ......WHEEEE!
AKA: aXvXiA
#0461 (West Side Boiler Invasion)
Team Role: College Student
 
Join Date: Dec 2002
Location: West Lafayette, Indiana
Posts: 205
Caleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura about
Send a message via AIM to Caleb Fulton
Also...for future consideration...

Some sort of control to simulate the digital inputs would be nice (maybe you have them and I am just as dumb as I look).
__________________
  #5   Spotlight this post!  
Unread 19-01-2003, 14:42
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Caleb Fulton
Also...for future consideration...

Some sort of control to simulate the digital inputs would be nice (maybe you have them and I am just as dumb as I look).
Are you talking about digital inputs other than the 16 switches that are on the right side of the Inputs dialog? If so, please explain as I'm not familiar with any other inputs.


As for the EduBot code: thanks for the info. It's another one of those annoying errors where it misinterprets any line that starts with the word EXIT as being an EXIT command. The fix should take approx. 30 seconds. Oh well...

The quitting thing: thanks, gwross! That's one of those things that I haven't touched since version 1.05 and just assume still works. I'll revist it now that you've mentioned it. Now that I think about it, it's probably been that way since I converted to MFC way back when.



Any comments on PBASIC 2.5 support? As far as my testing could determine, everything in the 2.5 spec now works except for PIN and conditional-compilation. Anybody care to back this up/find a flaw?

Thanks again, and keep 'em comming!

--Rob
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #6   Spotlight this post!  
Unread 19-01-2003, 16:19
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Quote:
Originally posted by rbayer
Any comments on PBASIC 2.5 support? As far as my testing could determine, everything in the 2.5 spec now works except for PIN and conditional-compilation. Anybody care to back this up/find a flaw?
Yesterday, it worked fine for our team using 2.5 code.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #7   Spotlight this post!  
Unread 19-01-2003, 17:12
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
EXIT error

I fixed the exit error. The new version is attached to this post. If people are still willing to look for bugs, etc, I'd greatly appreciate it.

--Rob

[edit]attachment removed as requested by Rob. See release in white papers.[/edit]
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php

Last edited by Brandon Martus : 20-01-2003 at 22:29.
  #8   Spotlight this post!  
Unread 19-01-2003, 17:13
Caleb Fulton's Avatar
Caleb Fulton Caleb Fulton is offline
Z = Z^2 + C ......WHEEEE!
AKA: aXvXiA
#0461 (West Side Boiler Invasion)
Team Role: College Student
 
Join Date: Dec 2002
Location: West Lafayette, Indiana
Posts: 205
Caleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura about
Send a message via AIM to Caleb Fulton
OOPS....

DUH on me
__________________
  #9   Spotlight this post!  
Unread 19-01-2003, 18:57
redbeard0531 redbeard0531 is offline
Registered User
#0686 (Bovine Intervention)
 
Join Date: Jan 2003
Location: New Market, MD
Posts: 40
redbeard0531 is an unknown quantity at this point
Send a message via AIM to redbeard0531
Worken great so far.....

Feature request: It would be nice to have the ability to reverse PWMs. This would be very useful in drive train programming as the left and right sides are negative to each other. I could then see when it is turning and what not.
  #10   Spotlight this post!  
Unread 19-01-2003, 20:05
Jferrante Jferrante is offline
Registered User
#0506
 
Join Date: Aug 2002
Location: New York
Posts: 67
Jferrante is an unknown quantity at this point
Send a message via AIM to Jferrante Send a message via Yahoo to Jferrante
WOW

I wish I had used this the past 2 years. Took me a few trys to figure out how to use it but once I did (which really wasn't that hard) it helped tremendously. I found some errors in my code that would have taken me much longer to locate, especially since I have to email it to someone still at the high school who would then use it eventually and email me back if it didnt work. I'll defenitly be using this alot more.
  #11   Spotlight this post!  
Unread 19-01-2003, 20:06
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by redbeard0531
Worken great so far.....

Feature request: It would be nice to have the ability to reverse PWMs. This would be very useful in drive train programming as the left and right sides are negative to each other. I could then see when it is turning and what not.
I'll think about it. It's a good idea, I'd just be worried that somebody would think their code was actually reversing the PWMs and get all confused when they loaded it in an actual robot. I do agree, however, that it would be nice as I have to think hard while running my code through it to see which way is left and which is right.


Anybody else have anything that doesn't work or that they'd like to see added? I've got nothing but time tomorrow and need some projects...
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #12   Spotlight this post!  
Unread 19-01-2003, 20:11
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
Quote:
Originally posted by rbayer
Anybody else have anything that doesn't work or that they'd like to see added? I've got nothing but time tomorrow and need some projects...
I hope you received the message I sent last night (early this morning ) I think there's lots of meat there for you to chew on tomorrow.

If you haven't received it, it may be because the attachments made the message too large. Let me know if I need to split it and resend.
__________________
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

Last edited by Greg Ross : 20-01-2003 at 02:04.
  #13   Spotlight this post!  
Unread 20-01-2003, 10:46
Morgoth Morgoth is offline
Registered User
#0471 (Cybertigers)
 
Join Date: Oct 2002
Location: Michigan
Posts: 35
Morgoth is an unknown quantity at this point
I have a question on how to use Roboemu. First i open the file with my code in it and I can emulate it, it works just like it should, etc. The only problem is when I go back and change my code in the Stamp Editor. I save it there, but is there anyway to get roboemu to reload the code without having to get out out of roboemu, get back in and reselect the file to emulate?

It works great, that program saves me TONS of time. I don't have to wait until Thursday nights to test my code anymore.
__________________
"Lock the Doors"

NASA chief flight director Leroy Cain on the loss of Columbia's signal.
  #14   Spotlight this post!  
Unread 20-01-2003, 11:22
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
Quote:
Originally posted by Morgoth
I have a question on how to use Roboemu. First i open the file with my code in it and I can emulate it, it works just like it should, etc. The only problem is when I go back and change my code in the Stamp Editor. I save it there, but is there anyway to get roboemu to reload the code without having to get out out of roboemu, get back in and reselect the file to emulate?
You don't have to get out of RoboEmu to reload your file. Just go to Open Files, and reselect your file. Or if you have saved your project, you can go to Recent Projects, and reload it there (probably the easiest method.)

BTW, one of the things I already suggested to Rob offline was for RoboEmu to check the freshness of the file on disk before beginning emulation.
__________________
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
  #15   Spotlight this post!  
Unread 20-01-2003, 13:07
Morgoth Morgoth is offline
Registered User
#0471 (Cybertigers)
 
Join Date: Oct 2002
Location: Michigan
Posts: 35
Morgoth is an unknown quantity at this point
I should have thought of that. Thanks. It would be nice to have your idea be an option, for those who want it and those who don't.
__________________
"Lock the Doors"

NASA chief flight director Leroy Cain on the loss of Columbia's signal.
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
RoboEmu 1.11beta1 rbayer Programming 42 03-04-2003 13:53
Obscure PBASIC for RoboEmu rbayer Programming 1 28-03-2003 23:57
RoboEmu 1.10 Problems Damian Manda Programming 6 26-01-2003 23:02
Making RoboEmu 1.09 work rbayer Programming 2 14-01-2003 00:49
RoboEmu 1.08 released rbayer Programming 9 26-12-2002 22:31


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

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