Hello friends of Pololu,
I have finally started to write a script to retract/extend the landing gear from my C-123 Provider.
First a short introduction: The toggle impulse for the landing gear comes as input via channel 0.
When the Pololu is switched on (initialize), all landing gear doors open and the landing gear extends. All servos take their default (start) position.
When a switching impulse occurs at channel 0, the landing gear retracts and all gear doors close. On the next pulse, the landing gear extends again.
I have manually set all values in the Maestro Control Center "Channel Settings (on Startup or error) and when I switch on the Pololu, the landing gear extends as wanted.
I can see in the Maestro Control Center at which position (numerical value) the landing gear doors or the landing gear are extended or retracted.
The values that are displayed in the Maestro Control Center for the servo positions are between 900 and 2000.
If I look in the script, there are values between 3968 and 8000. I do not understand this.
In the documentation it says: Note that the servo positions are specified in units of 0.25 μs, so a value of 4000 corresponds to 1 ms.
But what does that tell me? ⦠the servos have a range of +/- 45°.
How do I have to convert the values from the Maestro Control Center?
In the Maestro Control Center initial values (start position) of 990, 1010, 1163 or 1980 are displayed for the servos.
How do I convert them to get the value that I then use in the script. What is the value for 990 in the script and how do I have to understand that?
Why does the Maestro Control Center not show the value that is also used in the script.
Probably many here shake their heads at such a stupid question, but I was never a programmer and am probably not the brightest candle on the Christmas tree.
I hope someone can explain this to me anyway. Thank you very much in advance.
Lars