Lucas De Marchi
9e7bda83bf
DataFlash: add temporary workaround for macro usage
...
Make DataFlash correctly save the git version. We should think about a
better solution, like it was done on GCSMavlink, but this is the minimal
change to make it possible to move includes of version.h to their
respective users.
7 years ago
Lucas De Marchi
ec935cf0fe
GCS_MAVLink: refactor send_banner() to use AP_FWVersion
7 years ago
Lucas De Marchi
ed2b8d3476
GCS_MAVLink: refactor send_autopilot_verison() to use AP_FWVersion
...
Make the method use the getter directly to get a reference of
AP_FWVersion and work out everything that needs to be sent. This allows
us to remove ifdefs and replace with runtime if/else.
Note that there's also a bug fix: we were not setting flight_custom_version
to zero in case GIT_VERSION wasn't defined.
7 years ago
Lucas De Marchi
370e10281b
AP_Common: AP_FWVersion: add pointers to git hash strings
...
Keeping the hash strings on this struct allow to handle them
the same way on common code and remove ifdefs.
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
cclauss
f266c82040
Tools: magfit_flashlog.py: fix syntax errors
...
SyntaxError: print() is a function in Python 3
7 years ago
Andrew Tridgell
678bd084b7
AP_Compass: added IST8310 on FMUv3 I2C
7 years ago
davidaroyer
cb270a9acf
AP_RangeFinder: cleanup variable names in uLanding driver
7 years ago
davidaroyer
8284fb1093
AP_RangeFinder: update uLanding driver for new firmware data format
7 years ago
fnoop
149188de12
AP_HAL: Add size() method to RingBuffer ObjectArray
7 years ago
fnoop
3ddd9a6bca
AP_HAL: RingBuffer: Prefix private members with underscore
7 years ago
Andrew Tridgell
2c68b5dac3
AP_Airspeed: fixed airspeed autocal
...
don't use negative pressures
7 years ago
Mark Whitehorn
dedb40ce0b
SITL: add parameter to simulate reversed pitot tube order
7 years ago
Mark Whitehorn
f32f51f843
AP_Airspeed: eliminate airspeed positive bias
7 years ago
Andrew Tridgell
9e406b87da
mavlink: submodule update
7 years ago
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
7 years ago
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.
7 years ago
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.
7 years ago
Lucas De Marchi
68b3e5ccab
AP_HAL: aero: define uart RCOutput_Tap
7 years ago
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.
7 years ago
Lucas De Marchi
58a76adc13
AP_HAL: RCOutput_Tap: allow different device to be used
7 years ago
Lucas De Marchi
f6b1099896
AP_HAL: move in tap esc implementation
...
This can be shared with Linux.
7 years ago
Randy Mackay
a9f257ddc6
Copter: 3.5.3 release notes
7 years ago
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
7 years ago
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.
7 years ago
Ferruccio Vicari
85ab3edc5f
Plane: Smoother transition to QLOITER and QLAND
...
Use estimated stopping position
7 years ago
Peter Barker
1a724ded2a
Plane: AP_Arming: sanity-check fs timeout parameters
7 years ago
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
7 years ago
mirkix
7c6be7c421
Plane: change format of reset alt target message
7 years ago
Randy Mackay
667cdcdfcf
Plane: resolve compiler warning while using send_text
...
non-functional change
7 years ago
Randy Mackay
2073d65975
Plane: command-long DO_SET_HOME check first param is zero
7 years ago
Randy Mackay
640fb91329
Plane: accept DO_SET_HOME within COMMAND_INT
7 years ago
Randy Mackay
953adc506d
GCS_MAVLink: add break in default case
...
non-functional change but removes some warnings in eclipse editors
7 years ago
Randy Mackay
6a1e14fccd
Sub: command-long DO_SET_HOME check first param is zero
7 years ago
Randy Mackay
2dae917c86
Sub: accept DO_SET_HOME within COMMAND_INT
7 years ago
Randy Mackay
3af5893f9e
Rover: command-long DO_SET_HOME check first param is zero
7 years ago
Randy Mackay
f7cb006d40
Rover: accept DO_SET_HOME within COMMAND_INT
7 years ago
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
7 years ago
Randy Mackay
d982cfed4a
Copter: accept DO_SET_HOME within COMMAND_INT
7 years ago
Randy Mackay
b1684b5377
Rover: accept more mav-frame types
...
accept mav frames whether or not they have _INT appended
7 years ago
Randy Mackay
305659c5c3
Sub: accept more mav-frame types
...
accept mav frames whether or not they have _INT appended
7 years ago
Randy Mackay
70cf21a5ba
Copter: accept more mav-frame types
...
accept mav frames whether or not they have _INT appended
7 years ago
Peter Barker
45d056fcf0
Copter: ekf position checks are done before we call failsafe_ekf_event
7 years ago
Peter Barker
d5caff3f1b
Copter: do not enter ekf-failsafe based on position if pos not needed
7 years ago
Peter Barker
ff82f23cf6
Copter: factor out a ekf_check_position_problem method
7 years ago