62 lines
1.1 KiB
C++
62 lines
1.1 KiB
C++
|
|
/*
|
||
|
|
* Generated by erpcgen 1.14.0 on Tue Apr 28 12:16:31 2026.
|
||
|
|
*
|
||
|
|
* AUTOGENERATED - DO NOT EDIT
|
||
|
|
*/
|
||
|
|
|
||
|
|
|
||
|
|
#if !defined(_servo_service_common_hpp_)
|
||
|
|
#define _servo_service_common_hpp_
|
||
|
|
|
||
|
|
|
||
|
|
#include <cstddef>
|
||
|
|
#include <cstdint>
|
||
|
|
|
||
|
|
#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,
|
||
|
|
RpcMotionModeFollow = 2
|
||
|
|
} 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
|
||
|
|
|
||
|
|
|
||
|
|
#endif // _servo_service_common_hpp_
|