mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 10:20:34 +08:00
Merged with px4/multitables
Conflicts: src/modules/systemlib/mixer/multi_tables
This commit is contained in:
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user