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 ...@@ -41,6 +41,7 @@ classdef Sensor < MaskedHandle
% *Output: none, black, blue, green. yellow, red, white, brown % *Output: none, black, blue, green. yellow, red, white, brown
% * Gyro-Sensor: % * Gyro-Sensor:
% * DeviceMode.Gyro.Angular *[Default]* % * DeviceMode.Gyro.Angular *[Default]*
% *Note: value appears to be rising indefinitely, even in resting position
% * DeviceMode.Gyro.Rate % * DeviceMode.Gyro.Rate
% *Output: rotational speed [degree/s]. Expect small offset in resting position % *Output: rotational speed [degree/s]. Expect small offset in resting position
% * Infrared-Sensor: % * Infrared-Sensor:
...@@ -63,7 +64,7 @@ classdef Sensor < MaskedHandle ...@@ -63,7 +64,7 @@ classdef Sensor < MaskedHandle
% 6 - white % 6 - white
% 7 - brown % 7 - brown
% * DeviceMode.NXTColor.Green % * 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 % * DeviceMode.NXTColor.Blue
% *Output: value in range 0% to 100% of blue reflectivity % *Output: value in range 0% to 100% of blue reflectivity
% * DeviceMode.NXTColor.Raw % * DeviceMode.NXTColor.Raw
...@@ -80,7 +81,9 @@ classdef Sensor < MaskedHandle ...@@ -80,7 +81,9 @@ classdef Sensor < MaskedHandle
% *Output: value in dba weighted according to human hearing % *Output: value in dba weighted according to human hearing
% * NXTTemperature-Sensor % * NXTTemperature-Sensor
% * DeviceMode.NXTTemperature.C *[Default]* % * DeviceMode.NXTTemperature.C *[Default]*
% *Output: value in Celsius
% * DeviceMode.NXTTemperature.F % * DeviceMode.NXTTemperature.F
% *Output: value in Fahrenheit
% * NXTTouch-Sensor: % * NXTTouch-Sensor:
% * DeviceMode.NXTTouch.Pushed *[Default]* % * DeviceMode.NXTTouch.Pushed *[Default]*
% * Output: 0: not pushed, 1: pushed % * Output: 0: not pushed, 1: pushed
...@@ -97,7 +100,8 @@ classdef Sensor < MaskedHandle ...@@ -97,7 +100,8 @@ classdef Sensor < MaskedHandle
% * Note: Not working properly. Returning 1 value instead of 6 % * Note: Not working properly. Returning 1 value instead of 6
% * HTCompass-Sensor: % * HTCompass-Sensor:
% * DeviceMode.HTCompass.Degrees *[Default]* % * 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: % * HTColor-Sensor:
% * DeviceMode.HTColor.Col *[Default]* % * DeviceMode.HTColor.Col *[Default]*
% *Output: value representing color: % *Output: value representing color:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment