paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Code cleaning


From: antoine . drouin
Subject: [Paparazzi-devel] Code cleaning
Date: Sat, 20 Oct 2007 00:15:42 +0200
User-agent: Internet Messaging Program (IMP) 3.2.5

Good evening ladies and gentlemen

Looking at the code and especialy the infrared.c file, it appears that over the
years, we have accumulated some not so used features.
For example, we have 4 differents ways of dealing with infared measurements
 -without vertical sensor using ground calibration
 -without vertical sensor using the famous LLS filter
 -with vertical sensor using a linear function
 -with vertical sensor using the IR360 method ( atan2 )

This leads to 340 lines of not so easy to read code and dozains of not so easy
to understand parameters. What about removing all that and leaving only the
IR360 method which seems the most efficient ?

If anybody has a strong oposition to this, please let us know

Poine











reply via email to

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