To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 561 (+10)
  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)
 
  Re: moving in a straight line with two motors?
 
so do you still have a big track ? Mine is unfortunately missing a wheel : ( Jason@Inphotek.com Giesen, Oliver <lego-robotics@crynwr.com> wrote in article <E10BAC791F2ED2119D9...th.com>... (...) (28 years ago, 14-Nov-98, to lugnet.robotics)
 
  Re: Real-time communication or just download programs?
 
In message <364F3A6C.783218B6@erols.com>, Garrett Snider <gsnider@erols.com> writes (...) Both - and both together I think! I have been experimenting with my recently acquired CyberMaster which is similar to the Mindstorms only it can support less (...) (28 years ago, 15-Nov-98, to lugnet.robotics)
 
  Re: Spirit.OCX & Starting a Program
 
(...) Is it possible to do this from within a running program? What I read implied to me that the SelectProgram() would stop the current program so it wouldn't be running to issue the StartTask(). It would sure be nice to have a movement program (...) (28 years ago, 16-Nov-98, to lugnet.robotics)
 
  Re: Spirit.OCX & Starting a Program
 
(...) As far as I know, you can't set and start a different program from within another program. Execution stops when you switch programs, so the following start task instruction will never get reached. Maybe Dave meant that you can switch programs (...) (28 years ago, 16-Nov-98, to lugnet.robotics)
 
  Re : Moving in a straight line
 
Hi All I have read with some amusement all the traffic on this subject. I have a home brew lego robot with two shaft encoders - by comapring the counts of "clicks" or rotations just speed up or slow down one set of wheels. Depending how straight you (...) (28 years ago, 16-Nov-98, to lugnet.robotics)
 
  Re: Spirit.OCX & Starting a Program
 
(...) Yep, that's exactly what I meant. Dave (28 years ago, 16-Nov-98, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR