Handles IR data.
More...
Go to the source code of this file.
|
#define | WII_VRES_X 560 |
|
#define | WII_VRES_Y 340 |
|
◆ calc_yaw()
float calc_yaw |
( |
struct ir_t * |
ir | ) |
|
Calculate yaw given the IR data.
- Parameters
-
◆ calculate_basic_ir()
void calculate_basic_ir |
( |
struct wiimote_t * |
wm, |
|
|
byte * |
data |
|
) |
| |
Calculate the data from the IR spots.
Basic IR mode.
- Parameters
-
wm | Pointer to a wiimote_t structure. |
data | Data returned by the wiimote for the IR spots. |
◆ calculate_extended_ir()
void calculate_extended_ir |
( |
struct wiimote_t * |
wm, |
|
|
byte * |
data |
|
) |
| |
Calculate the data from the IR spots.
Extended IR mode.
- Parameters
-
wm | Pointer to a wiimote_t structure. |
data | Data returned by the wiimote for the IR spots. |