Commit Graph

6674 Commits

Author SHA1 Message Date
Peter Barker
ce9800e597 ArduCopter: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Peter Barker
5edfed0083 Copter: factor out a mode-change-failed method 2021-03-30 19:58:05 +11:00
Peter Barker
1e0f106ed4 Copter: make AutoTune object private state to ModeAutoTune 2021-03-30 11:23:10 +11:00
Peter Barker
d387ad9921 Copter: have allows_arming take a AP_Arming::Method rather than bool from_gcs
This API predates us having the arming methods being passed around.

This makes the calls look like Plane
2021-03-30 09:00:26 +09:00
Josh Henderson
f65c4df358 ArduCopter: make Location(Vector3f) require ALTFRAME 2021-03-30 08:56:35 +09:00
Randy Mackay
8a5b5897f0 Copter: remove unused ADSB_ENABLED from Config.h 2021-03-26 16:22:46 +09:00
Randy Mackay
91fa40aea6 Copter: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Peter Barker
45d484c0ba ArduCopter: remove Log_Write_Performance which is not called anywhere 2021-03-26 16:35:08 +11:00
Peter Barker
3af006019b Copter: mark ModeSystemID as has_manual_throttle, no-arm and no-gps
This has implications for many things, like smoothing transition to auto
modes, and for arming
2021-03-26 10:26:34 +09:00
murata
31b0682246 Copter: Move the variable definition 2021-03-25 08:55:17 +09:00
Peter Barker
a274697776 Copter: move LAND state variables to be members rather than static
Also rename one of them as we may be using (e.g.) OF to control position rather
than GPS.
2021-03-25 09:39:29 +11:00
Peter Barker
dc793e916f Copter: move implementation of get_pilot_desired_yaw_rate into mode.cpp 2021-03-24 20:46:08 +11:00
Emre Saldiran
d5715292a3 Copter: implement set_target_posvel_NED method for use in scripting 2021-03-24 08:55:48 +09:00
murata
0fe65fd6d3 Copter: Added new settings for flight mode channel 2021-03-24 08:50:59 +09:00
Tatsuya Yamaguchi
069b7142b7 Copter: add allows_flip function to Mode class 2021-03-23 22:48:20 +11:00
Tatsuya Yamaguchi
f4eed612d7 Copter: add allows_autotune function to Mode class 2021-03-23 22:48:20 +11:00
Tatsuya Yamaguchi
2b89ac625f Copter: add allows_save_trim function to Mode class 2021-03-23 22:48:20 +11:00
Tatsuya Yamaguchi
0cce5699b2 Copter: change from control_mode to flightmode 2021-03-23 22:48:20 +11:00
Tatsuya Yamaguchi
1dccc0ceb3 Copter: add mode_number function to Mode class 2021-03-23 22:48:20 +11:00
Emre Saldiran
543c2bf55b Copter: change description of system id delay variable (NFC) 2021-03-23 20:09:38 +09:00
Randy Mackay
2d9c6867f4 Copter: accept MISSION_START commands when vehicle is disarmed 2021-03-23 10:12:08 +09:00
Randy Mackay
32fb3cb929 Copter: remove unused update_navigation and run_autopilot 2021-03-23 10:12:08 +09:00
Randy Mackay
1c350514ca Copter: auto mode starts or updates mission from run method 2021-03-23 10:12:08 +09:00
Rishabh
618282e996 Copter: Remove avoidance completly from poshold 2021-03-22 14:04:42 +09:00
Tatsuya Yamaguchi
941c5f8179 Copter: add EKF failsafe notify tones 2021-03-17 20:29:32 +09:00
Randy Mackay
ef33ed5e36 Copter: landing gear enabled on all boards
Co-authored-by: Tatsuya Yamaguchi <susumu-336@hotmail.co.jp>
2021-03-17 10:41:11 +09:00
Tatsuya Yamaguchi
ed8384b45a Copter: add option to disable LANDING_GEAR 2021-03-17 10:41:11 +09:00
Tatsuya Yamaguchi
52cd042d69 Copter: update filtered range finder altitude to AC_WPNav 2021-03-17 09:30:38 +09:00
Ryan Birmingham
c2cdb00f85 Copter: constrain throttle before setting deadband 2021-03-17 09:10:08 +09:00
Randy Mackay
e0a8baccfd Copter: pre-arm check of EKF pos and vel variances 2021-03-16 13:02:46 +09:00
Randy Mackay
49486b7cea Copter: ekf failsafe may trigger while disarmed but takes no action 2021-03-16 13:02:46 +09:00
Randy Mackay
5babe93201 Copter: ekf failsafe only triggers if it has ever passed 2021-03-16 13:02:46 +09:00
Randy Mackay
be29b23195 Copter: do-mount-control ignored if no mount
Co-authored-by: srirajshukla <srirajshukla@gmail.com>
Co-authored-by: Yash Vadi <yvadi9274@yahoo.com>
2021-03-16 10:07:16 +09:00
Peter Barker
211a7f85b5 ArduCopter: remove separate calls to get delta-times for vel and ang 2021-03-13 11:29:29 +11:00
Siddharth Purohit
da7d34224d Copter: do common gps arming checks first before moving on 2021-03-12 16:32:36 +09:00
Siddharth Purohit
0c42c56c36 Copter: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
Rishabh
e727d08266 Copter: Provide downward facing rangefinder readings to proximity lib 2021-03-09 11:02:26 +09:00
chobits
b7c937592e Copter: send mission_item_reached in guided 2021-03-09 10:04:24 +09:00
James O'Shannessy
d055d7a581 ArduCopter: Cleanup - removes autoenabling of fence with AC_Fence parameter 2021-03-05 14:52:46 +11:00
James O'Shannessy
f14e1c2799 ArduCopter: Ensure fence has opportunity to auto disable for landing 2021-03-05 14:52:46 +11:00
James O'Shannessy
8ab1cf869d ArduCopter: Remove fence_checks in AP_Arming because they are common across all vehicles now 2021-03-05 14:52:46 +11:00
James O'Shannessy
a88f2721a8 ArduCopter: Use auto enable and auto disable from AC_Fence 2021-03-05 14:52:46 +11:00
James O'Shannessy
2a9affe517 ArduCopter: Remove unused fence floor enable function 2021-03-05 14:52:46 +11:00
James O'Shannessy
f228adfa75 ArduCopter: Improve auto-enable/disable of fence 2021-03-05 14:52:46 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
92122e5133 Copter: automatically enable and disable floor fence on automated takeoff and landing 2021-03-05 14:52:46 +11:00
Tom Pittenger
38fd43ac2c Copter: change SRx_ docs value 1 50 2021-03-03 18:17:22 +11:00
Mathias Bos
b3b7f2d3d2 Copter: Remove yaw rate wrapping in guided mode. 2021-03-03 08:09:08 +09:00
Randy Mackay
64289d436a Copter: reduce ANGLE_MAX default to 30deg 2021-03-03 08:03:39 +09:00
murata
17f285b68f Copter: Add Smart RTL or LAND to the fence action 2021-03-03 07:59:03 +09:00
Iampete1
2e9c11fbdf Copter: add FLIGHT_OPTIONS param and options bits to disable thrust loss and yaw imbalance warnings 2021-03-02 09:35:06 +09:00