Includes the direction of the pilot in the calculation of the real angle of the sensor
(as opposed to the relative direction of the sensor)
NOTE: There is no corresponding setAbsoluteDirection() method because the angle the Pilot
would rotate to and the angle the sensor would rotate to would be ambiguous. e.g. to rotate
the sensor 90 degrees, the Pilot could rotate 10 degrees and the sensor 80 degrees, or any
number of combinations to get 90 degrees.
Returns the directional heading in degrees. (0 to 359.9)
0 is due North (on Mindsensors circuit board a white arrow indicates
the direction of compass).
Returns the current operating mode of the sensor.
0 : sensor is off
1 : Single shot ping mode
2 : continuous ping mode (default)
3 : Event capture mode
Returns the normalized value of the brightness of the white light detected, such that
the lowest value is darkness and the highest value is intense bright light.
Note: There is no corresponding setPilot() method because the type of robot vehicle could
not change after the program starts, unless it was physically a transformer robot.
Returns the terminal's tilt in degrees defined as an angle in the vertical plane
orthogonal to the ground, and through the longitudinal axis of the terminal.