Go Down

Topic: 3 axis auto stabilized platform (Read 29 times) previous topic - next topic

mem

What is the relationship you want between the input pulses and the output pulses?

GekoCH

Hmm I thought that my Hitec servos need a Pulse between 900 and 2100.

One thing when i test the "// ServoDecodeTest" it does show me the error
Not_Synched. But whne I siwtch the transmitter of it does show "Failsafe".

Why not_snyched?

GekoCH

sorry the values are right i can use them for controlling the servo without
map()....

mem

#198
Jul 27, 2008, 12:01 pm Last Edit: Jul 27, 2008, 12:01 pm by mem Reason: 1
Quote

One thing when i test the "// ServoDecodeTest" it does show me the error
Not_Synched. But whne I siwtch the transmitter of it does show "Failsafe".

Why not_snyched?


Not synched means the decoder has never received a valid signal. A valid signal consists of all channel pulses within the minimum and maximum values followed by a valid sync pulse, with the time values defined in the header file. It will only enter the fail-safe state on an invalid signal after has detected at least one complete valid frame.

More complex detection of an invalid signal is awaiting some spare coding time. Any volunteers for this are welcome  ;)

GekoCH

Ah ok thx!

Just one thing the values from the different channels
they always jump (like 1201, 1202 , 1203) so the Servo
is always vibrating.
Do you know a way to get a stable pulse?

PS: Thx for all your help!!!

Andy

Go Up