gusimplewhiteboard
wb_nao_state Struct Reference

nao state c struct More...

#include <wb_nao_state.h>

Inheritance diagram for wb_nao_state:
Collaboration diagram for wb_nao_state:

Public Member Functions

 PROPERTY (enum Robot_Stance, stance) PROPERTY(enum Robot_Walk
 Currently SMRobotPosition detects if the robot has fallen over. More...
 
walk PROPERTY (bool, chest_pressed_long) PROPERTY(bool
 chest pressed for more than half a second More...
 
walk left_foot_pressed_long PROPERTY (bool, right_foot_pressed_long) PROPERTY(bool
 right foot pressed for more than half a second More...
 
walk left_foot_pressed_long chest_pressed PROPERTY (bool, left_foot_pressed) PROPERTY(bool
 left foot pressed
More...
 
 wb_nao_state ()
 constructor More...
 

Public Attributes

walk left_foot_pressed_long chest_pressed right_foot_pressed int16_t pad
 padding More...
 

Detailed Description

nao state c struct

Definition at line 40 of file wb_nao_state.h.

Constructor & Destructor Documentation

◆ wb_nao_state()

wb_nao_state::wb_nao_state ( )
inline

constructor

Definition at line 63 of file wb_nao_state.h.

Member Function Documentation

◆ PROPERTY() [1/4]

walk wb_nao_state::PROPERTY ( bool  ,
chest_pressed_long   
)

chest pressed for more than half a second

left foot pressed for more than half a second

◆ PROPERTY() [2/4]

walk left_foot_pressed_long chest_pressed wb_nao_state::PROPERTY ( bool  ,
left_foot_pressed   
)

left foot pressed

right foot pressed

◆ PROPERTY() [3/4]

walk left_foot_pressed_long wb_nao_state::PROPERTY ( bool  ,
right_foot_pressed_long   
)

right foot pressed for more than half a second

chest pressed

◆ PROPERTY() [4/4]

wb_nao_state::PROPERTY ( enum  Robot_Stance,
stance   
)

Currently SMRobotPosition detects if the robot has fallen over.

If not fallen over SMRobotPosition posts Standing. Tells the walk engine which walk to use

Member Data Documentation

◆ pad

walk left_foot_pressed_long chest_pressed right_foot_pressed int16_t wb_nao_state::pad

padding

Definition at line 59 of file wb_nao_state.h.


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