Go to Post "The compressor is half the temperature of a toasted Subway sandwich." - Ashley Hartley [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 24-01-2003, 19:32
Damian Manda's Avatar
Damian Manda Damian Manda is offline
The Damian
no team
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Fort Collins, CO
Posts: 154
Damian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud of
Send a message via AIM to Damian Manda
Unhappy RoboEmu 1.10 Problems

When using RoboEmu 1.10 to test our code, it does not recognize the Square root function. It returns an error of "Error: Variable SQR2343209 does not exist. Can't get value."

Were not sure if this is caused by the fact that the number after the SQR is very large, or just that the square root function is not implemented.

Just in case this helps, there used to be a problem like this relating to the Select..Case where it would say "variable >132 does not exist."

--Damian Manda and the programming team of 159
  #2   Spotlight this post!  
Unread 24-01-2003, 21:00
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 does not currently support square root. Maybe in version 1.11, but I'd need to do some research to figure out how exactly it works.

--Rob
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #3   Spotlight this post!  
Unread 25-01-2003, 18:31
Adam Collet Adam Collet is offline
Registered User
#0159 (Alpine Robotics)
 
Join Date: Nov 2002
Location: Ft. Collins, Colorado
Posts: 25
Adam Collet is an unknown quantity at this point
more issues

not sure where to put this, but:

RoboEmu doesn't seem to be working as far as knowing when autonomous mode is running. Autonomous mode should be indicated by auton_mode = 1. Using debugs (before we even do anything, as well as in other places in the code), I can't ever get your program to say auton_mode = 1. It should change the value of PB_mode to accomplish this, whenver there is a serin just overwrite that variable.
__________________
"Without the wind, the grass does not move. Without software, hardware is useless.''

Thus spake the Master Programmer

The Tao of Programming
Translated by: Geoffrey James
  #4   Spotlight this post!  
Unread 25-01-2003, 20:36
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
Did you select "Autonomous Mode" from the Emulation menu? I haven't had any problems with it and it seems to set the bit correctly. Would you mind sending me the code you are using so I can run it through my debugging process?
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #5   Spotlight this post!  
Unread 26-01-2003, 01:25
Adam Collet Adam Collet is offline
Registered User
#0159 (Alpine Robotics)
 
Join Date: Nov 2002
Location: Ft. Collins, Colorado
Posts: 25
Adam Collet is an unknown quantity at this point
yes

Sure, I'll send it. Yes, I did try "autonomous mode" as well as competitions mode, and the other (human/operator...blah can't remember - non-autonomous). My debug always read that auton_mode = 0, and my code acted accordingly (my first if statement sent it straight to the program in slot one, as it should when autonomous mode is over).
__________________
"Without the wind, the grass does not move. Without software, hardware is useless.''

Thus spake the Master Programmer

The Tao of Programming
Translated by: Geoffrey James
  #6   Spotlight this post!  
Unread 26-01-2003, 12:28
Steven Carmain Steven Carmain is offline
Bit Twiddler
FRC #2832
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Westland, MI
Posts: 93
Steven Carmain will become famous soon enough
could you also add a match mode with the accurate amount of autonomous mode and match time?
__________________
2017 - Team 2832 Mentor
2016 - Team 6013 Mentor
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 26-01-2003, 23:02
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
Another Problem

U need to have you code check to see if a file exists before trying to load it. It crashes when it tries to open a file that doesnt exist. I came across this problem when i renamed one of my progams. I opened a project, and it crashed.

other than that, a very solid program. Thanks alot for this tool
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
Help testing RoboEmu 1.10 rbayer Programming 26 27-01-2003 06:50
Making RoboEmu 1.09 work rbayer Programming 2 14-01-2003 00:49
RoboEmu 1.06 (works with XP and 2k) rbayer Programming 4 20-10-2002 21:47


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

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