Commit Graph

26242 Commits

Author SHA1 Message Date
Tatsuya Yamaguchi
3e445fd4b8 AP_BattMonitor: add Maxell Battery support 2017-02-09 10:45:00 +09:00
Tatsuya Yamaguchi
d30350276c AP_BattMonitor: I2C driver becomes Solo driver
Rename class to Solo
Use internal I2C bus
Add capacity, current, button press checking
Only check continuously for voltage if reading fails for more than 5 seconds
2017-02-09 10:44:50 +09:00
Randy Mackay
bad8910b93 AP_BattMonitor: example sketch uses Solo battery 2017-02-09 09:21:55 +09:00
Randy Mackay
e4c99a22bc AP_BattMonitor: add override specifier to Bebop 2017-02-09 08:35:12 +09:00
priseborough
93aa40a9e0 AP_AHRS: Fix EKF3 gyro bias reporting and improve code clarity 2017-02-08 19:11:08 +00:00
priseborough
f9bf825094 Tools: Add analysis file for optical flow calibration data
Calculate and display recommended values of FLOW_FXSCALE and FLOW_FYSCALE from an optical flow sensor calibration test
Save plots to flow_calibration.pdf file
Save calibration parameters to flow_calibration.param file

Signed-off-by: priseborough <p_riseborough@live.com.au>

Tools: Address optical flow calibration script review comments

Tools: LogAnalyzer: stop executing TestOptFlow on insufficient data
2017-02-08 20:41:36 +11:00
Clément
3aa17d17eb Copter : set land_complete to false during guided takeoff (same fix as for auto takeoff bug) 2017-02-07 20:19:17 +09:00
Andrew Tridgell
f1bce549ef SRV_Channel: improved doc string 2017-02-07 16:33:12 +11:00
Andrew Tridgell
d6d94bd26c RC_Channel: improved doc string 2017-02-07 16:32:57 +11:00
Randy Mackay
a14265359f Copter: reduce default MOT_THST_HOVER to 0.35 2017-02-07 11:20:25 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
c4419739c4 Plane: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is 2017-02-07 11:41:12 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
4161c34e61 Copter: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is 2017-02-07 11:41:12 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
5012b2e899 AntennaTracker: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is 2017-02-07 11:41:12 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
7f5ef7cf3a Rover: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is 2017-02-07 11:41:12 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
285c02b8b6 GCS_MAVLink: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is 2017-02-07 11:41:12 +11:00
Peter Barker
043b7598d1 Tools: correct error path for corrupt logs 2017-02-07 11:37:38 +11:00
Andrew Tridgell
496ed18530 autotest: sort libraries by name 2017-02-07 10:37:24 +11:00
Lucas De Marchi
2b9478f430 AP_Math: tests: make both arguments double
libraries/AP_Math/tests/test_math.cpp.3.o: In function `MathTest_IsEqual_Test::TestBody()':
test_math.cpp:(.text._ZN21MathTest_IsEqual_Test8TestBodyEv+0x1a0): undefined reference to `std::enable_if<std::is_floating_point<std::common_type<float, double>::type>::value, bool>::type is_equal<float, double>(float, double)'
collect2: error: ld returned 1 exit status
2017-02-06 09:27:22 -08:00
Lucas De Marchi
00ef0cec2e build: shut up cmake regarding deprecated macros
Yes, we know we are using them. Remove warnings like:

CMake Deprecation Warning at /usr/share/cmake/Modules/CMakeForceCompiler.cmake:93 (message):
  The CMAKE_FORCE_CXX_COMPILER macro is deprecated.  Instead just set
  CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
  cmake/toolchains/Toolchain-arm-none-eabi.cmake:37 (cmake_force_cxx_compiler)
  /home/lucas/p/dronecode/ardupilot/build/px4-v2/modules/PX4Firmware/CMakeFiles/3.6.2/CMakeSystem.cmake:6 (include)
  CMakeLists.txt:204 (project)
