zhangzhencao / gentlenav

Automatically exported from code.google.com/p/gentlenav
0 stars 0 forks source link

Remove code optimisations specific to UDB3- #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Remove conditional code compilations used to reduce memory usage for UDB3-.
In particular any variables that are conditionally variable or const will be 
made variable only.

The aim is to reduce clutter and reduce test load.

What still needs to be decided?

What still needs to be done?

Original issue reported on code.google.com by uavflightdirector on 14 Aug 2013 at 1:47

GoogleCodeExporter commented 9 years ago
Move to release 4.5

Original comment by uavflightdirector on 19 Aug 2013 at 1:04

GoogleCodeExporter commented 9 years ago
Most of the preprocessor macros to support the legacy boards was removed prior 
to the 4.0 release. Compiling in support for all GPS types which are supported 
is completed and ready for completing the merge to trunk. 

To be decided:
The level of runtime configuration we want to support. Now that the UDB4/5 & 
AUAV3 have plentiful code and data space we can aim for a more general purpose 
default build with most code features compiled in.

To be done:
The next round will include reducing code complexity due to memory 
optimisations as described above. Ongoing work to include the three supported 
OSD devices and continued development of a runtime initialisation file as 
prototyped in the AUAV3 branch.

Original comment by robert.dickenson on 30 Aug 2013 at 10:28

GoogleCodeExporter commented 9 years ago
There are still some optimizations that remain and obscure the code.  One 
example is the altitudeCntrl and altitudeCntrlVariable libraries. Another 
example is the option specific way that values are declared as variable or 
const.

Ownership for this activity is likely to be moved around as different devs do 
different parts of the cleanup.

This is a wide ranging change which will cause problems with other merges if 
done too early. As such I have moved it on to release 5.0.

Original comment by uavflightdirector on 30 Aug 2013 at 11:52

GoogleCodeExporter commented 9 years ago

Original comment by robert.dickenson on 19 Nov 2013 at 3:19