This may be a silly question but in your IR conversion to degrees do you assume that the midpoint is 511? Would it not be better to calculate an average IR value in the level position and reference to this instead?
This may be a silly question but in your IR conversion to degrees do you assume that the midpoint is 511? Would it not be better to calculate an average IR value in the level position and reference to this instead?
I am using servo1.attach(9) and servo2.attach(10) but the problem may be wiring as the response is quite irregular. I tried the register code that you all wrote as well but the effect on my board is the same. In fact at the moment with the…"
I am new to ardupilot and just wanted to ask a quick question about servo control. I have tried as a start using software control for servos via the code below with the mux pin set high for testing. However the servos do not seem to respond…"
In the stabilisation code the servo.pde file shows servo control being done with configuration of the ATMega168 registers. Why was this done instead of using the servo library in arduino? Also I copied a bit of your code and tried to run some…"