Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ev3-toolbox-matlab
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mindstorms
ev3-toolbox-matlab
Commits
e528ef0a
Commit
e528ef0a
authored
5 years ago
by
Maximilian Schnabel
Browse files
Options
Downloads
Patches
Plain Diff
Update Sensor.m
parent
a8eb7041
No related branches found
No related tags found
2 merge requests
!7
Keep going if mountpoint exists (persistent)
,
!6
Docs NXT compatibility
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Sensor.m
+11
-7
11 additions, 7 deletions
source/Sensor.m
with
11 additions
and
7 deletions
source/Sensor.m
+
11
−
7
View file @
e528ef0a
...
...
@@ -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 reflectivity
niedrige 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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment