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
Andrew Tridgell
678bd084b7
AP_Compass: added IST8310 on FMUv3 I2C
2017-09-23 08:07:18 +10:00
davidaroyer
cb270a9acf
AP_RangeFinder: cleanup variable names in uLanding driver
2017-09-22 18:08:27 +01:00
davidaroyer
8284fb1093
AP_RangeFinder: update uLanding driver for new firmware data format
2017-09-22 18:08:27 +01:00
fnoop
149188de12
AP_HAL: Add size() method to RingBuffer ObjectArray
2017-09-22 09:56:00 -07:00
fnoop
3ddd9a6bca
AP_HAL: RingBuffer: Prefix private members with underscore
2017-09-22 09:55:49 -07:00
Andrew Tridgell
2c68b5dac3
AP_Airspeed: fixed airspeed autocal
...
don't use negative pressures
2017-09-22 18:24:29 +10:00
Mark Whitehorn
dedb40ce0b
SITL: add parameter to simulate reversed pitot tube order
2017-09-22 18:21:09 +10:00
Mark Whitehorn
f32f51f843
AP_Airspeed: eliminate airspeed positive bias
2017-09-22 18:21:09 +10:00
Andrew Tridgell
9e406b87da
mavlink: submodule update
2017-09-22 14:38:01 +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
Lucas De Marchi
3847825fba
AP_HAL_Linux: make Aero use Tap ESC
...
This allows controlling the motors from Linux on Intel Aero RTF given
the right FPGA firmware is in place.
2017-09-21 07:59:20 -07:00
Lucas De Marchi
68b3e5ccab
AP_HAL: aero: define uart RCOutput_Tap
2017-09-21 07:59:20 -07:00
Lucas De Marchi
51665a2ea9
AP_HAL: RCOutput_Tap: split baudrate set for Linux and Nuttx
...
On Linux (and in most of posix-like systems) the baudrate set in struct
termios via cfset[io]speed is actually the index of the standard
baudrates, it's not the baudrate per se (hence the use of B* macros).
On Linux it's possible to set the baudrate by passing the baudrate
itself to TCSETS2 ioctl. Unfortunately it's not possible to include
asm/termbits.h and termios.h in the same compilation unit, so we need to
split it. Here we split into a Linux and a NuttX implementation.
2017-09-21 07:59:20 -07:00
Lucas De Marchi
58a76adc13
AP_HAL: RCOutput_Tap: allow different device to be used
2017-09-21 07:59:20 -07:00
Lucas De Marchi
f6b1099896
AP_HAL: move in tap esc implementation
...
This can be shared with Linux.
2017-09-21 07:59:20 -07:00
Randy Mackay
a9f257ddc6
Copter: 3.5.3 release notes
2017-09-21 11:13:02 +09:00
Andrew Tridgell
22bfec4d2a
Copter: fixed motor runup check for heli
...
for all auto-throttle modes we should not allow a mode change to the
mode if the motor runup is not complete.
This moves the code to the set_mode() so it applies to all modes
fixes issue #6956
2017-09-21 08:52:50 +10:00
Andrew Tridgell
8cf8f3a288
Copter: fixed collective input with H_SV_MAN=1 for heli
...
when H_SV_MAN=1 we do direct pass-thru so the user can test swash
range. The problem is that it uses norm_input() for throttle, which
depends on RC3_TRIM. Nowhere else in heli or copter do we depend on
RC3_TRIM, so the user gets a misleading idea of behaviour when testing
their swash.
2017-09-21 08:52:50 +10:00
Ferruccio Vicari
85ab3edc5f
Plane: Smoother transition to QLOITER and QLAND
...
Use estimated stopping position
2017-09-21 07:57:38 +10:00
Peter Barker
1a724ded2a
Plane: AP_Arming: sanity-check fs timeout parameters
2017-09-20 09:46:24 -07:00
Peter Barker
3af5be76aa
DataFlash: protect write fd with semaphore
...
If the sensor threads are using WriteBlock they may pass the _write_fd
== -1 check but then have that set to -1 by the main thread
2017-09-20 11:33:07 +01:00
mirkix
7c6be7c421
Plane: change format of reset alt target message
2017-09-20 20:28:53 +10:00
Randy Mackay
667cdcdfcf
Plane: resolve compiler warning while using send_text
...
non-functional change
2017-09-20 12:14:38 +09:00
Randy Mackay
2073d65975
Plane: command-long DO_SET_HOME check first param is zero
2017-09-20 12:14:38 +09:00
Randy Mackay
640fb91329
Plane: accept DO_SET_HOME within COMMAND_INT
2017-09-20 12:14:38 +09:00
Randy Mackay
953adc506d
GCS_MAVLink: add break in default case
...
non-functional change but removes some warnings in eclipse editors
2017-09-20 12:14:38 +09:00
Randy Mackay
6a1e14fccd
Sub: command-long DO_SET_HOME check first param is zero
2017-09-20 12:14:38 +09:00
Randy Mackay
2dae917c86
Sub: accept DO_SET_HOME within COMMAND_INT
2017-09-20 12:14:38 +09:00
Randy Mackay
3af5893f9e
Rover: command-long DO_SET_HOME check first param is zero
2017-09-20 12:14:38 +09:00
Randy Mackay
f7cb006d40
Rover: accept DO_SET_HOME within COMMAND_INT
2017-09-20 12:14:38 +09:00
Randy Mackay
a8a5c1d332
Copter: command-long DO_SET_HOME check first param is zero
...
Also do not use current location just because lat,lon,alt are all zero
2017-09-20 12:14:38 +09:00
Randy Mackay
d982cfed4a
Copter: accept DO_SET_HOME within COMMAND_INT
2017-09-20 12:14:38 +09:00
Randy Mackay
b1684b5377
Rover: accept more mav-frame types
...
accept mav frames whether or not they have _INT appended
2017-09-20 12:14:38 +09:00
Randy Mackay
305659c5c3
Sub: accept more mav-frame types
...
accept mav frames whether or not they have _INT appended
2017-09-20 12:14:38 +09:00
Randy Mackay
70cf21a5ba
Copter: accept more mav-frame types
...
accept mav frames whether or not they have _INT appended
2017-09-20 12:14:38 +09:00
Peter Barker
45d056fcf0
Copter: ekf position checks are done before we call failsafe_ekf_event
2017-09-19 12:44:43 +01:00
Peter Barker
d5caff3f1b
Copter: do not enter ekf-failsafe based on position if pos not needed
2017-09-19 12:44:43 +01:00
Peter Barker
ff82f23cf6
Copter: factor out a ekf_check_position_problem method
2017-09-19 12:44:43 +01:00
Peter Barker
84a873a520
Copter: remove redundant check; we will never failsafe_ekf_event if disarmed
...
See line 37
2017-09-19 12:44:43 +01:00
Andrew Tridgell
3d16ca7144
Plane: fixed MANUAL_RCMASK
...
ensure it only applies in MANUAL, and fixed input scaling in px4io
2017-09-19 17:05:56 +10:00
Peter Barker
c090818d5e
Tracker: move handling of SET_GPS_GLOBAL_ORIGIN up
2017-09-19 15:44:23 +09:00
Peter Barker
5b7f396e23
Sub: move handling of SET_GPS_GLOBAL_ORIGIN up
2017-09-19 15:44:23 +09:00
Peter Barker
b84e40a804
Rover: move handling of SET_GPS_GLOBAL_ORIGIN up
2017-09-19 15:44:23 +09:00