Merged with px4/multitables

Conflicts:
	src/modules/systemlib/mixer/multi_tables
This commit is contained in:
Anton Matosov
2015-01-06 00:30:23 +02:00
3 changed files with 13 additions and 4 deletions
+7 -2
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
############################################################################
#
# Copyright (c) 2013, 2014 PX4 Development Team. All rights reserved.
@@ -39,9 +39,12 @@
import math
print "/*"
print "* These file is automatically generated by multi_tables - do not edit."
print "* This file is automatically generated by multi_tables - do not edit."
print "*/"
print ""
print "#ifndef _MIXER_MULTI_TABLES"
print "#define _MIXER_MULTI_TABLES"
print ""
def rcos(angleInRadians):
return math.cos(math.radians(angleInRadians))
@@ -190,3 +193,5 @@ printScaleTablesIndex()
printScaleTablesCounts()
print "} // anonymous namespace\n"
print "#endif /* _MIXER_MULTI_TABLES */"
print ""