Subject:
|
Re: stop task
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Tue, 24 Jul 2007 11:41:16 GMT
|
Viewed:
|
21601 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.robotics.nxt, Elizabeth Mabrey wrote:
> I just noticed that there is no function to terminate
> a task like nqc... Suggestion?
Using a global to flag out of a task is about the only (rather awkward) option I
know of. This is one of the things that I really have issues with under the
NXT-G FW.
--
Brian Davis
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: stop task
|
| (...) It is not a rather awkward option, imho. That's like saying breaking out of an infinite loop using a flag is awkward and that it would be better to have some form of stop loop keyword that you could use from outside the loop instead. Is it (...) (17 years ago, 24-Jul-07, to lugnet.robotics.nxt)
|
Message is in Reply To:
![](/news/x.gif) | | stop task
|
| I just noticed that there is no function to terminate a task like nqc . "stop" . I am currently setting up a global watchdog variable to signal a task to exit. Suggestion? --Elizabeth (17 years ago, 24-Jul-07, to lugnet.robotics.nxt)
|
6 Messages in This Thread: ![stop task -Elizabeth Mabrey (24-Jul-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: stop task -John Hansen (24-Jul-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/46.gif) ![Re: stop task -Brian Davis (24-Jul-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/46.gif) ![RE: stop task -Elizabeth Mabrey (25-Jul-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/46.gif) ![Re: stop task -Brian Davis (25-Jul-07 to lugnet.robotics.nxt)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|