gusimplewhiteboard
wb_sensors_head_sensors Struct Reference

WHITEBOARD_POSTER_STRING_CONVERSION. More...

#include <wb_sensors_head_sensors.h>

Inheritance diagram for wb_sensors_head_sensors:
Collaboration diagram for wb_sensors_head_sensors:

Public Attributes

bool Head_Touch_Front
 state of the front capacitive sensor located on top of the head, on / off. More...
 
bool Head_Touch_Middle
 state of the middle capacitive sensor located on top of the head, on / off. More...
 
bool Head_Touch_Rear
 state of the back capacitive sensor located on top of the head, on / off. More...
 

Detailed Description

WHITEBOARD_POSTER_STRING_CONVERSION.

Contains the current values of sensors located on top of the robot's head (designed for Nao H25 & H21 only)

Examples

Get the state of the Head_Touch_Front sensor

SensorsHeadSensors s = SensorsHeadSensors_t.get(); //get from the whiteboard bool button_state = s.Head_Touch_Frontt(); //pull the variable out of the class

Notes: Only the H25 and H21 models have capacitive sensors in the head, indicated by the blue leds on top of the head.

Definition at line 114 of file wb_sensors_head_sensors.h.

Member Data Documentation

◆ Head_Touch_Front

bool wb_sensors_head_sensors::Head_Touch_Front

◆ Head_Touch_Middle

bool wb_sensors_head_sensors::Head_Touch_Middle

◆ Head_Touch_Rear

bool wb_sensors_head_sensors::Head_Touch_Rear

The documentation for this struct was generated from the following file: