Subject:
|
version 1.5
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 21 Jan 2000 23:17:52 GMT
|
Viewed:
|
916 times
|
| |
| |
Aloha
I recently purchased and installed the Mindstorms RIS purchased direct from
Lego.
It is version 1.5. I was surprised to see no external power connector on
the brick.
It is interesting that the software CD supplied comes with a spot already
setup for
the Mars Explorer set to load along with Extreme Creatures and the sports
expansion
set.
It took about three hours of working through the tutorials on the CD's
before the urge
to find and download NQC became overwhelming.
My first "large code" program, a line follower, had an interesting bug. I
had not
appreciated the implications of having a task to examine the light sensors and
set the light state, and a main task that selected an action on the global
variable
set by the light state examining task. Finally I realized that the state
variable was
being updated in the middle of the decision tree! since the two tasks run
asynchronously.
The solution was of course to capture the state variable as a locked copy at the
top of the decision tree in main so it could not "evolve" half way through the
decision tree. But it made for some interesting psychosis in the robot
behavior.
I am now using RCXcc front end for NQC. Many thanks to authors of both
NQC and RCXcc!
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|