57 lines
1.0 KiB
C
57 lines
1.0 KiB
C
|
|
/*
|
||
|
|
* Generated by erpcgen 1.14.0 on Wed Jan 14 16:06:40 2026.
|
||
|
|
*
|
||
|
|
* AUTOGENERATED - DO NOT EDIT
|
||
|
|
*/
|
||
|
|
|
||
|
|
|
||
|
|
#if !defined(_c_face_servo_server_h_)
|
||
|
|
#define _c_face_servo_server_h_
|
||
|
|
|
||
|
|
#include "face_servo_common.h"
|
||
|
|
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
extern "C"
|
||
|
|
{
|
||
|
|
#endif
|
||
|
|
|
||
|
|
typedef void * erpc_service_t;
|
||
|
|
|
||
|
|
#if !defined(ERPC_FUNCTIONS_DEFINITIONS)
|
||
|
|
#define ERPC_FUNCTIONS_DEFINITIONS
|
||
|
|
|
||
|
|
|
||
|
|
/*! @brief FaceServo identifiers */
|
||
|
|
enum _FaceServo_ids
|
||
|
|
{
|
||
|
|
kFaceServo_service_id = 1,
|
||
|
|
kFaceServo_setAllAngles_id = 1,
|
||
|
|
kFaceServo_setAngles_id = 2,
|
||
|
|
kFaceServo_setAngle_id = 3,
|
||
|
|
};
|
||
|
|
|
||
|
|
//! @name FaceServo
|
||
|
|
//@{
|
||
|
|
int32_t setAllAngles(const list_float_1_t * angles_deg);
|
||
|
|
|
||
|
|
int32_t setAngles(const list_ServoCmd_1_t * cmds);
|
||
|
|
|
||
|
|
int32_t setAngle(const char * id, float angle_deg);
|
||
|
|
//@}
|
||
|
|
|
||
|
|
|
||
|
|
#endif // ERPC_FUNCTIONS_DEFINITIONS
|
||
|
|
|
||
|
|
/*! @brief Return FaceServo_service service object. */
|
||
|
|
erpc_service_t create_FaceServo_service(void);
|
||
|
|
|
||
|
|
/*! @brief Destroy FaceServo_service service object. */
|
||
|
|
void destroy_FaceServo_service(erpc_service_t service);
|
||
|
|
|
||
|
|
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif // _c_face_servo_server_h_
|