paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Spektrum Satellite dropping connection


From: Marko Thaler
Subject: Re: [Paparazzi-devel] Spektrum Satellite dropping connection
Date: Mon, 30 Aug 2010 14:02:22 +0200

Hi Eric,

I have bind my satellite receiver on Lisa and now everything works great! The code is so well commented it is a joy to examine. Thank you for your excellent work!

Now that all the RC stuff is working I have encountered a new problem that I still do not know what is causing it. Lisa just randomly freezes without a warning when autopilot code is running. This has happened on several occasions, anytime from 50 seconds to 18 minutes after start up. At the moment I am still not able to predictably reproduce the error.

I will try to collect as much data as possible and post any conclusions on the mailing list.

Best regards to Australia,

Marko


On Sun, Aug 29, 2010 at 10:15 AM, Eric Parsonage <address@hidden> wrote:
Marko

Hi 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,

Marko


PS: 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]