Skip to content
Snippets Groups Projects
Commit e528ef0a authored by Maximilian Schnabel's avatar Maximilian Schnabel
Browse files

Update Sensor.m

parent a8eb7041
No related branches found
No related tags found
2 merge requests!7Keep going if mountpoint exists (persistent),!6Docs NXT compatibility
......@@ -41,6 +41,7 @@ classdef Sensor < MaskedHandle
% *Output: none, black, blue, green. yellow, red, white, brown
% * Gyro-Sensor:
% * DeviceMode.Gyro.Angular *[Default]*
% *Note: value appears to be rising indefinitely, even in resting position
% * DeviceMode.Gyro.Rate
% *Output: rotational speed [degree/s]. Expect small offset in resting position
% * Infrared-Sensor:
......@@ -63,7 +64,7 @@ classdef Sensor < MaskedHandle
% 6 - white
% 7 - brown
% * DeviceMode.NXTColor.Green
% *Output: value in range 0% to 100% of green reflectivityniedrige intensität farbe
% *Output: value in range 0% to 100% of green reflectivity
% * DeviceMode.NXTColor.Blue
% *Output: value in range 0% to 100% of blue reflectivity
% * DeviceMode.NXTColor.Raw
......@@ -80,24 +81,27 @@ classdef Sensor < MaskedHandle
% *Output: value in dba weighted according to human hearing
% * NXTTemperature-Sensor
% * DeviceMode.NXTTemperature.C *[Default]*
% *Output: value in Celsius
% * DeviceMode.NXTTemperature.F
% *Output: value in Fahrenheit
% * NXTTouch-Sensor:
% * DeviceMode.NXTTouch.Pushed *[Default]*
% *Output: 0: not pushed, 1: pushed
% * Output: 0: not pushed, 1: pushed
% * DeviceMode.NXTTouch.Bumps
% *Output: n: number of times pressed and released
% * Output: n: number of times pressed and released
% * NXTUltraSonic-Sensor:
% * DeviceMode.NXTUltraSonic.CM *[Default]*
% *Output: distance in cm
% * Output: distance in cm
% * DeviceMode.NXTUltraSonic.IN
% *Output: distance in inches
% * Output: distance in inches
% * HTAccelerometer-Sensor:
% * DeviceMode.HTAccelerometer.Acceleration *[Default]*
% * DeviceMode.HTAccelerometer.AccelerationAllAxes
% *Note: Not working properly. Returning 1 value instead of 6
% * Note: Not working properly. Returning 1 value instead of 6
% * HTCompass-Sensor:
% * DeviceMode.HTCompass.Degrees *[Default]*
% * Note: currently not recognized
% * Note: 'Error' mode assigned, value still appears to be correct.
% * Output: 0 to 180 degree. 45° being north, 90° east etc
% * HTColor-Sensor:
% * DeviceMode.HTColor.Col *[Default]*
% *Output: value representing color:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment