Commit Graph

31064 Commits

Author SHA1 Message Date
Leonard Hall
05418d3d29 AC_AttitudeControl: add EKF reset handling 2018-03-16 13:50:57 +09:00
Leonard Hall
8c45345863 AC_AttitudeControl: rename use_ff_and_input_shaping to use_sqrt_controller
Also rate controllers only use _rate_bb_ff_enabled flag to decide whether
to use ff for now
2018-03-16 13:50:57 +09:00
Leonard Hall
1e9e12e866 AC_AttitudeControl: rename heading_quad to yaw_vec_correction_quat
also rename flip_scalart local variable to feedforward_scalar
also add comments
non-functional change
2018-03-16 13:50:57 +09:00
Randy Mackay
59a2445ad3 AC_AttitudeControl: replace smoothing gain with INPUT_TC 2018-03-16 13:50:57 +09:00
Leonard Hall
e1e224b68b AC_AttitudeControl: add angular velocity limit 2018-03-16 13:50:57 +09:00
Leonard Hall
ee82943f85 AC_AttitudeControl: add input_shaping_rate_predictor 2018-03-16 13:50:57 +09:00
Leonard Hall
6175a896ee AC_AttitudeControl: add set smoothing gain
Smoothing gain value should be set once when entering a mode
2018-03-16 13:50:57 +09:00
Leonard Hall
213f7a4061 AC_AttitudeControl: add get_accel_roll/pitch/yaw_max_radss methods
Also constify existing get_accel_roll/pitch/yaw_max methods
2018-03-16 13:50:57 +09:00
Ebin
185f41d5bd Copter arm_checks(): PreArm in error msg changed to Arm 2018-03-16 09:49:54 +09:00
Michael du Breuil
45410759dc DataFlash: Log the frame a mission command is planned in 2018-03-16 09:28:20 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
54b3936a46 AP_Beacon: Use marvelmind beacon raw distances on the EKF
Add support for Marvelmind RAW distance measurements this
requires Marvelmind FW >= 5.77 and "Raw distances data" enabled
in the marvelmind GUI dashboard.
This is better than the previous workaround we had.
2018-03-16 08:23:52 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
29078824fc AP_Beacon: Replace max_buffered_positions variable with a #define 2018-03-16 08:23:52 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
7df1419579 Copter: add missing MAGNETOMETER and STATS_ENABLED build defines 2018-03-15 15:03:22 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
115ed491c0 Copter: Obey RANGEFINDER_ENABLED, AUTOTUNE_ENABLED and AC_TERRAIN build macros 2018-03-15 15:03:22 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
f63388cb07 Sub: Obey RANGEFINDER_ENABLED and AC_TERRAIN build macros 2018-03-15 15:03:22 +00:00
Randy Mackay
89725a7aa5 AR_AttitudeControl: minor comment fix
non-functional change
2018-03-15 09:58:27 +09:00
Randy Mackay
30ba463f42 Rover: minor comment fix to acro
non-functional change
2018-03-15 09:58:24 +09:00
Peter Barker
0652c89844 AP_Mount: use dataflash singleton
Closes #7550
2018-03-15 07:57:50 +09:00
Peter Barker
b348cfa985 Tools: autotest: flake8 compliance
Taking the opportunity to make massive changes while we're destroying
history anyway.
2018-03-15 07:54:21 +09:00
Pierre Kancir
259dda810d Tools: use base class to share code between vehicle tests
Autotest: common.py add new base class and test

Autotest : Common add heartbeat handling on wait_mode timeout

Autotest: common.py add reach_heading_manual and reach_distance_manual

Autotest: new autotest implementation for Rover

Autotest : rover add drive_square test

Autotest: new autotest implementation for Copter

Autotest: new autotest implementation for Plane

Autotest: new autotest implementation for Sub

Autotest: new autotest implementation

Autotest: new autotest implementation for QuadPlane

