Commit Graph

25623 Commits

Author SHA1 Message Date
Lucas De Marchi
5472bc4de1 Global: change Device::PeriodicCb signature
Remove bool return as it's never being used and not supported on PX4.
2017-01-14 10:03:54 +11:00
Pierre Kancir
5aa4bc4368 AP_Params: fix seg fault in debug function
otherwise at start, when loading paramter is could fail at AP_Param.cpp:611, Debug("scan past end of eeprom")"
2017-01-13 08:54:20 -08:00
Mathieu OTHACEHE
4daa4e9df9 Tools: remove deleted parameters
RCx_REV and SERVO_RNG_ENABLE no longer exists, they need to be erased
from param files.
2017-01-13 20:19:30 +11:00
Tom Pittenger
b8784e2c4a Plane: do not crosstrack after a land abort 2017-01-12 15:21:34 -08:00
Randy Mackay
07e5b43132 Tools: add FRAME_CLASS to bebop parameter files 2017-01-13 07:46:27 +09:00
murata
87c2dfd921 AP_Baro: Change to secure code, from magic number to sizeof value. 2017-01-12 13:56:18 -08:00
Andrew Tridgell
960da45275 mk: fixed px4-v3 build with make 2017-01-13 08:43:28 +11:00
Andrew Tridgell
e52cff3f0b autotest: fixed throttle range for default parameters 2017-01-13 08:36:26 +11:00
Andrew Tridgell
746b0dd376 Tools: fixed build_binaries for new build names 2017-01-12 21:37:33 +11:00
Andrew Tridgell
978d32ff12 autotest: fixed JSBSim plane defaults 2017-01-12 21:30:17 +11:00
Andrew Tridgell
1297a7dedb Copter: convert the rest of motors class for tricopter 2017-01-12 17:39:37 +11:00
Andrew Tridgell
d005cbffd8 AP_Param: added convert_parent_class() 2017-01-12 17:39:37 +11:00
Andrew Tridgell
7aee3500e1 Copter: added conversion of tricopter tail servo parameters 2017-01-12 17:39:37 +11:00
Andrew Tridgell
05e9462a9c AP_Param: added CONVERT_FLAG_REVERSE and CONVERT_FLAG_FORCE 2017-01-12 17:39:37 +11:00
Andrew Tridgell
a3220944d8 Copter: make conversion tables constant 2017-01-12 17:39:37 +11:00
Andrew Tridgell
a56090113c autotest: fixed sim_vehicle.py with -f heli 2017-01-12 17:39:37 +11:00
Andrew Tridgell
6a12ed0d65 Copter: upgrade heli servo parameters 2017-01-12 17:39:37 +11:00
Andrew Tridgell
e248078401 SRV_Channel: added AP_Motors servo channel parameter upgrading 2017-01-12 17:39:37 +11:00
Andrew Tridgell
bf889e01e1 Copter: load objects from storage after allocation 2017-01-12 17:39:37 +11:00
Andrew Tridgell
d430cd62a6 AP_Param: fixed loading defaults file after storage
make sure defaults don't override storage values
2017-01-12 17:39:37 +11:00
Andrew Tridgell
3fe1a69a32 Copter: always allocate a motors backend
this allows autotest to run, and gives a less confusing error to users
when no FRAME_CLASS error is selected
2017-01-12 17:39:37 +11:00
Andrew Tridgell
7a3c4fd2ee mk: removed most frame build targets 2017-01-12 17:39:37 +11:00
Andrew Tridgell
fda31e67d9 autotest: fixed arducopter binary name 2017-01-12 17:39:37 +11:00
Andrew Tridgell
370e893fb3 waf: fixed build docs for arducopter 2017-01-12 17:39:37 +11:00
Andrew Tridgell
c0c25e0588 Copter: fixed parameter doc paths 2017-01-12 17:39:37 +11:00
Andrew Tridgell
8504a8baad autotest: fixed sim_vehicle for new frame builds 2017-01-12 17:39:37 +11:00
Andrew Tridgell
34a7d47b3f autotest: fixed frame class for quadplane tri frames 2017-01-12 17:39:37 +11:00
Andrew Tridgell
8dcde8ee92 Copter: make binary names arducopter and arducopter-heli 2017-01-12 17:39:37 +11:00
Andrew Tridgell
e85df47b06 Copter: fixed parameter handling for pointer objects
fixed loading of default files and use of POINTER flag on object
groups
2017-01-12 17:39:37 +11:00
Andrew Tridgell
3338b4295e Plane: use reload_defaults_file() 2017-01-12 17:39:37 +11:00
Andrew Tridgell
0c32178d07 AP_Param: added reload_defaults_file()
this allows defaults to be set for parameters in pointer objects
2017-01-12 17:39:37 +11:00
Andrew Tridgell
ccae8979c1 AC_PID: expose filt_hz as a AP_Float
this allows defaults to be overridden
2017-01-12 17:39:37 +11:00
Andrew Tridgell
2f100b0804 Plane: removed separate tricopter quadplane build
can all be done with one build now
2017-01-12 17:39:37 +11:00
Andrew Tridgell
2a1408becf Tools: no need to build tri separately 2017-01-12 17:39:37 +11:00
Andrew Tridgell
556cda13e1 Copter: reduced copter frame build 2017-01-12 17:39:37 +11:00
Andrew Tridgell
4a4fc8ab06 Copter: adjust for change to AC_PID 2017-01-12 17:39:37 +11:00
Andrew Tridgell
2086b591a2 AC_PID: expose ff() method in AC_PID
this allows for an abstract AC_PID class to be used in
AC_AttitudeControl for both multicopter and heli
2017-01-12 17:39:37 +11:00
Andrew Tridgell
8e3bf71aa9 AP_Motors: allow single, tri and coax to be part of multicopter class 2017-01-12 17:39:37 +11:00
Andrew Tridgell
0f6d0c5ba9 Copter: combined tri, single, coax and multicopter into a single build
this allows copter to be just 2 builds, one for heli, and one for
everything else
2017-01-12 17:39:37 +11:00
Andrew Tridgell
5cf1c0869d AC_AttitudeControl: expose all functions via abstract class
this allows for a single class to be used for heli and multicopter
2017-01-12 17:39:37 +11:00
Andrew Tridgell
3df55b575f Tools: fixed copter tri reverse default
SITL tricopter doesn't need reversed tail servo
2017-01-12 17:39:37 +11:00
Andrew Tridgell
8799094278 AP_Motors: use SRV_Channel for tri tail servo 2017-01-12 17:39:37 +11:00
Andrew Tridgell
3c1517f583 Copter: added automatic SRV_Channel parameter upgrade 2017-01-12 17:39:37 +11:00
Andrew Tridgell
9fe3eba2a0 Rover: added automatic parameter upgrade for SRV_Channel 2017-01-12 17:39:37 +11:00
Andrew Tridgell
68504dbcbb Plane: auto-upgrade old parameters for SRV_Channel split 2017-01-12 17:39:37 +11:00
Andrew Tridgell
86e0b8a91f SRV_Channel: added automatic parameter upgrade 2017-01-12 17:39:37 +11:00
Andrew Tridgell
77a7e7ca01 RC_Channel: give access to internals to SRV_Channel
needed for parameter upgrade
2017-01-12 17:39:37 +11:00
Andrew Tridgell
c133b515e0 AP_ServoRelayEvents: fixed trim bug
thanks to Buzz for noticing!
2017-01-12 17:39:37 +11:00
Andrew Tridgell
cb4ebdd7b4 Plane: fixed throttle_percentage()
thanks to Buzz for noticing!
2017-01-12 17:39:37 +11:00
Andrew Tridgell
2513b27058 Tracker: use k_tracker_yaw and k_tracker_pitch
thanks to review by Buzz
2017-01-12 17:39:37 +11:00