You have 8 of the actuators? So you have 8 pots to read, and then adjust the motors until the pot readings are where you want them?
Like I said im not a ver ggod programmer by any means so Id be very thankful for any tips how I could make that code more reliable.
I meant specifically the actuator stuff.
But the only code that drives the actuators is in the voids kneevl - hiphr. So basically what would be great is an idea how to make that code more reliable.
The in and out functions just control the Motordriver.
Ok Ive looked into the whole PID thing and it seems to kinda work the problem is that my motor moves so fast that I would need to include some kind of tolerance into the target value any ideas?
Ok sounds good ill lock this threadThis might sound silly but where can I actually lock a thrad?