ferror and min_ferror doesn't help.
Commenting my code and using just:
Code:
net x-pos-cmd axis.0.motor-pos-cmd => axis.0.motor-pos-fb
works, but it skips my driver. Adding PID crashes again:
Code:
net x-pos-cmd axis.0.motor-pos-cmd => x-pid.command x-pid.feedback
net x-vel-cmd x-pid.output => axis.0.motor-pos-fb
Do I miss sth in PID conf?
I also can't execute anything from driver. Read and write functions don't execute. rtapi_print_msg doesn't print anything. Values changed on rtapi_app_main are not changed in Hal Meter