67 lines
1.1 KiB
C
67 lines
1.1 KiB
C
|
|
/*
|
||
|
|
* Generated by erpcgen 1.14.0 on Wed Jan 14 16:06:40 2026.
|
||
|
|
*
|
||
|
|
* AUTOGENERATED - DO NOT EDIT
|
||
|
|
*/
|
||
|
|
|
||
|
|
|
||
|
|
#if !defined(_face_servo_common_h_)
|
||
|
|
#define _face_servo_common_h_
|
||
|
|
|
||
|
|
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
extern "C"
|
||
|
|
{
|
||
|
|
#endif
|
||
|
|
#include <stdbool.h>
|
||
|
|
#include <stddef.h>
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
#include "erpc_version.h"
|
||
|
|
|
||
|
|
#if 11400 != ERPC_VERSION_NUMBER
|
||
|
|
#error "The generated shim code version is different to the rest of eRPC code."
|
||
|
|
#endif
|
||
|
|
|
||
|
|
|
||
|
|
#if !defined(ERPC_TYPE_DEFINITIONS_FACE_SERVO)
|
||
|
|
#define ERPC_TYPE_DEFINITIONS_FACE_SERVO
|
||
|
|
|
||
|
|
// Aliases data types declarations
|
||
|
|
typedef struct list_float_1_t list_float_1_t;
|
||
|
|
typedef struct ServoCmd ServoCmd;
|
||
|
|
typedef struct list_ServoCmd_1_t list_ServoCmd_1_t;
|
||
|
|
|
||
|
|
// Structures/unions data types declarations
|
||
|
|
struct list_float_1_t
|
||
|
|
{
|
||
|
|
float * elements;
|
||
|
|
uint32_t elementsCount;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct ServoCmd
|
||
|
|
{
|
||
|
|
char * id;
|
||
|
|
float angle_deg;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct list_ServoCmd_1_t
|
||
|
|
{
|
||
|
|
ServoCmd * elements;
|
||
|
|
uint32_t elementsCount;
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
// Constant variable declarations
|
||
|
|
extern const int32_t kServoIdMaxLen;
|
||
|
|
|
||
|
|
extern const int32_t kMaxServoCount;
|
||
|
|
|
||
|
|
#endif // ERPC_TYPE_DEFINITIONS_FACE_SERVO
|
||
|
|
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif // _face_servo_common_h_
|