Go to Post If chairs really inspired me that much I would be in woodcrafting club and not robotics - CJ_Elliott [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 02-08-2003, 11:44 PM
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
RoboEmu 1.11beta1

To commemerate the 790th download (that's an average of once per team!) of RoboEmu 1.10, I bring you RoboEmu 1.11.

Like 1.10, I'm releasing it here first to get a little feedback before turning it loose on the community as a whole in order to save headaches for both myself and the endusers.

Anyways, I think you're going to like the new version, as it finally supports all the operators, both unary and binary. In addition, I took almost all of the suggestions I got last time around and implemented them. Here's the changelog:

Fixed LOOKDOWN
Fixed ABS
Added support for REV, SQR, DCD, NCD, SIN, COS
Added support for //, **, */, DIG, REV
Added match mode (15s autonomous then 1:45 normal)
Added parsing of $STAMP directive--only need to open slot 0 now
Added ability to minimize
Added ability to open project files from command line
Added check for 26-byte limit
Added file freshness check--will reload files if needed
Added '!dump directive
Changed UI to have a pause toggle instead of two menu items
Moved recent file list to registry, where it belongs

As always, I'm looking for bug reports, logic errors, or new feature suggestions as well as anything else you want to send me.

--Rob
Attached Files
File Type: zip roboemu.zip (85.2 KB, 211 views)
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #2   Spotlight this post!  
Unread 02-09-2003, 01:50 AM
guzugi's Avatar
guzugi guzugi is offline
Registered User
#0580
 
Join Date: Feb 2003
Location: North Hollywood
Posts: 16
guzugi is an unknown quantity at this point
Send a message via AIM to guzugi
VERY COOL!!!

do you have to src available?
  #3   Spotlight this post!  
Unread 02-09-2003, 09:11 AM
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Out of curiosity, did you correct the action of comp_mode? Per update 11, 1 now means disabled...
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
  #4   Spotlight this post!  
Unread 02-09-2003, 11:34 AM
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 guzugi
VERY COOL!!!

do you have to src available?
Yes, RoboEmu is open-source, GPL'd software. I didn't post the source for 1.11beta because it is a little on the big side and I didn't really want to waste CD's space. If you want the source for version 1.10, it's available at my website, http://www.robbayer.com/software.html. Or, if you want the 1.11beta1 source, I can send it to you later tonight.

Quote:
Originally posted by Nate Smith
Out of curiosity, did you correct the action of comp_mode? Per update 11, 1 now means disabled...

Oops, kinda forgot about that. I'll do it for the official 1.11 most definately. Thanks for the reminder.



Here's a few questions I have for people:
1. What does PBASIC do if you try to divide by 0. RoboEmu currently crashes.
2. Is it legal to have more than one SHIFTOUT (reinit master uP)? RoboEmu currently allows this, but I'm not sure if the actual controllers do.
3. What does PBASIC do with array-out-of-bounds type errors? Yes, this does mean I'm currently working on supporting arrays.
4. Are there any other operators/commands/features you'd like to see.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #5   Spotlight this post!  
Unread 02-09-2003, 12:44 PM
guzugi's Avatar
guzugi guzugi is offline
Registered User
#0580
 
Join Date: Feb 2003
Location: North Hollywood
Posts: 16
guzugi is an unknown quantity at this point
Send a message via AIM to guzugi
i noticed you mention that it "automatically reloads files"? how does one do that? for example: i use roboemu in parallel with the stamp editor. When i make a change on the program, i have to switch to roboemu, browse for the file again, and then run it again...is there a shortcut to just say "reload the current file"?
  #6   Spotlight this post!  
Unread 02-09-2003, 12:52 PM
Steven Carmain Steven Carmain is offline
Bit Twiddler
FRC #6013 (Robowolves)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Westland, MI
Posts: 91
Steven Carmain will become famous soon enough
And can you change the switch names like dashboard v1.1?
__________________
2016+ - Team 6013 Lead Engineer
2002-05 - Team 45 Software/Electrical

A robot is like a campfire: it takes a while to bulid it, and then everyone surounds it!
A world without standards is chaos. A world with standards is chaos.
  #7   Spotlight this post!  
Unread 02-09-2003, 01:03 PM
guzugi's Avatar
guzugi guzugi is offline
Registered User
#0580
 
Join Date: Feb 2003
Location: North Hollywood
Posts: 16
guzugi is an unknown quantity at this point
Send a message via AIM to guzugi
Looks like you can, just double click on the titles, and change the name!
  #8   Spotlight this post!  
Unread 02-09-2003, 01:11 PM
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 guzugi
i noticed you mention that it "automatically reloads files"? how does one do that? for example: i use roboemu in parallel with the stamp editor. When i make a change on the program, i have to switch to roboemu, browse for the file again, and then run it again...is there a shortcut to just say "reload the current file"?

If you pauses the emulator (ctrl + p) and then start it again (ctrl +p), it will check to see if the file has been saved since the last load. If it has, it will ask you if you want to reload. Say "yes" and it should work correctly. Let me know if it doesn't.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #9   Spotlight this post!  
Unread 02-09-2003, 01:16 PM
guzugi's Avatar
guzugi guzugi is offline
Registered User
#0580
 
Join Date: Feb 2003
Location: North Hollywood
Posts: 16
guzugi is an unknown quantity at this point
Send a message via AIM to guzugi
ya, cool, that works!
  #10   Spotlight this post!  
Unread 02-09-2003, 01:21 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Quote:
Originally posted by rbayer

2. Is it legal to have more than one SHIFTOUT (reinit master uP)? RoboEmu currently allows this, but I'm not sure if the actual controllers do.
4. Are there any other operators/commands/features you'd like to see.
2) According to Tom Watson at Innovation FIRST, you can reinitialize the master uP more then once. I have not tried it though.

I'd like to see a "real-time" mode, that runs through one loop and then pauses for the rest of 26 ms.

I'd also like to see a single step mode, so that it runs one loop of your program, and the pauses till you step again.
  #11   Spotlight this post!  
Unread 02-09-2003, 01:24 PM
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 Joe Ross
2) According to Tom Watson at Innovation FIRST, you can reinitialize the master uP more then once. I have not tried it though.

