Hi everyone,
I am trying to use CANBUS signal controlling PPM output for servo. I added the following code in command_can.c, you can find the link https://github.com/JiaheXu/bldc/blob/master/comm/comm_can.c#L2131
case CAN_PACKET_SET_SERVO_POS: {
ind = 0;
servo_simple_set_output(buffer_get_float16(data8, 1000.0, &ind));
//timeout_reset();
} break;
when I try the CANBUS command, the servo does spin, but it never stop (cannot accept the next CANBUS command). How can I fix this?
Best,
Jiahe Xu