Aesl Program
|
Variables for simplified reporters (distance and angle). More...
Variables | |
integer[1] | distance.front = {190} |
[out] distance front | |
integer[1] | distance.back = {125} |
[out] distance back | |
integer[1] | angle.front = {0} |
[out] angle front | |
integer[1] | angle.back = {0} |
[out] angle back | |
integer[1] | angle.ground = {0} |
[out] angle ground | |
Variables for simplified reporters (distance and angle).
The individual sensor values reported by prox
.* cannot be easily communicated using the Scratch protocol. The simplified reporters defined here combine the sensors into various useful values: distance from a single obstacle, angle from a single obstacle, in the front or in the back. The angle.ground
reporter compares the ground sensors and can be used for line following. Under standard lighting conditions, the distances are very approximately in millimeters and the angles are very approximately in degrees. These reporters are updated at 20 Hz by the button
event.