60#ifndef wb_nao_walk_status_h
61#define wb_nao_walk_status_h
63#pragma clang diagnostic push
64#pragma clang diagnostic ignored "-Wreserved-id-macro"
68# define _POSIX_SOURCE 200112L
72# define _XOPEN_SOURCE 700
75# ifndef _DARWIN_C_SOURCE
76# define _DARWIN_C_SOURCE 200112L
78# ifndef __DARWIN_C_LEVEL
79# define __DARWIN_C_LEVEL 200112L
83#pragma clang diagnostic pop
97#define NAOWALKSTATUS_GENERATED
98#define NAOWALKSTATUS_C_STRUCT wb_nao_walk_status
99#define NAOWALKSTATUS_NUMBER_OF_VARIABLES 3
101#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
102#define NAOWALKSTATUS_DESC_BUFFER_SIZE 1078
103#define NAOWALKSTATUS_TO_STRING_BUFFER_SIZE 1032
139#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
WHITEBOARD_POSTER_STRING_CONVERSION.
enum WalkEngineState walkEngineState
The current state of the walk engine, see enum documentation.
struct wb_odometry odometry
Current odometry object.
uint8_t odometryResetCounter
A counter used to reset the odometry object, change this value and send it via NaoWalkCommand to trig...
WHITEBOARD_POSTER_STRING_CONVERSION.
@ wes_StoppedReady
In the Crouched stance, ready to walk again straight away but not currently moving anywhere.
@ wes_StoppedStanding
In the Standing position, this position uses less power than Stopped / Crouched, it is a minimal stif...
@ wes_Walking
Walking around, includes stopping, kicking, transition from Standing etc... basically the walk engine...
@ wes_Disconnected
Not connected to the DCM, does not control any joints in this state.
const char * wb_nao_walk_status_description(const struct wb_nao_walk_status *self, char *descString, size_t bufferSize)
Convert to a description string.
size_t wb_nao_walk_status_from_network_serialised(const char *src, struct wb_nao_walk_status *dst)
Network stream deserialisation.
size_t wb_nao_walk_status_to_network_serialised(const struct wb_nao_walk_status *self, char *dst)
WHITEBOARD_POSTER_STRING_CONVERSION.
const char * wb_nao_walk_status_to_string(const struct wb_nao_walk_status *self, char *toString, size_t bufferSize)
Convert to a string.
struct wb_nao_walk_status * wb_nao_walk_status_from_string(struct wb_nao_walk_status *self, const char *str)
Convert from a string.