 | | Spirit.OCX & Starting a Program
|
|
If I want to start a program using spirt.ocx do I use StartTask (number) ? I've been trying to use this with no luck. And would appreciate some help with this. (28 years ago, 15-Nov-98, to lugnet.robotics)
|
| |
 | | Re: Spirit.OCX & Starting a Program
|
|
I don't use spirit.ocx - I work directly with the bytecodes, but I think this info is true for spirit.ocx as well... The number in StartTask(number) refers to a task within a program (each program can have multiple tasks). Typically, you would use (...) (28 years ago, 15-Nov-98, to lugnet.robotics)
|
| |
 | | Real-time communication or just download programs?
|
|
Hi, I am thinking about buying the Mindstorms kit, but I was wondering if you can just download programs to execute in the brick, or if you can control it at runtime from the computer? I am interested in using it with things like genetic algorithms, (...) (28 years ago, 15-Nov-98, to lugnet.robotics)
|
| |
 | | Re: Spirit.OCX & Starting a Program
|
|
If you use the .BeginOfTask Method and pass in the number 0 you will start the program the same way as if you started a program with the Run button on the RCX. ---...--- (...) ? (...) help with this. (28 years ago, 15-Nov-98, to lugnet.robotics)
|
| |
 | | Re: Real-time communication or just download programs?
|
|
If you use the Spirit OCX you can do either autonomous programs or ones that interact with your pc. ---...--- (...) (28 years ago, 15-Nov-98, to lugnet.robotics)
|