Robot
The embedded systems for UTRA's autonomous humanoid soccer-playing robot
robotState.h
Go to the documentation of this file.
1 
11 #ifndef ROBOTSTATE_H_
12 #define ROBOTSTATE_H_
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 
19 
20 
22 typedef struct robot_state {
23  uint32_t start_seq;
25  uint32_t id;
26  char msg[80];
28  uint32_t end_seq;
30 } RobotState;
31 
32 #define ROBOT_STATE_MPU_DATA_OFFSET 48
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif /* ROBOTSTATE_H_ */
struct robot_state RobotState
Data structure sent from the MCU to the PC. Contains sensor data.
uint32_t id
Definition: robotState.h:25
Data structure sent from the MCU to the PC. Contains sensor data.
Definition: robotState.h:22
uint32_t end_seq
Definition: robotState.h:28
uint32_t start_seq
Definition: robotState.h:23
char msg[80]
Definition: robotState.h:26