Subject:
|
Re: What is "Stop Event Monitoring" for?
|
Newsgroups:
|
lugnet.robotics.rcx.robolab
|
Date:
|
Sun, 28 Dec 2003 16:58:10 GMT
|
Viewed:
|
10083 times
|
| |
| |
Don't know specifically about Robolab, but usage might be. "I want to
monitor a bump sensor for the next 100 milliseconds for an event; if the
event doesn't happen in this time, then stop monitoring for the event."
One way to program this is define a single bump sensor event. Start
monitoring for the event. Wait 100 msec. Now 'StopEventMonitoring'.
A second approach is to define two events. One is the bump sensor. The
second is a timer event that occurs at 100 msecs. Start monitoring on both
events and wait for the first one to occur.
|
|
Message has 1 Reply:
Message is in Reply To:
| | What is "Stop Event Monitoring" for?
|
| The Robolab manual says "This command stops the program from watching for events" and gives an example which is essentially identical to the example for the "Start Monitoring for an Event" icon except it adds a "Stop Event Monitoring" icon after the (...) (21 years ago, 28-Dec-03, to lugnet.robotics.rcx.robolab)
|
3 Messages in This Thread:
- 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
|
|
|
|