|
From: | Marko Thaler |
Subject: | Re: [Paparazzi-devel] Spektrum Satellite dropping connection |
Date: | Mon, 30 Aug 2010 14:02:22 +0200 |
MarkoHi Eric,Now everything makes perfect sense! Your response cleared a lot of fog in my head in connection to the new Spektrum parser. I will take a look at the code myself to get a solid understanding of the whole protocol.I have commented the code quite a lot so that it is easier to understand the protocol. I did a lot of testing and decided to bind as a 9/12 channel so that the best features of a transmitter are used. like 11bit rather than 10 bit resolution etc. If you had been using a 7 channel transmitter you would not have noticed the problem at all. The problem is that my code recognises that your channel data should come in two frames because it is a 9 channel transmitter but because you bound to a 7 channel receiver you only sent one frame (with a different protocol in which the first byte actually has almost the opposite meaning signal strength rather than frames lost). This lead to channel 0 being overwritten. Bind on Lisa and your life will be easy :)I will test everything as soon as I get back home (tomorrow) and let you know about the results.Thank you so much for clearing the whole thing up. I really appreciate it!Kind regards,MarkoPS: Are you located in America or have you been working on my problem till 5AM? In either case a thank you beer won't be enough! :-)I am in Australia :)Eric
[Prev in Thread] | Current Thread | [Next in Thread] |