File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
# Sensor data pertaining to the Wiimote infrared camera.
2
- # This message contains data for one of the four infrared
2
+ # This message contains data for one of the four infrared
3
3
# light sources that the camera detects.
4
4
#
5
- # Each light is specified with a 2D position and
5
+ # Each light is specified with a 2D position and
6
6
# a 'source magnitude' (ir_size). If the x dimension
7
- # is set to INVALID_FLOAT, then no light was detected for
7
+ # is set to INVALID_FLOAT, then no light was detected for
8
8
# the respective light. The Wiimote handles up to
9
9
# four light sources, and the wiimote_controller software
10
10
# is written to that limit as well.
11
11
#
12
- # I am unsure what the 'ir_size' values represent.
12
+ # I am unsure what the 'ir_size' values represent.
13
13
# They are described as 'source magnitude' in some places. I
14
- # *assume* this is signal amplitude, but it's unclear.
15
- # Note that current lowest level cwiid driver does not
16
- # seem to pass the ir_size value to the cwiid Wiimote.c.
14
+ # *assume* this is signal amplitude, but it's unclear.
15
+ # Note that current lowest level cwiid driver does not
16
+ # seem to pass the ir_size value to the cwiid Wiimote.c.
17
17
# For now this size will therefore be set INVALID
18
18
19
- float64 x
20
- float64 y
19
+ float64 x
20
+ float64 y
21
21
int64 ir_size
Original file line number Diff line number Diff line change 16
16
# n>=0: run the pattern that is defined in pulse_pattern
17
17
# n times.
18
18
# n==FOREVER: run the pattern that is defined in pulse_pattern
19
- # until a new TimedSwitch message is sent.
19
+ # until a new TimedSwitch message is sent.
20
20
#
21
21
# o pulse_pattern:
22
22
# A series of time durations in fractions of a second. The
23
23
# first number is the duration for having the switch on.
24
24
# The second number is the duration for which the switch
25
25
# is off. The third is an 'on' period again, etc.
26
26
# A pattern is terminated with the end of the array.
27
- #
28
- # Example: [1,1] specifies an on-off sequence of 1 second.
27
+ #
28
+ # Example: [1,1] specifies an on-off sequence of 1 second.
29
29
30
30
int8 ON = 1
31
31
int8 OFF = 0
You can’t perform that action at this time.
0 commit comments