cmvr_head/applications/erpc/proto/generated/servo_service_common.h
2026-04-23 09:53:17 +08:00

69 lines
1.2 KiB
C

/*
* Generated by erpcgen 1.14.0 on Wed Apr 22 16:48:46 2026.
*
* AUTOGENERATED - DO NOT EDIT
*/
#if !defined(_servo_service_common_h_)
#define _servo_service_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_SERVO_SERVICE)
#define ERPC_TYPE_DEFINITIONS_SERVO_SERVICE
// Enumerators data types declarations
typedef enum RpcMotionMode
{
RpcMotionModeImmediate = 0,
RpcMotionModeSCurve = 1
} RpcMotionMode;
// 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_rad;
};
struct list_ServoCmd_1_t
{
ServoCmd * elements;
uint32_t elementsCount;
};
#endif // ERPC_TYPE_DEFINITIONS_SERVO_SERVICE
#if defined(__cplusplus)
}
#endif
#endif // _servo_service_common_h_