Autotest : Sub disable GCS_Failsafe on autotest to prevent timeout. The failsafe aren't currently tested on Sub
2018-03-15 07:54:21 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
5b7116bbbd Copter: Fix else formating (NFC)
git history on these lines is not important, this is a simple else
2018-03-15 07:51:26 +09:00
Peter Barker
b1b978381a Tools: correct quoting in run_in_terminal_window.sh 2018-03-15 07:40:23 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
db90ee6841 Copter: Remove RTL_ parameters if RTL flight mode is disabled 2018-03-15 07:38:50 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
21c33b60db Copter: Remove DRIFT mode code if DRIFT mode is disabled. 2018-03-15 07:38:14 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
ed36ec3c29 Copter: add option to disable THROW mode 2018-03-15 07:38:14 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
b27c00dc5f Copter: add option to disable ACRO mode 2018-03-15 07:38:14 +09:00
Randy Mackay
20ac17cda8 Copter: remove adsb beacon nav-guided and visodom from min features 2018-03-14 20:41:47 +09:00
Peter Barker
5ac5a68d17 Tools: param_parse.py: replace @PREFIX in values with library prefix 2018-03-14 15:44:00 +11:00
Randy Mackay
00353c7a06 Rover: avoid divide by zero in desired speed at waypoint calcs 2018-03-14 12:40:04 +09:00
Randy Mackay
86c39c0314 Rover: run update_mission at 50hz 2018-03-14 12:40:04 +09:00
Randy Mackay
343d119726 Rover: wp nav uses stopping point or prev wp for origin 2018-03-14 12:40:04 +09:00
Randy Mackay
d139f0e28e AR_AttitudeControl: add get_stopping_distance 2018-03-14 12:40:04 +09:00
chobits
9405c19e85 Tools: fix copter propeller animation in FlightGear multiplayer 2018-03-14 09:42:55 +09:00
Ebin
5dde62cce9 Sub: Changed log message IDs to enum
Changes log message IDs to enum and removes values for the params in LoggingParameters enum
2018-03-14 09:33:39 +09:00
Ebin
b8a307cdd0 Copter: Changed log message IDs to enum
Changes log message IDs to enum, removes values in LoggingParameters enum
and removes deprecated params in LogParameters.
2018-03-14 09:33:39 +09:00
Randy Mackay
af207caa1f Copter: move get_pilot_desired_lean_angles higher in cpp
this makes the definition in the .h and implementation in .cpp files appear in the same order
2018-03-14 09:33:39 +09:00
Ebin
20995b909f Copter: Moved get_pilot_desired_lean_angles to mode.cpp 2018-03-14 09:33:39 +09:00
ChristopherOlson
96793a3ae7 AP_Motors:TradHeli - DDVP Ramp/Runup
Change to ramp and runup DDVP tail rotor to prevent torque pitching the frame and provide runup in sync with main
rotor like a mechanically driven tail.

Fix some comments and remove indents found in whitespace in AP_MotorsHeli.cpp and AP_MotorsHeli.h
2018-03-14 09:18:07 +09:00
Peter Barker
9208308121 Tools: stop build_parameters.sh copying non-existent files
We stopped generating these files some time ago
2018-03-14 10:55:21 +11:00
Peter Barker
a4d9d8ed6b Tools: add set -x to build_parameters.sh
This aids in diagnosing failures on autotest
2018-03-14 10:55:21 +11:00
Michael du Breuil
0e6213a4c6 Camera: Track number of completed events
Closes #3903
2018-03-13 00:00:56 +00:00
Michael du Breuil
33cbc0692a MAVLink: update module to include camera feedback 2018-03-13 00:00:56 +00:00
Pierre Kancir
b3c2e134f9 Autotest: raise set_rc timeout to prevent mavproxy to miss msg on speedup 2018-03-13 08:40:05 +09:00
Pierre Kancir
4558ef5b1e Autotest: correct Rover expected name in banner 2018-03-13 07:53:41 +09:00
Andrew Tridgell
62522a4e1d Copter: fixed docs for Follow mode number 2018-03-13 07:53:16 +09:00
Peter Barker
1ef3e4ca97 DataFlash: make more dataflash message IDs available
No vehicle uses anything like 64 messages.

Moved all of the EKF messages up as a logical group.
2018-03-12 19:14:09 +09:00
Randy Mackay
073d9519ca Rover: version to ArduRover V3.3.0-dev 2018-03-12 16:11:37 +09:00
Randy Mackay
e3f70119fe Rover: fix two-paddle input decoding
steering output was twice what it should be.  full steering (i.e. 4500 or -4500) should occur when one paddle is up and the other is completely down
2018-03-12 14:39:13 +09:00
Lucas De Marchi
1dd14a8aed AP_UAVCAN: add can driver getter 2018-03-10 21:07:47 -08:00
Peter Barker
80cb2e343c Tools: build_binaries.py: print errors out at end of run 2018-03-09 19:09:34 -08:00