Andrew Tridgell
3a78255e54
Frame_Params: added WLToys V383 parameters
...
for HeliQuad frame
2017-10-03 10:16:41 +11:00
Gabriel Moyano
42add82e1a
Tools: Vagrant with suppport for ARM hf
...
g++-arm-linux-gnueabihf and pkg-config-arm-linux-gnueabihs were added in initvagrant.sh in order to crosscompile for ARM hf architecture
2017-09-30 21:03:46 +10:00
Peter Barker
6bd5ac78f5
Tools: LogAnalyzer: fix string-method-on-int bug for unknown modes
2017-09-30 09:19:17 +10:00
cclauss
c6aaa12e94
Tools: LogAnalyzer: Fix undefined name VehicleType
...
Tools: TestAutotune.py: Fix undefined name VehicleType
__VehicleType__ is used on line 58 but is never defined or imported.
Tools: TestPerformance.py: Fix undefined name VehicleType
__VehicleType__ is used on line 19 but is never defined or imported.
Tools: TestParams.py: Fix undefine name VehicleType
__VehicleType__ is used on line 21 but is never defined or imported.
Tools: TestThrust.py: Fix undefine name VehicleType
__VehicleType__ is used on line 19 but is never defined or imported.
Tools: TestVibration.py: Fix undefined name VehicleType
__VehicleType__ is used on line 21 but is never defined or imported.
2017-09-30 09:19:01 +10:00
cclauss
d91a3250a6
Tools: TestParams.py: Fix undefine name VehicleType
...
__VehicleType__ is used on lines 47, 53, and 56 but is never defined or imported. This could result in a NameError runtime exception.
2017-09-29 10:31:30 +10:00
Peter Barker
a629bb7f2f
Tools: LogAnalyzer: TestGPSGlitch: flake8 compliance
2017-09-28 11:44:54 +10:00
Peter Barker
7a077b5fa1
Tools: LogAnalyzer: TestGPSGlitch: tabs to spaces
2017-09-28 11:43:30 +10:00
cclauss
5729838a85
Tools: UnitTest.py: Change usage of next()
...
__lit.next()__ is not Python 3 compatible but __next(lit)__ is compatible with both Python 2 and 3.
In Python 2.6 and later, it is safe to merely switch from lit.next() to next(lit). See: http://python3porting.com/improving.html#the-next-next Both the automated tools 2to3 and futurize consider this "fixer" to be a "safe" change as we saw in #6954
2017-09-28 09:45:29 +10:00
Andrew Tridgell
776355ef2b
autotest: fixed heli test
...
need to wait for motor runup
2017-09-27 20:54:21 +10:00
Lucas De Marchi
beabae6a98
global: use static method to construct AP_AHRS_NavEKF
2017-09-26 03:01:21 +01:00
Lucas De Marchi
c9fbf7b722
global: use static method to construct AP_NavEKF3
2017-09-26 03:01:21 +01:00
Lucas De Marchi
e2fe36357a
global: use static method to construct AP_NavEKF2
2017-09-26 03:01:21 +01:00
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
2017-09-26 03:01:21 +01:00
Lucas De Marchi
40fd1b346c
global: remove rangefinder from AP_AHRS_NavEKF
...
AP_AHRS_NavEKF doesn't use the rangefinder, it just delegates the
calls to the right estimator.
For libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp the initialization
order has also been modified to match the order on vehicles. It's more
correct since it passes a reference when EKF2/EKF3 are already
constructed, while thos constructors use a pointer. Ideally these
should be moved to an init() method though, or use a get_instance().
2017-09-26 03:01:21 +01:00
Lucas De Marchi
9027a55696
global: use static method to construct RangeFinder
2017-09-26 03:01:21 +01:00
Lucas De Marchi
53c82b4aaf
global: use static method to construct DataFlash_Class
2017-09-26 03:01:21 +01:00
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
2017-09-26 03:01:21 +01:00
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
2017-09-26 03:01:21 +01:00
Lucas De Marchi
c1a957fbf3
global: use static method to construct Compass
2017-09-26 03:01:21 +01:00
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
2017-09-26 03:01:21 +01:00
cclauss
654bb6ffce
Tools: runplanetest.py: Remove redundant parenthesis
...
This syntax error was mistakenly introduced in #6999 .
2017-09-25 14:55:51 +01:00
Lucas De Marchi
cd81b27c05
build: protect ap_version.h from inclusion
2017-09-23 21:37:45 -07:00
cclauss
a906d31c23
Tools: runplanetest.py: Resolve undefined name
...
Fixes : #6839
Undefined names can raise [NameError](https://docs.python.org/2/library/exceptions.html#exceptions.NameError ) at runtime.
2017-09-24 13:54:58 +10:00
cclauss
e5256d0bd5
Tools: TestPitchRollCoupling.py: Change usage of next()
...
__lit.next()__ is not Python 3 compatible but __next(lit)__ is compatible with both Python 2 and 3.
2017-09-24 12:36:03 +10:00
Peter Barker
ac3cb355c4
Tools: LogAnalyzer: fix bugs, handle newer log formats
...
Tools: LogAnalyzer: avoid fatal error if mag data is all zeros
Tools: LogAnalyzer: correct comparisons against logdata.vehicleType
Tools: LogAnalyzer: handle logs with TimeUS in place of TimeMS
Tools: LogAnalyzer: handle logs with CTUN.ThO in place of CTUN.ThrOut
Tools: LogAnalyzer: correct motor average value
2017-09-24 12:34:23 +10:00
Peter Barker
a87814b325
Tools: rename runfliptest.sh to runfliptest.py
...
As this is a Python script
2017-09-24 08:52:40 +10:00
cclauss
d2eec2db29
Tools: runfliptest.sh: Resolve undefined name
...
Fixes : #6839 (partial fix)
Undefined names can raise [NameError](https://docs.python.org/2/library/exceptions.html#exceptions.NameError ) at runtime.
2017-09-24 08:50:37 +10:00
cclauss
d583bb9cbc
Tools: update_wiki.py: fix syntax error
...
SyntaxError: print() is a function in Python 3
2017-09-23 21:44:56 +10:00
cclauss
f266c82040
Tools: magfit_flashlog.py: fix syntax errors
...
SyntaxError: print() is a function in Python 3
2017-09-23 21:44:11 +10:00
José Roberto de Souza
c6b19131ba
ardupilotwaf: AeroFC: Remove unused tools
...
before
BUILD SUMMARY
Build directory: /home/zehortigoza/dev/ardupilot/build/aerofc-v1
Target Text Data BSS Total
------------------------------------------------
bin/arducopter 860324 2032 55220 917576
bin/arducopter-heli 844204 2028 55028 901260
after
BUILD SUMMARY
Build directory: /home/zehortigoza/dev/ardupilot/build/aerofc-v1
Target Text Data BSS Total
------------------------------------------------
bin/arducopter 852248 2024 55156 909428
bin/arducopter-heli 836120 2020 54964 893104
2017-09-21 13:40:41 -07:00
Lucas De Marchi
015242c89b
Tools: add params for Aero Compute Board
...
These are the parameter for Aero Compute Board to fly Intel Aero RTF
without the flight controller, using just the internal sensors
on the Linux side.
2017-09-21 07:59:20 -07:00
Peter Barker
5a19301606
Tools: autotest: add a test for setting of modes using CMD_DO_SET_MODE
2017-09-19 01:24:11 +01:00
mirkix
6bc4ab638a
Tools: Add SITL tilthvec frame and default parameters
2017-09-18 21:20:39 +10:00
Peter Barker
27650c08aa
Tools: autotest: use -z in place of -v for checking variable settedness
...
Some bash versions out there don't like -v
2017-09-18 08:26:22 +10:00
Peter Barker
78a0298af0
Tools: autotest.py: look at EKF flags to determine armability
2017-09-15 15:57:11 +01:00
Peter Barker
d475b91564
Tools: Replay: pass a lambda function to LR_MsgHandler_PARM to set parameters
...
This avoid duplication of parameter setting logic.
2017-09-14 13:43:50 +01:00
Randy Mackay
ebea292d63
Tools: add frame params for eLAB 470 quad
2017-09-13 17:55:05 +09:00
Peter Barker
406f4a9ca7
Tools: generate-manifest: print errors to stderr
2017-09-13 10:09:00 +10:00
Lucas De Marchi
83b9518a49
build: remove raspilot
2017-09-12 15:06:19 -07:00
Peter Barker
0062084c40
Tools: Replay: option to print packet counts out at end
2017-09-12 19:01:59 +01:00
Francisco Ferreira
efc42edabe
waf: remove URUS
2017-09-11 10:04:11 -07:00
Marco Robustini
b4f46b14f0
Tools: add Marco's flying field to locations file
2017-09-11 17:58:01 +01:00
Peter Barker
20bfb82a7b
Tools: autotest.py: add --no-clean and --no-configure options
2017-09-11 12:45:27 +10:00
Peter Barker
e505635ddd
Tools: sim_vehicle: make gdb-stopped work again
2017-09-11 12:30:00 +10:00
Peter Barker
7f2882f54b
Tools: LogAnalyzer: cope with renamed GPS fields
2017-09-11 12:05:12 +10:00
Peter Barker
2c0e2aab15
Tools: LogAnalyzer: derive motor count from frame type MSG
2017-09-11 12:01:24 +10:00
Francisco Ferreira
84efe7e6f5
Tools: ci: reduce ccache sizes
2017-09-08 16:33:15 +01:00
Francisco Ferreira
be88b5a6e8
Tools: ci: get ccache statistics for SITL test
2017-09-08 16:33:15 +01:00
Francisco Ferreira
129fde128a
Tools: ci: let waf decide number of jobs for building SITL test
2017-09-08 16:33:15 +01:00
Francisco Ferreira
aa6b997a0b
Tools: ci: use number of CPUs to choose number of jobs on Make builds
2017-09-08 16:33:15 +01:00