| | Re: legOS is really neat!
|
|
Ben Jackson schrieb: (...) I'm still looking for someone to write an R2D2 sound scheme ;-) Markus. (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: OO programing in RCX
|
|
Hi Eric, Yes, I believe you could create a sensor object on the VB side and write your code thinking in terms of a sensor object. Here's one way: =-=-=-= BEGIN SAMPLE CODE =-=-=-= Private m_SensorNumber As Integer Private m_SensorType As Integer (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx)
|
|
| | Re: How advanced can RCX programming be?
|
|
(...) but (...) More than that. You can (for instance) have a 'command' thread, which looks at a variable, and decides according to the values on this whether to turn left/right or issue some other response, and does this by changeing other values. (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
|
|
| | Re: How advanced can RCX programming be?
|
|
"TM" == Tobias Möller <tobias.moller@telia.com> writes: TM> If I´ve understood this multi-tasking right, then it means that TM> you can have one program running for the motors of a robot, and TM> another for the sensors, but at the same time. It (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
|
|
| | Re: How advanced can RCX programming be?
|
|
(...) That wasn't me! David Leeper (has been a computer programmer for 17 years! :^)) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
|