I'd like to see a "real-time" mode, that runs through one loop and then pauses for the rest of 26 ms.

I'd also like to see a single step mode, so that it runs one loop of your program, and the pauses till you step again.

Thanks for the info. I'll give it a try on a real robot soon, but hopefully it will work.


How fast is RoboEmu running for you right now? The way it's written, it should run at a maximum of one loop every 26ms. Is this not happening?

Single-step would be very cool and very easy to implement. I'll see what I can do.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #12   Spotlight this post!  
Unread 02-09-2003, 01:30 PM
Steven Carmain Steven Carmain is offline
Bit Twiddler
FRC #6013 (Robowolves)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Westland, MI
Posts: 91
Steven Carmain will become famous soon enough
I tried the time again, and even reset my computer, and the time is about 2x fast. And, the serout must have all the numbers in, unlike the old one.
__________________
2016+ - Team 6013 Lead Engineer
2002-05 - Team 45 Software/Electrical

A robot is like a campfire: it takes a while to bulid it, and then everyone surounds it!
A world without standards is chaos. A world with standards is chaos.
  #13   Spotlight this post!  
Unread 02-09-2003, 01:34 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
I agree with Steve. It is at least 2 times faster then it should be. It may be even more then that.
  #14   Spotlight this post!  
Unread 02-09-2003, 03:12 PM
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 Joe Ross
I agree with Steve. It is at least 2 times faster then it should be. It may be even more then that.
THAN. Have you been programming PBASIC too long?
__________________
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 02-09-2003, 04:05 PM
guzugi's Avatar
guzugi guzugi is offline
Registered User
#0580
 
Join Date: Feb 2003
Location: North Hollywood
Posts: 16
guzugi is an unknown quantity at this point
Send a message via AIM to guzugi
I'm not sure if it this version, or if it's all, but it doesn't seem to support the "Toggle" command for feedback lights on the operator control.
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
Obscure PBASIC for RoboEmu rbayer Programming 1 03-28-2003 11:57 PM
Making RoboEmu 1.09 work rbayer Programming 2 01-14-2003 12:49 AM
RoboEmu 1.08 released rbayer Programming 9 12-26-2002 10:31 PM
RoboEmu 1.07 rbayer Programming 3 12-08-2002 06:28 PM
RoboEmu for Linux (PBASIC emulator) rbayer Programming 5 11-21-2002 09:08 PM


All times are GMT -5. The time now is 06:26 AM.

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