Andrew Tridgell
bf9779b63a
autotest: default plane simulator to 'plane'
...
this is good enough for most people and avoids an external dependency
7 years ago
guglie
e741cb28d2
fix wait_unlimited with an infinite sleep loop
...
this fixes issue #7180
7 years ago
el-shweikh
160ce436e3
Tools: added name to GIT_Success.txt
7 years ago
TsuyoshiKawamura
3467be6695
Tools: update eLAB-445 parameter file
7 years ago
Andrew Tridgell
d55b66efe1
autotest: added HMAS location
7 years ago
Peter Barker
8c03425f37
Tools: enable INS batch logging during Rover autotest
7 years ago
Peter Barker
b6404ff26b
Tools: build_binaries.py: handle badly formed config.mk
7 years ago
Peter Barker
c498f17bc8
Tools: autotest: fix apmrover2 race condition on banner
7 years ago
Peter Barker
93810ab42a
Tools: sim_vehicle.py: clarify comment about vagrant and mavlink-out
7 years ago
Peter Barker
89fa44a224
Tools: sim_vehicle.py: flake8 compliance
7 years ago
Peter Barker
163b354448
Tools: autotest: rover: add test for braking
7 years ago
Peter Barker
efefdfa037
Tools: build_binaries.py: support config.mk
7 years ago
Peter Barker
47ffad7cdc
Tools: autotest: copy generate_manifest aside for build_binaries.py
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
63ca1f755e
Tools: Replay: fix compiler warning for printf string
...
format ‘%ld’ expects argument of type ‘long int’, but argument has type ‘uint64_t {aka long long unsigned int}’
7 years ago
Peter Barker
e3320ca953
Tools: autotest.py: run build_binaries.py instead of build_binaries.sh
...
Note we still copy the script sideways. This is probably not
required for a python script.
7 years ago
Peter Barker
9e7d2e837a
Tools: build_binaries.py: translate build_binaries.sh into python
7 years ago
Peter Barker
5d02dc4a30
Tools: generate_manifest.py non-fatal if not all vehicle dirs exist
7 years ago
Peter Barker
0f99196972
Tools: build_binaries.sh references renamed generate-manifest.py
7 years ago
Peter Barker
e8f660f4a9
Tools: rename generate-manfest.py to generate_manifest.py
7 years ago
Andrew Tridgell
b88f2f1da3
autotest: fixed exception in convertgpx
7 years ago
Andrew Tridgell
71e2c86783
autotest: added more CMAC startup locations
...
this allows matching to RealFlight positions
7 years ago
Staroselskii Georgii
62cb2b6845
waf: boards: add Edge
7 years ago
Andrew Tridgell
3a78255e54
Frame_Params: added WLToys V383 parameters
...
for HeliQuad frame
7 years ago
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
7 years ago
Peter Barker
6bd5ac78f5
Tools: LogAnalyzer: fix string-method-on-int bug for unknown modes
7 years ago
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.
7 years ago
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.
7 years ago
Peter Barker
a629bb7f2f
Tools: LogAnalyzer: TestGPSGlitch: flake8 compliance
7 years ago
Peter Barker
7a077b5fa1
Tools: LogAnalyzer: TestGPSGlitch: tabs to spaces
7 years ago
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
7 years ago
Andrew Tridgell
776355ef2b
autotest: fixed heli test
...
need to wait for motor runup
7 years ago
Lucas De Marchi
beabae6a98
global: use static method to construct AP_AHRS_NavEKF
7 years ago
Lucas De Marchi
c9fbf7b722
global: use static method to construct AP_NavEKF3
7 years ago
Lucas De Marchi
e2fe36357a
global: use static method to construct AP_NavEKF2
7 years ago
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
7 years ago
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().
7 years ago
Lucas De Marchi
9027a55696
global: use static method to construct RangeFinder
7 years ago
Lucas De Marchi
53c82b4aaf
global: use static method to construct DataFlash_Class
7 years ago
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
7 years ago
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
7 years ago
Lucas De Marchi
c1a957fbf3
global: use static method to construct Compass
7 years ago
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
7 years ago
cclauss
654bb6ffce
Tools: runplanetest.py: Remove redundant parenthesis
...
This syntax error was mistakenly introduced in #6999 .
7 years ago
Lucas De Marchi
cd81b27c05
build: protect ap_version.h from inclusion
7 years ago
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.
7 years ago
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.
7 years ago
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
7 years ago
Peter Barker
a87814b325
Tools: rename runfliptest.sh to runfliptest.py
...
As this is a Python script
7 years ago
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.
7 years ago
cclauss
d583bb9cbc
Tools: update_wiki.py: fix syntax error
...
SyntaxError: print() is a function in Python 3
7 years ago