Peter Barker
72fa6aa410
ArduCopter: clarify frame of get_location_from_origin_offset
...
... by renaming it get_location_from_origin_offset_NED
2024-06-11 14:57:56 +10:00
muramura
da3a9c1cc6
Copter: Enable processing
2024-06-11 09:17:59 +10:00
muramura
5107cb495a
Copter: Change the sub-mode description
2024-06-11 09:14:31 +10:00
Peter Barker
cb869ef7f0
ArduCopter: remove defaulting of OSD_ENABLED
...
we do this in AP_OSD_config.h too so include ordering can break things badly
2024-06-04 16:32:26 +10:00
Andrew Tridgell
7551236854
ArduCopter: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Peter Barker
1c5a026e3e
Copter: ModeGuided: add an option_is_enabled method, use it
2024-05-29 13:11:58 +10:00
Randy Mackay
53f37a7457
Copter: 4.5.3 release notes
2024-05-28 13:19:03 +09:00
MattKear
ae38c96a04
Copter: use new surface distance library
2024-05-28 09:55:36 +10:00
Peter Barker
fcebd0c8c2
Copter: avoid Guided submode change unless can change Loc to Vec-from-origin
...
ordering problem between changing the submode and setting a valid position
2024-05-22 17:10:12 +09:00
Peter Barker
76950b5994
ArduCopter: remove redundant @Values from parameter documentation
2024-05-21 14:27:05 +10:00
Andrew Tridgell
2bcc2b296d
ArduCopter: update release notes for 4.5.3-beta1
2024-05-16 11:04:32 +10:00
bnsgeyer
a1a5647b7f
Copter: change input_loiter_xxx to input_vel_xxx in sysid mode
2024-05-14 23:16:52 -04:00
bnsgeyer
bbaf557457
Copter: implement suggested changes
2024-05-14 23:16:52 -04:00
bnsgeyer
9e4340ba33
Copter: change position controller method for making inputs
2024-05-14 23:16:52 -04:00
bnsgeyer
75d9163571
Copter: fixes for suggested changes
2024-05-14 23:16:52 -04:00
bnsgeyer
d0dfe86a4b
Copter: incorporate comment to remove unnecessary function
2024-05-14 23:16:52 -04:00
bnsgeyer
f74ccd569a
Copter: Added new input types for SID_AXIS parameter
2024-05-14 23:16:52 -04:00
bnsgeyer
d0cf2240dc
Copter: clean up
2024-05-14 23:16:52 -04:00
bnsgeyer
ad75c0c1d8
Copter: simplification of system ID
2024-05-14 23:16:52 -04:00
bnsgeyer
1bf865e4eb
Copter: add support for sysid of vel and pos loops
2024-05-14 23:16:52 -04:00
Randy Mackay
5c50da7f9f
Copter: 4.5.2 release notes
2024-05-14 16:48:02 +09:00
muramura
07a5f61782
Copter: Change from enum to class
2024-05-07 20:27:15 +09:00
Iampete1
f54f7d7dc6
Copter: `euler_rate_to_ang_vel` takes Quaternion attitude
2024-05-07 08:34:40 +09:00
haarshitgarg
a13639d9d8
ArduCopter: enabled sending waypoints from a companion computer to ardupilot for copter and rover
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-05-02 09:08:34 +09:00
Andrew Tridgell
e417be0492
Copter: update release notes
2024-05-01 17:24:10 +09:00
Randy Mackay
cc3bb402e4
Copter: 4.5.2-beta1 release notes
2024-05-01 17:24:10 +09:00
Peter Barker
0d7925059c
ArduCopter: move handling of AP_Radio RC input down into AP_RCProtocol
2024-05-01 17:51:49 +10:00
Leonard Hall
127f1296de
Copter: Land Detector: add hash define for LAND_DETECTOR_VEL_Z_MAX
2024-04-30 10:21:29 +09:00
lthall
797dfdd0ed
Copter: Land Detector: Include angle checks
2024-04-30 10:21:29 +09:00
Iampete1
5b9848c5e1
Copter: support `DO_RETURN_PATH_START`
2024-04-30 08:03:39 +09:00
Randy Mackay
6f6bc21e2e
Copter: guided mode fix for landing detector internal error
2024-04-23 15:11:24 +09:00
Peter Barker
b173662b3c
ArduCopter: remove Baro accumulate API
...
no backend actually needs to be prodded, everything is done on timers
2024-04-18 09:19:20 +10:00
Peter Barker
00433a2625
ArduCopter: move Arming, Beacon and RC_Mapper into ardupilotwaf.py
...
these were built for all vehicles, so put them in the common list
2024-04-17 18:11:46 +10:00
Peter Barker
5b69ff6e65
Copter: send RC_CHANNELS in SITL in compassmot loop
...
When setting an RC value in autotest, we require the change to appear in this message
2024-04-16 19:14:38 +10:00
Peter Barker
d198c3e13d
Copter: emit system time during compassmot on SITL
...
the autotest framework heavily relies on system_time being emitted -
because we're not running the main loop during compassmot it gets stuck
if we don't do this
2024-04-16 19:14:38 +10:00
muramura
0f0023e62d
Copter: Get the flight mode name display from the name method
2024-04-16 09:08:35 +09:00
Peter Barker
5de6e20ecd
Copter: factor out methods for guided-mode commands
2024-04-14 13:19:07 +10:00
Peter Barker
cddc590b8b
Copter: move #ifs to outside case statements in do_aux_function
...
this means a user will get a warning if they try to run a function and it isn't supported
2024-04-11 18:35:27 +10:00
Peter Barker
b849fbbcca
Copter: autoyaw: correct units returned by look_ahead_yaw
...
there are other methods on the autoyaw object which make it clear that they're working in cd, and others in there that work in degrees. This method doesn't specify cd yet returns in that unit.
Change the method and state variable to store in degrees (as our naming standards suggest)
2024-04-11 10:24:58 +10:00
Peter Barker
18850fdd1f
ArduCopter: add option to flight mode pause/resume via aux function
2024-04-11 10:17:35 +10:00
Andrii Fil
6ae12729da
ArduCopter: optional (CHUTE_OPTIONS:1) disarm defore parachute release
2024-04-10 21:55:51 +10:00
Peter Barker
021d637edc
Copter: make landing-detector-disarm-logic clearer
2024-04-10 21:52:58 +10:00
Thomas Watson
d5a25d7c89
Copter: unmark FORMAT_VERSION as read-only
...
Matches other vehicles and allows GCSes to use documented behavior of a
zero write to FORMAT_VERSION to reset EEPROM contents.
2024-04-10 17:45:37 +10:00
Peter Barker
0c2636c191
ArduCopter: remove far_from_EKF_origin sanity checks
...
some flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker
5d41125b49
ArduCopter: move handling of DO_SET_HOME up to GCS_MAVLink base class
2024-04-09 09:35:16 +10:00
Andrew Tridgell
04b207f4c5
ArduCopter: release notes for 4.5.1
2024-04-08 12:59:21 +09:00
Randy Mackay
e886fedfb1
Copter: 4.5.0 release notes
2024-04-02 13:12:15 +09:00
Iampete1
eadcf9b09e
Copter: add `get_stopping_point` helper and pass stopping point to `jump_to_landing_sequence`
2024-04-02 11:11:59 +11:00
Leonard Hall
609013876e
Copter: Guided Angle: Initialize yaw to current yaw.
2024-03-25 10:19:56 +09:00
Andrew Tridgell
6022e0df56
ArduCopter: release notes for 4.5.0-beta4
2024-03-22 15:43:04 +09:00
Iampete1
6c44869c82
Copter: remove runup event logging and in_autorotation flag
2024-03-19 11:01:50 +11:00
Peter Barker
1ee1f24ea9
ArduCopter: stop passing serial manager to GPS init
...
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker
38767b2e69
ArduCopter: move AP_OSD into common libraries list
2024-03-19 07:15:10 +11:00
Peter Barker
4569b1ba14
ArduCopter: allow HarmonicNotches to be compiled out of the code
2024-03-19 07:04:13 +11:00
Andrew Tridgell
0cbbf00c93
Copter: release notes for 4.5.0-beta3
2024-03-14 09:53:59 +09:00
Tatsuya Yamaguchi
251db3f414
Copter: change RTL_ALT_MIN from 200cm to 30cm
2024-03-12 15:47:41 +09:00
Peter Barker
f4bb15d8cd
ArduCopter: cope with AP_AVOIDANCE_ENABLED being false
2024-03-11 18:07:18 +11:00
Peter Barker
cb76ce534b
ArduCopter: move AC_Avoidance defines into libraries
2024-03-11 18:07:18 +11:00
Leonard Hall
bc6d965bbc
Copter: Payload Place: Change PLDP_RNG_MIN to PLDP_RNG_MAX
2024-03-06 15:16:16 +11:00
Iampete1
e9397e10f9
ArduCopter: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false
2024-03-05 12:32:20 +11:00
bnsgeyer
cbb47ed42f
Copter: Remove tradheli arming check for inverted flight
2024-03-05 10:24:06 +09:00
Iampete1
52bffc4b4d
Copter: Heli: ensure inverted flight only in supported modes
2024-03-05 10:24:06 +09:00
Iampete1
73760ea393
Copter: Heli: remove duplicate inverted flight state
2024-03-05 10:24:06 +09:00
Peter Barker
b913ea292b
ArduCopter: move serial_manager parameters up to base class
2024-02-29 12:12:19 +11:00
Andy Piper
f0b691dd31
Copter: check fence at faster rates when going faster to avoid massive fence breaches
2024-02-28 19:29:44 +11:00
Peter Barker
198f26f348
ArduCopter: remove unused old_top_element param from convert_class
2024-02-27 10:37:45 +11:00
Peter Barker
1e2fdb0ca1
ArduCopter: convert EFI cvonversion to g2_conversion entry
2024-02-27 10:37:45 +11:00
Peter Barker
f2a9f1516b
ArduCopter: move gripper up to AP_Vehicle
...
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
bugobliterator
047d2b85da
ArduCopter: fix version setting in CheckFirmware app descriptor
2024-02-21 18:54:17 +11:00
George Zogopoulos
b2898ca1d3
ArduCopter: Excluded target velocity from slowdown calculations
...
The slowdown calculations should apply only to the relative velocity,
not the absolute one. Thus the target baseline velocity should be added
afterwards.
Naturally the absolute velocity limits should be applied afterwards.
2024-02-20 13:42:20 +09:00
Ryan Friedman
a825fe2537
Copter: Add DDS details to release notes
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-02-20 08:34:06 +09:00
Peter Barker
d4708e2d52
ArduCopter: use AUX_FUNC instead of typedef aux_func_t
2024-02-15 08:41:30 +11:00
Andy Piper
9cc194bc8a
Copter: cleanup EKF failsafe units and division
2024-02-14 19:23:24 +09:00
Andrew Tridgell
312fa7c4d6
Copter: release notes for 4.5.0-beta2
2024-02-14 11:22:19 +11:00
Peter Barker
00356e0eb4
ArduCopter: move parameter storage formatting up to AP_Vehicle
2024-02-13 14:23:35 +11:00
Peter Barker
4e97561d5b
ArduCopter: move logger object up to AP_Vehicle
2024-02-13 10:54:29 +11:00
Peter Barker
d462756cbc
ArduCopter: move RC bits in mavlink to common code
...
Plane's semantics change to be like Copter. Rover, Sub and Tracker will start reporting the bits
2024-02-10 11:46:44 +11:00
Andy Piper
780045ee3a
Copter: filter ekf variances for failsafe and vibration checks
...
add a parameter to control EKF failsafe filtering
2024-02-07 15:10:30 +00:00
Peter Barker
78e3719835
Copter: move scripting up to AP_Vehicle
2024-02-07 18:24:12 +11:00
Peter Barker
700f850b58
ArduCopter: add comment for lost AP_Stats object params
2024-02-07 18:24:12 +11:00
Peter Barker
af5cba5826
ArduCopter: move can_mgr.init call up to AP_Vehicle
...
... also adds the call for Blimp...
2024-02-06 11:03:54 +11:00
Peter Barker
9656ecdbba
ArduCopter: move call to BoardConfig.init to AP_Vehicle
2024-02-01 07:59:11 +11:00
Randy Mackay
98c59129ec
Copter: version to 4.6.0-dev
2024-01-31 10:03:19 +09:00
Randy Mackay
2d8c7f0efa
Copter: 4.5.0-beta1 release notes
2024-01-31 10:00:14 +09:00
Peter Barker
eab70e3a1e
ArduCopter: move AP_Stats to AP_Vehicle
2024-01-30 11:12:21 +11:00
Peter Barker
4c2cc511e6
ArduCopter: handle RADIO_STATUS is GCS base class
2024-01-24 18:43:15 +11:00
Peter Barker
8cda4ad924
ArduCopter: use virtual method for GCS_MAVLink::handle_message
...
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
J.R. Bronkar
c28c50babe
ArduCopter: fractional Loiter Turn Support
...
Adds special storage handling for loiter turns. Fractional Loiter
Turns 0<N<1 are stored by multiplying the turn number by 256, then
dividing that number by 256 on retrieval.
2024-01-22 20:27:20 -08:00
Peter Barker
7377b3f8f2
ArduCopter: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
413af641be
ArduCopter: Spell correction
2024-01-17 08:40:15 +09:00
JanMaciuk
511659e6ee
Copter: Throw mode check altitude within params
2024-01-09 11:29:00 +09:00
Peter Barker
3691fdadc8
ArduCopter: be more consistent withb our defines around optional features
2024-01-09 10:51:55 +11:00
Randy Mackay
d78cd22285
Copter: 4.4.4 release notes
2023-12-19 10:31:52 +09:00
Michael du Breuil
18ba0c5d2b
Copter: Fix AP_Relay param naming
2023-12-19 10:01:01 +11:00
Leonard Hall
e48b7cea12
Copter: Use RTL_CLIMB_MIN in cone slope.
2023-12-12 11:25:16 +11:00
Randy Mackay
5718c49928
Copter: set-desired-speed applied to flightmode
2023-12-06 08:44:52 +09:00
Randy Mackay
97ab37875e
Copter: fix do-change-speed received during takeoff
2023-12-06 08:44:52 +09:00
Randy Mackay
f1b404f889
Copter: minor comment fix
2023-12-06 08:44:52 +09:00
Randy Mackay
8fd3f101d1
Copter: 4.4.4-beta1 release notes
2023-12-05 19:14:18 +09:00
Iampete1
60816f4351
Copter: use base class AC_AttitudeControl object
2023-12-05 08:08:09 +09:00
Leonard Hall
60ceaec901
Copter: Fix AP_MISSION_NAV_PAYLOAD_PLACE_ENABLED
2023-12-04 09:06:10 +09:00
Randy Mackay
d673cddf26
Copter: SYSID_MYGCS param increment
2023-11-28 07:54:45 +09:00
Randy Mackay
48825c9cc6
Copter: minor format fixes
2023-11-28 07:46:33 +09:00
Peter Barker
a84e9e8e6c
Copter: don't send WINCH_STATUS message if winch not enabled
2023-11-26 20:59:14 +09:00
Pierre Kancir
d5584fe703
Copter: fix USER_PARAMS_ENABLED includes
2023-11-22 18:16:32 +11:00
Andy Piper
aad51b7066
Copter: update PID notch centers at 1Hz with average loop rate
2023-11-21 13:26:23 +11:00
Peter Barker
c531d81cb3
ArduCopter: stop streaming trying SIM_STATE messages outside sim
2023-11-20 19:25:25 +11:00
Peter Barker
1059183758
ArduCopter: tidy sending of winch messages
2023-11-20 19:25:25 +11:00
Peter Barker
621e245b10
ArduCopter: tidy sending of esc telem generator messages
2023-11-20 19:25:25 +11:00
Peter Barker
256f373d7f
ArduCopter: tidy sending of queued generator messages
2023-11-20 19:25:25 +11:00
Peter Barker
88a862f128
ArduCopter: tidy sending of queued mcu status messages
2023-11-20 19:25:25 +11:00
Peter Barker
a97d51c877
ArduCopter: tidy sending of queued opticalflow messages
2023-11-20 19:25:25 +11:00
Peter Barker
dbc0f02649
ArduCopter: tidy sending of queued mount messages
2023-11-20 19:25:25 +11:00
Peter Barker
e7ff4a43ca
ArduCopter: add and use AP_MAVLINK_COMMAND_LONG_ENABLED
2023-11-16 10:50:21 +11:00
Randy Mackay
2e5af08a10
Copter: 4.4.3 release notes
2023-11-14 12:44:53 +09:00
Gone4Dirt
399398fe64
Copter: Add heli motors param conversion helper
2023-11-14 10:24:03 +11:00
Randy Mackay
02a699c21b
Copter: fix 440-beta1 release notes
...
TKOFF_TH_MAX was not included in Copter-4.4.0
2023-11-13 08:34:29 +09:00
muramura
f3914dfc16
Copter: Change to Boolean value
2023-11-11 09:06:42 +09:00
Randy Mackay
bbfc949b45
Copter: 4.4.3-beta1 release notes
2023-11-07 17:40:20 +09:00
Peter Barker
75f1459fa6
ArduCopter: add and use AP_TEMPCALIBRATION_ENABLED
2023-11-07 07:46:24 +11:00
Iampete1
935ea02a71
Copter: RTL: ensure rally point is in absolute alt frame as RTL_ALT_TYPE takes precedence
2023-11-01 19:06:39 +11:00
Ryan Friedman
1fa88bacd9
Copter: Add WARN_IF_UNUSED
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-01 18:30:54 +11:00
Peter Barker
2be4c0e3f5
Copter: correct defines around using payload place functionality
...
we need support for the actual payload place flight behaviour as well as the navigation item support
2023-10-31 11:34:03 +11:00
Nick Exton
98dfaba23d
Copter: Use AP_Mount::clear_roi_target() to remove ROI
2023-10-30 08:28:23 +09:00
Peter Barker
875580069c
ArduCopter: tidy use of GPS mavlink defines
2023-10-27 14:16:47 +11:00
Peter Barker
20563bf58d
ArduCopter: save bytes when AP_AIS_ENABLED is false
2023-10-27 14:16:47 +11:00
Peter Barker
6b439bb2f3
ArduCopter: allow payload place to be compiled out of code
2023-10-27 14:15:53 +11:00
Peter Barker
bf59fbc6d9
Copter: payloadplace: avoid using auto_takeoff functionality
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
the methods being called to a lot more than we need or want them to.
In particular, they mix both horizontal and vertical control, but also may or may not run based on various aircraft conditions.
Simplify by simply calling position controller.
2023-10-27 14:15:53 +11:00
Peter Barker
a820612fc9
Copter: payloadplace: fold methods back into caller
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
these methods don't really add much, and prohibit future refactoring
2023-10-27 14:15:53 +11:00
Peter Barker
af949590f8
Copter: remove unimplemented method declaration
2023-10-27 14:15:53 +11:00
Peter Barker
e2157d8b9f
Copter: remove un-needed PayloadPlace::run_should_run
...
make this look like the other handling, especially in terms of what we do if we shouldn't be running
2023-10-27 14:15:53 +11:00
Peter Barker
5820a9bc2f
Copter: encapsulate PayLoadPlace state and methods into existing struct
...
... and make it a class
2023-10-27 14:15:53 +11:00
Peter Barker
d46859aa96
ArduCopter: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
2023-10-26 13:23:57 +11:00
Michael du Breuil
d42a3ee971
Copter: Support not sending a status text on state change
2023-10-25 09:39:51 -07:00
Peter Barker
ca3b5a860a
ArduCopter: handle MAV_CMD_NAV_TAKEOFF via command_long and command_in
2023-10-24 12:59:19 +11:00
Iampete1
8018d30cc7
Copter: 4.4.2 stable release notes
2023-10-22 21:52:08 +01:00
Peter Barker
cc799d3d7e
Copter: encapsulate auto takeoff into an ojbect
...
similar to the encapsulation of "user takeoff" into an object
2023-10-18 13:47:11 +11:00
Randy Mackay
5f242795ea
Copter: update 4.4.2-beta1 release notes
2023-10-13 16:32:11 +09:00
Randy Mackay
7a5e130268
Copter: 4.4.2-beta1 release notes
2023-10-13 16:32:07 +09:00
Mykhailo Kuznietsov
3a231f8b32
ArduCopter: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker
521d21765e
ArduCopter: allow for compilation without AP_RTC_ENABLED
2023-10-11 19:17:27 +11:00
Rhys Mainwaring
b585d61809
Copter: remove duplicate friend declaration
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-09 09:05:19 +09:00
muramura
5ce731fa00
Copter: Two processes in one
2023-10-04 19:23:29 +11:00
Peter Barker
cd92e301ab
ArduCopter: don't send fence_status mavlink message if fence not compiled in
2023-10-04 19:13:23 +11:00
Peter Barker
ef1952e1c0
Copter: acccept DO_LAND_START as both int and long
2023-09-29 13:55:32 +10:00
Peter Barker
d54d9ae922
ArduCopter: accept several mode-changing commands via command_int
...
... as well as via command_long
2023-09-29 08:56:50 +10:00
Peter Barker
a0ca3ffb22
ArduCopter: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
muramura
d36667c84a
Copter: Change to ternary operator
2023-09-27 08:12:01 +10:00
Randy Mackay
28e5ea152e
Copter: 4.4.1 release notes
2023-09-26 12:37:42 +09:00
Peter Barker
efc2c39c96
ArduCopter: remove COMPASS_CAL messages from streamrates if tumble cal disabled
...
fatal error in SITL if we try to send messages with these disabled
2023-09-26 11:39:50 +10:00