2017-02-06 09:27:22 -08:00
Lucas De Marchi
3d29010366 build: allow to pass flags to cmake
These are flags to cmake itself, not to the compiler and is not in the
form of -DXX=YY
2017-02-06 09:27:22 -08:00
Lucas De Marchi
bbc7a8b3e4 build: make instal-apt-ci.sh easier to synchronize with .travis.xml 2017-02-06 09:27:22 -08:00
Lucas De Marchi
85eadca7ad AP_Param: shut up float comparison warning
We want to compare the value previously set in memory.
2017-02-06 09:27:22 -08:00
Lucas De Marchi
4e7b65260d GCS_MAVLink: shut up mavlink warnings 2017-02-06 09:27:22 -08:00
Lucas De Marchi
8b0c427802 AP_Landing: add double casts to printf-like function 2017-02-06 09:27:22 -08:00
Lucas De Marchi
008ac0a2a8 AP_Math: remove unused double instantiation 2017-02-06 09:27:22 -08:00
Lucas De Marchi
87038d8ef1 AP_Math: add casts to consider literals as doubles
Since we pass -fsingle-precision-constant to the compiler, add casts to
make literals real doubles.
2017-02-06 09:27:22 -08:00
Lucas De Marchi
48d94db259 AP_Math: double constants need a type
We can't use define since we use -fsingle-precision-constant and they
would be interpreted as float.
2017-02-06 09:27:22 -08:00
Lucas De Marchi
747f15b514 AP_GPS: add casts to consider literals as doubles
Since we pass -fsingle-precision-constant to the compiler, add casts to
make literals real doubles.
2017-02-06 09:27:22 -08:00
Lucas De Marchi
a500aced3c AP_Math: remove unused double constants 2017-02-06 09:27:22 -08:00
Pierre Kancir
38b6ced640 Tools: sim_vehicle add option to disable mavproxy launch && better exit handling 2017-02-06 11:35:54 +01:00
Peter Barker
b7f982d7ce Copter: support for arming and disarming using an auxsw 2017-02-06 16:48:50 +09:00
Andrew Tridgell
2bb3d395cf autotest: setup for firefly6 quadplane parameters 2017-02-06 16:18:58 +11:00
Andrew Tridgell
af44e9fdbd AP_Motors: added frame type 11 for Y6 to match FireFly6
using same motor output mapping as AvA
2017-02-06 16:18:58 +11:00
Andrew Tridgell
0171b64feb SITL: setup simulator to match firefly6 AvA servo outputs 2017-02-06 16:18:58 +11:00
Andrew Tridgell
00711f5a98 Copter: fixed typo in param generation 2017-02-06 15:36:52 +11:00
Andrew Tridgell
de59f27e14 autotest: fixed parameter generation for recursive libraries 2017-02-06 15:12:32 +11:00
Andrew Tridgell
90d9e74054 Plane: fixed parameter path 2017-02-06 15:12:32 +11:00
Andrew Tridgell
79b23dff0e Copter: fixed parameter path 2017-02-06 15:12:32 +11:00
Andrew Tridgell
e12a1c4772 Tracker: fixed parameter path 2017-02-06 15:12:32 +11:00
Andrew Tridgell
36cf57c0fa Rover: fixed parameter path 2017-02-06 15:12:32 +11:00
Andrew Tridgell
11afd0c7d4 RC_Channel: split RC_Channels.cpp out to separate cpp file
this is needed for automatic parameter documentation generation
2017-02-06 15:12:32 +11:00
Andrew Tridgell
325e24a378 SRV_Channel: split SRV_Channels.cpp out to separate cpp file
this is needed for automatic parameter documentation generation
2017-02-06 15:12:32 +11:00
Peter Barker
eb6826f7de SITL: avoid use of uninitialised memory 2017-02-05 01:07:32 +00:00
Michael Day
49e3ce8e75 Copter: Now recognizes DO_FENCE_ENABLE mission command. 2017-02-05 00:10:14 +00:00
Randy Mackay
bdf49c8a01 AC_PrecLand: add override and fix formatting 2017-02-03 17:26:42 +09:00
Randy Mackay
974a6f48c6 AC_PrecLand: remove check of type when using distance-to-target 2017-02-03 17:26:40 +09:00
fnoop
438ffd870a AP_PrecLand: consume distance_to_target as alternative to rangefinder_alt
Resolves issue #5636
2017-02-03 17:26:37 +09:00
murata
b77941c4f2 AP_GPS: Delete unnecessary code. 2017-02-03 15:11:27 +09:00
Luis Rodrigues
bf51d5a3c9 AP_SerialManager: add comment that Lidar360 protocol covers TerraRanger 2017-02-03 14:27:54 +09:00
Luis Rodrigues
27c5aca6b5 AP_Proximity: add support for TeraRangerTower 2017-02-03 14:27:52 +09:00