View Single Post
  #7   Spotlight this post!  
Unread 11-06-2010, 12:55
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: no control of bot when kicker is operating

It sounds like your "driving" code has to wait for your "kicking" code to complete.

If this is the case, there are two (at least) different ways to solve this:

1) put your kicking code and driving code into separate tasks so that the OS can multitask them for you,

or

2) use a state machine for your kicker code, so that it doesn't bring everything to a halt while it's waiting for the delay