|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] Use of shifting operators in Paparazzi |
Date: | Mon, 26 Oct 2015 10:53:56 +0100 |
hi guys! Actually i have the same question about bitshifts. I am trying to write a new filter solution but it is complicatef with the bitshifts to understand in the end what is the real coefficient that I need to multiply the value for to get the real value. Is it possible just not to use them? I mean, instead of using Int32Eulers and Rates just to use float or double variables with no bitshifts? Thanks guys!
Flavio
Em 24/10/2015 20:01, "Sreenath Dama" <address@hidden> escreveu:Thanks felix,Is there any detailed documentation about the shifting amounts of different variables like speed, accel, gv_z_ref, gv_zd_ref,, etc. I and my friend are trying our best to decode them by studying the codes.ᐧOn Fri, Oct 16, 2015 at 3:25 AM, Felix Ruess <address@hidden> wrote:FelixHope that helps,E.g. an angle is max 360deg before it wraps around, so the range is limited...Hi,since different variables represent different values (resolution and range), the fixed point representation is shifted by different amounts to represent the values with a reasonable range and resolution.On Thu, Oct 15, 2015 at 1:01 PM, Sreenath Dama <address@hidden> wrote:_______________________________________________I would be really grateful if someone could help me understand why different shifting values are used for different Variables in Paparazzi codes. What is the reason behind the same ?Thanks,Srinath Damaᐧ
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |