33 printf(
"motor_notify_event\n");
39 printf(
"motor_notify_error\n");
45 printf(
"motor_notify_timer\n");
95 printf(
"HAL_ERROR\n");
100 printf(
"HAL_ERROR\n");
105 printf(
"HAL_ERROR\n");
110 printf(
"HAL_ERROR\n");
114 int32_t timer_value=0;
119 printf(
"HAL_ERROR\n");
124 printf(
"HAL_ERROR\n");
126 printf(
"position=%f\n", position);
131 printf(
"HAL_ERROR\n");
136 printf(
"HAL_ERROR\n");
137 printf(
"value=%f\n",
value);
142 printf(
"HAL_ERROR\n");
143 printf(
"value=%f, timer_value=%d\n",
value, timer_value);
149 printf(
"HAL_ERROR\n");
void(* notify_error)(HALCOMPONENT_T *halComponent, int32_t error_id)
enum ReturnCode HalSetPosition(HALCOMPONENT_T *positionControlActuator, halfloat position)
OpenEL Common Header File 3.0.0.
void motor_notify_timer(EVENTTIMER_T *eventTimer)
enum ReturnCode HalTorqueSensorGetTimedValue(HALCOMPONENT_T *torqueSensor, halfloat *list, int32_t *timer)
enum ReturnCode HalTorqueSensorGetValue(HALCOMPONENT_T *torqueSensor, halfloat *list)
void motor_notify_error(HALCOMPONENT_T *halComponent, int32_t error_id)
enum ReturnCode HalGetPosition(HALCOMPONENT_T *positionControlActuator, halfloat *position)
enum ReturnCode HalInit(HALCOMPONENT_T *halComponent)
enum ReturnCode HalFinalize(HALCOMPONENT_T *halComponent)
void(* notify_timer)(EVENTTIMER_T *eventTimer)
void motor_notify_event(HALCOMPONENT_T *halComponent, int32_t event_id)
POSITIONCONTROLACTUATOR_T positionControlActuator
enum ReturnCode HalReInit(HALCOMPONENT_T *halComponent)
TORQUESENSOR_T torqueSensor
void(* notify_event)(HALCOMPONENT_T *halComponent, int32_t event_id)