 |
 |
|
|
|
|
|
| Which touch sensor data logging icon should I use in ROBOLAB? |
There are three different touch sensor data logging icons. All of the icons can be found under the Investigator folder. Each one is useful for different applications.
The first icon is the NXT Initialize Touch Sensor Logging icon. This logs a value of 1 whenever the touch sensor is pushed in and reads a value of zero whenever the touch sensor is not pushed in. For this example, the touch sensor was pushed and released twice.


The second icon is the NXT Initialize Clicks Sensor Logging icon. The clicks are the total number of times that the touch sensor has been pushed. So the NXT logs the number of accumulated pushes at any given time. This shows the graph for the touch sensor being pushed and released twice with the Clicks Sensor Logging.


The third icon is the NXT Initialize Touch and Release Sensor Logging. This records not only every time that the touch sensor is pushed but also every time that the touch sensor is released. When the touch sensor was pushed and released twice with the Touch and Release Sensor Logging, the final value was 4 for the two pushes and the two releases.


ks
|