End of command send

Hello everyone!
I’m sending a command like my_drive.axis0.controller.pos_setpoint = (setpoint) to the odrive, i`m wondering if there is any command to know if the speed controller has end the task.

I know thar i can check the position of the encoder end know if the the motor has reached the setpoint… is there another way to do it?
Thanks

If you are trying to have the ODrive move to a specific location, you should use the trapezoidal trajectory mode. Then you can see when it has finished.