Randy Mackay
bc0da915c4
AP_Math: add SplineCurve library
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
includes corrections from peer review
4 years ago
Leonard Hall
af7403f4e9
AP_Math: add SCurve library
...
SCurve const more local variables
rename update to get_jerk_vel_pos_at_time
removed unused update
debug output in SITL
fixes to ensure finished at end of path
fixes including validity check
includes corrections from peer review
4 years ago
Randy Mackay
0e506a71a1
AP_Math: remove control's limit_vector_length
...
these have been moved to Vector2f and Vector3f
4 years ago
Randy Mackay
e2b46d05dc
AP_Math: Vector2,3 get limit_length methods
4 years ago
Leonard Hall
3bb0482795
AP_Math: add update_pos_vel_accel to control
...
also add shape_vel, shape_pos_vel and stopping_distance
also add calculation of kinematic limits
4 years ago
Randy Mackay
67f2c79717
AP_InternalError: added invalid_arguments failure
...
this is intended to catch problems where we have unexpectedly received
invalid arguments. For example an out-of-bounds target speed that
should have been caught somewhere else.
running out of bits so we use a single bit to capture invalid inputs to or output from a calculation
4 years ago
Peter Barker
018b1425ce
AP_AdvancedFailsafe: remove APM from description
4 years ago
Josh Henderson
fb789a07ce
AC_WP_Nav_OA: origin_loc & dest_loc should use _terrain_alt_oabak
4 years ago
Sergey Bokhantsev
ef95bf088c
AP_Motors: Constrain get_throttle_hover value with allowed range
4 years ago
Samuel Tabor
a301808e7a
SITL: Add parsing of airspeed to SIM_JSON
4 years ago
Iampete1
0b8cdaf392
AP_Scripting: add mission command receve function, binding and example
4 years ago
Iampete1
849ad8c6de
AP_Mission: support MAV_CMD_DO_SEND_SCRIPT_MESSAGE
4 years ago
Iampete1
82228469c8
AP_Scripting: add reset_remianing battery binding
4 years ago
Iampete1
9fdceeded3
AP_BattMoniter: add reset remaining per-instance rename existing to _mask
4 years ago
Iampete1
0fe38da522
GCS_MAVLink: rename battery reset function
4 years ago
Randy Mackay
d343c569c2
AP_Arming: check for only first compass being disabled
...
If only the first compass is disabled, users may expect other enabled compasses to be used but they won't be
4 years ago
Randy Mackay
64c4b6a42b
AP_Compass: remove unused set_use_for_yaw
4 years ago
Andrew Tridgell
46f35a6910
AP_Baro: work around bad WHOAMI read on DPS310
...
this fixes an issue with bad read of WHOAMI on a mRoPixracerPro. We
don't know how the sensor gets in a state where WHOAMI can't be read,
but toggling CS does fix it
4 years ago
Michelle Rossouw
7d42c3c834
SITL: Added simple blimp simulator
4 years ago
Michelle Rossouw
ac893b4013
AP_Vehicle: added blimp vehicle type
4 years ago
Michelle Rossouw
8bc0f100a2
AP_Param: added blimp frame type
4 years ago
Michelle Rossouw
d06161e8ee
AP_HAL_SITL: Added support for blimp simulator
4 years ago
Peter Barker
e5a8acb227
RC_Channel: return MAV_RESULT_FAILED from do_aux_function if invalid function
4 years ago
Peter Barker
115e895c82
GCS_MAVLink: return MAV_RESULT_FAILED from do_aux_function if invalid function
4 years ago
Peter Barker
30539ac8ac
RC_Channel: add method on RC_Channels to execute aux function
4 years ago
Peter Barker
d4a0222f76
AP_Mission: allow an auxillary function to be triggered as a DO command
4 years ago
Peter Barker
2d61ded1f3
GCS_MAVLink: add option to execute auxillary functions via mavlink
4 years ago
Peter Barker
7ea5bc7e3e
AP_EFI: use enum class for protocol
4 years ago
Andrew Tridgell
f0d6b79e8a
HAL_ChibiOS: fixed skyviper builds with BMM150
4 years ago
Michael du Breuil
c0017abb63
AP_Notify: Remove indirection on RGBLed of init()->hw_init()
...
Saves a bit of flash, and just makes the code a bit more obvious
4 years ago
Peter Barker
f926c27470
AP_Arming: add LANDING arm/disarm method for Copter
4 years ago
Josh Henderson
5551deab4b
AC_WPNav: make Location(Vector3f) require ALTFRAME
4 years ago
Josh Henderson
1b584a95ba
AC_Avoidance: make Location(Vector3f) require ALTFRAME
4 years ago
Josh Henderson
dce01fbb43
AP_Common: make Location(Vector3f) require ALTFRAME
4 years ago
Peter Barker
d0b3b926c0
AP_HAL_Linux: split out a calculate_thread_priority method
4 years ago
Peter Barker
cfacb5d34d
AP_HAL_ChibiOS: split out a calculate_thread_priority method
4 years ago
Iampete1
8b278b52b3
AP_Scripting: add GPIO inputs and exmaple
4 years ago
Iampete1
4315a69b9d
AP_HAL_Linux: add semaphore to AnalogIn::channel to make it thread safe
4 years ago
Iampete1
7c96522e44
AP_HAL_ChibiOS: add semaphore to AnalogIn::channel to make it thread safe
4 years ago
Iampete1
f2c2e8c1eb
AP_Scripting: add PWM and GPIO to analog input example
4 years ago
Iampete1
e0621179ef
AP_Scripting: add PWMSource bindings
4 years ago
Iampete1
590be4049c
AP_Scripting: support userdata alias
4 years ago
Iampete1
9d739cfa42
AP_scripting: add bindings and example for analog inputs
4 years ago
Michael du Breuil
e5de148ad1
AP_BattMonitor: Fix nullptr deref when resetting a battery
4 years ago
Siddharth Purohit
d1dcfd91b5
AP_CANManager: do select before sending passthrough message
4 years ago
Siddharth Purohit
cb118c6b73
AP_CANManager: improve robustness of slcan passthrough under high rate
4 years ago
Andrew Tridgell
07313ae71d
HAL_ChibiOS: fixed 2nd CAN inferface on F4/F7
...
CAN1_TX_IRQn is an enum not a defined. This was broken by the recent
change to support different CAN ordering
4 years ago
QioTek
0190a42e47
AP_Airspeed: added ASP5033 driver
4 years ago
Randy Mackay
b8d4dbfbb3
AP_Mission: options parameter description per vehicle
4 years ago
Randy Mackay
a17086816f
AP_Scripting: proximity bindings depend upon HAL_PROXIMITY_ENABLED
4 years ago