|
I'm using robolab 1.5 for a school project, and i'm encountering some
difficulty. I think i'm a pretty profiencent programmer if i think
abotu it long enough, but right now i'm baffeled. I'm pretty sure the
program is crashing in the RCX, so maybe it is a RoboLab bug, or maybe
somehting in the RCX brick.
I've been developing this program with baby steps, workign one sub
routine at a time, and after geting it to work like I want, I add some
more. In one branch of the program (backing away from a wall, turning
and proceeding). I had him back up for a time, turn for a time,
proceed forward for a time, then continue in it's program. that
worked fine, but I dont like using timers more than I have to, so i
traded the last timer for a button, and when I downloaded it to the
RCX, the program woud do about 4 of the 20 steps in the program and
then it woud shut itself down leaving the motors running. I know it
shut down becuase the walking man walked no more. Infact, it shuts
down so fast, you can't see him in walk mode at all. I figured out
how far the program went by putting a musical note in the prg between
the steps. and found that the program was gettign to a container fork
and stopping. This kinda peeved me because the program worked just
fine before, I only changed one icon. so I chaned the button icon to
a button fork and used a jump and a land to make the fork work just
like a button icon. this worked, and while it used a few more Icons,
i let it go, and continued with the program. I tried to use another
container fork later in the program, and the program stopped again at
the first container fork. again it shut down the RCX and left the
motors running.
Has anyone run into this kind of problem in the past? is there a fix
for it? is there a limit to the number of icons or steps you can have
in a program?
I've been programming in robolab for a few months now, and I've never
run into this problem before.
Any help would be appreciated.
Thanks alot
Tom Heverly
|
|
Message has 2 Replies:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|