View Single Post
  #11   Spotlight this post!  
Unread 14-01-2003, 19:30
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
Select issues

OK, I'm having issues with the new RoboEmu 2.5 Select support - I know you said its beta, but maybe some specific feedback will help.

I get the error "variable >132 does not exist"
I am doing a select command similar to what follow:

Select (arm_joint1) [hint hint about 159]
Case >ajoint1+slack
'some code
Case....
..........
Case Else
.............
EndSelect

Assumably, ajoint+slack is evaluated to be 132; and your program expects a variable there.

According to the examples that Parallax gave us for 2.5, an operator should be able to come directly after the "Case" statement. I'll send you the code.
__________________
"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