Andrew Tridgell
926d4ad71c
HAL_ChibiOS: implement NOFIFO option for uarts
2021-07-15 11:31:55 +10:00
Andrew Tridgell
269c4084d2
AP_HAL: added serial option for disabling FIFO on uarts
2021-07-15 11:31:55 +10:00
Siddharth Purohit
0138266fee
AP_HAL: disable cast align check while casting char* read pointer to object
2021-07-15 07:50:12 +10:00
bugobliterator
0e7571c733
AP_EFI: fix casting without ensuring alignment
2021-07-15 07:50:12 +10:00
bugobliterator
0b505c491c
AP_CANManager: fix casting without ensuring alignment
2021-07-15 07:50:12 +10:00
bugobliterator
e8e5f49640
AP_BLHeli: fix casting without ensuring alignment
2021-07-15 07:50:12 +10:00
Andy Piper
60b0df0a25
AP_HAL_ChibiOS: only control widest pulse for dshot and oneshot
2021-07-14 17:50:06 +10:00
Peter Barker
78e0e52542
SITL: add simulated ms5611 baro
2021-07-14 17:46:15 +10:00
Peter Barker
b184341424
SITL: add subclass for MS5525
2021-07-14 17:46:15 +10:00
Peter Barker
aa97c5b714
SITL: adjust MS5XXX to be new base class
2021-07-14 17:46:15 +10:00
Peter Barker
50d7fc353f
SITL: rename SIM_MS5525 to SIM_MS5XXX
2021-07-14 17:46:15 +10:00
Andrew Tridgell
416c0724d2
AP_Common: use double precision for more location functions when available
...
this makes the location functions more accurate at long distances when
EKF double enabled
2021-07-14 17:34:40 +10:00
Andrew Tridgell
7550368fc7
HAL_SITL: update for changed SITL API
2021-07-14 17:34:40 +10:00
Andrew Tridgell
5eaf76cdc8
SITL: separate origin and home in SITL
...
this allows for accurate sensor data when flying a very long distance
from the takeoff location
2021-07-14 17:34:40 +10:00
Andrew Tridgell
6b73c2151a
AP_NavEKF3: implement moving origin
...
this shifts EKF_origin to the current location at 1Hz, while leaving
public_origin alone. All output APIs and logging are relative to
public_origin.
The effect of this change is to remove the distortion caused by a
spherical earth, which allows the EKF to operate without errors at
very long distances from the public_origin.
2021-07-14 17:34:40 +10:00
Andrew Tridgell
3ded1e6c10
AP_Common: added ftype precision offset call
2021-07-14 17:34:40 +10:00
Peter Barker
7375d1949c
SITL: add support for ms5525 i2c sensor
2021-07-13 12:00:37 +10:00
Randy Mackay
50ce79bcf6
AP_Torqeedo: simple driver to control torqeedo 1003 motor
...
includes fixes from peer review
2021-07-13 10:01:14 +09:00
Randy Mackay
7e68ce5c86
AP_SerialManager: add torqeedo to list of supported protocols
...
note that serial7_protocol and serial8_protocol param lists were missing 37:SmartAudio so this was also added
2021-07-13 10:01:14 +09:00
Randy Mackay
6c180994cd
AP_Math: add support for crc8_maxim
...
Thanks to FastCRC
2021-07-13 10:01:14 +09:00
Hwurzburg
448ae368b1
RC_Channel: fix ELRS systems spamming CRSF mode/rate messages
2021-07-13 09:52:53 +10:00
Hwurzburg
ceeabb85a5
AP_RCTelemetry: fix ELRS systems spamming CRSF mode/rate messages
2021-07-13 09:52:53 +10:00
Leonard Hall
a32b5b3bb0
AC_AttitudeControl: Allow yaw rate reset to be de-selected
2021-07-13 09:51:36 +10:00
Peter Barker
ddb7378bdd
AP_Terrain: add setter for terrain-enabled
...
Currently only useful for unit test
2021-07-12 17:34:44 +10:00
Peter Barker
fc2338612e
AP_Common: stop setting terrain pointer in test_location
...
Also enable/disable as required for testing
2021-07-12 17:34:44 +10:00
Peter Barker
0a068d4d4b
AP_Terrain: default terrain to off in Sub
2021-07-12 17:34:44 +10:00
Peter Barker
f75e258606
SITL: SIM_Ship: correct GLOBAL_POSITION_INT message altitude
2021-07-12 17:34:44 +10:00
Peter Barker
05a0205c21
SITL: change to use terrain singleton
2021-07-12 17:34:44 +10:00
Peter Barker
b625596dfa
AP_Common: use singleton to access AP_Terrain data
2021-07-12 17:34:44 +10:00
Peter Barker
2d28c1065e
AC_WPNav: use singleton to access AP_Terrain data
2021-07-12 17:34:44 +10:00
Peter Barker
de404b1999
AP_Terrain: allow AP_TERRAIN_AVAILABLE to be set in hwdef
...
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Andrew Tridgell
98fb4fcbe7
AP_NavEKF3: convert code_gen.py to ftype
2021-07-12 17:27:08 +10:00
Andrew Tridgell
44f098c86d
AP_NavEKF3: convert powF(xx,2) calls to sq(xx)
2021-07-12 17:27:08 +10:00
Andrew Tridgell
ae8dbe36bb
AP_NavEKF3: convert EKF3 derivation to ftype
2021-07-12 17:27:08 +10:00
Andrew Tridgell
5f87335325
AP_Airspeed: review updates
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-07-12 17:14:59 +10:00
Andrew Tridgell
70bb470eb0
AP_Airspeed: fixed AP_Periph build
2021-07-12 17:14:59 +10:00
Andrew Tridgell
0bdd8231cf
AP_Airspeed: added ARSPD_OPTIONS bit for disabling voltage correction
...
if the MS4525 has its own LDO then we are should disable the
correction
2021-07-12 17:14:59 +10:00
Andrew Tridgell
ca1508b02e
AP_Airspeed: added DEVID parameters for airspeed
...
this makes log analysis easier
2021-07-12 17:14:59 +10:00
Andrew Tridgell
7f85b413f2
AP_Airspeed: use GCS_SEND_TEXT instead of printf for sensor probe messages
2021-07-12 17:14:59 +10:00
Andrew Tridgell
e6c7970a19
AP_Airspeed: support 3 I2C addresses for MS4525
...
and if bus number is configured then use only that bus number,
otherwise probe all buses as per existing behaviour
2021-07-12 17:14:59 +10:00
Peter Barker
a52e823967
AP_HAL_SITL: implement read(buf, length)
2021-07-12 12:11:30 +10:00
Andy Piper
40ec8c723b
AP_RCTelemetry: correct firmware string length for CRSF
2021-07-12 11:25:31 +10:00
Leonard Hall
59909970fa
AC_WPNav: Remove unused function
2021-07-10 20:25:05 +09:00
Leonard Hall
ac0b320922
AC_AttitudeControl: Add accessor for yaw slew limit
2021-07-10 20:25:05 +09:00
Leonard Hall
e2b5d3d585
AC_AttitudeControl: AC_PosControl: support accel only input in the vertical
2021-07-10 20:25:05 +09:00
Leonard Hall
e0e283f13e
AC_AttitudeControl: AC_PosControl: support terrain following
2021-07-10 20:25:05 +09:00
Leonard Hall
7bc6c19306
AC_WPNav: seperate kinimatic shaping from pid limit setting
2021-07-10 20:25:05 +09:00
Leonard Hall
8a2f75d742
AC_AttitudeControl: AC_PosControl: seperate kinimatic shaping from pid limit setting
2021-07-10 20:25:05 +09:00
Leonard Hall
6e82bff55b
AC_AttitudeControl: Add terain following to guided
2021-07-10 20:25:05 +09:00
Randy Mackay
430492469b
AC_WPNav: get_terrain_offset and get_vector_NEU made public
2021-07-10 20:25:05 +09:00
Leonard Hall
620d066a2e
AC_WPNav: move code to generate terrain following kinematic path
2021-07-10 20:25:05 +09:00
Leonard Hall
de36398ebf
AC_Math: Control: Support Accel only input
2021-07-10 20:25:05 +09:00
Leonard Hall
b3acdd49d6
AC_AttitudeControl: AC_PosControl: Support Accel only input
2021-07-10 20:25:05 +09:00
Leonard Hall
8e084a0879
AC_AttitudeControl: AC_PosControl: Change input_pos_xyz name
2021-07-10 20:25:05 +09:00
Andrew Tridgell
75411afd21
AP_Math: added test for SCurve::calculate_path
...
this was the values shown in the core dump for failing guided mode
test in CI
2021-07-10 10:34:01 +09:00
Andrew Tridgell
498220b9f3
AP_Math: fixed error where t4_out could be negative in SCurve::calculate_path
...
this case cropped up in SITL due to floating point accuracies
2021-07-10 10:34:01 +09:00
Andrew Tridgell
b11450c18c
AP_NavEKF: review feedback
2021-07-10 07:20:41 +10:00
Andrew Tridgell
f343c8501b
AP_Math: fixed double fill_nanf()
2021-07-10 07:20:41 +10:00
Andrew Tridgell
168e860f70
AP_Math: fixed a few more single precision calls
2021-07-10 07:20:41 +10:00
Andrew Tridgell
56d9134e38
AP_Common: adjust test_location values
...
for adjusted longitude scale accuracy
2021-07-10 07:20:41 +10:00
Andrew Tridgell
1486a473bd
AP_Math: remove unused rotation_matrix_norm()
2021-07-10 07:20:41 +10:00
Andrew Tridgell
a924f66f70
AP_Common: fixed comment
2021-07-10 07:20:41 +10:00
Andrew Tridgell
5319e3910f
AP_NavEKF3: moved checkUpdateEarthField to be called less often
2021-07-10 07:20:41 +10:00
Andrew Tridgell
d91397f2f2
AP_Math: change wrap_PI to ftype
...
prevent loss of precision
2021-07-10 07:20:41 +10:00
Andrew Tridgell
afb928081a
AP_Math: use ftype for a few internal trig fns
2021-07-10 07:20:41 +10:00
Andrew Tridgell
338ab28dea
AP_NavEKF: larger frame limit for --enable-math-check-indexes
2021-07-10 07:20:41 +10:00
Andrew Tridgell
31a6663797
AP_Math: fixed vel correction test build
2021-07-10 07:20:41 +10:00
Andrew Tridgell
6a3b12956a
AP_Common: make longitude_scale() a static
...
this changes the use of longitude_scale() to use the average latitude
instead of the lattitude at one end of the line when calculating
positions and distances. It means we obey the basic geometry rule
that:
pos1 + offs = pos2
pos2 - offs == pos1
2021-07-10 07:20:41 +10:00
Andrew Tridgell
a8c6d742aa
AP_NavEKF3: update earth field at 1Hz
...
this prevents large mag errors on long distance flights
2021-07-10 07:20:41 +10:00
Andrew Tridgell
4f32fa537a
HAL_ChibiOS: define HAL_HAVE_HARDWARE_DOUBLE on F765, F777 and H7
2021-07-10 07:20:41 +10:00
Andrew Tridgell
885e518741
AP_NavEKF3: allow for double EKF build
2021-07-10 07:20:41 +10:00
Andrew Tridgell
6aca0bb08a
AP_NavEKF2: allow for double EKF build
2021-07-10 07:20:41 +10:00
Andrew Tridgell
3235747ef8
AP_NavEKF: allow for double EKF build
2021-07-10 07:20:41 +10:00
Andrew Tridgell
32a83ef347
AP_Mount: use ZERO_FARRAY()
2021-07-10 07:20:41 +10:00
Andrew Tridgell
83158ceadb
AP_Motors: fixup build for ftype conflict
2021-07-10 07:20:41 +10:00
Andrew Tridgell
b8e42be5d1
AP_Common: added double methods for SITL
2021-07-10 07:20:41 +10:00
Andrew Tridgell
01062cccd7
SITL: fixup offset calls
2021-07-10 07:20:41 +10:00
Andrew Tridgell
0f2f0d4cb2
AP_Math: allow for double EKF build
2021-07-10 07:20:41 +10:00
Andrew Tridgell
6c712c9001
HAL_ChibiOS: use SRAM1 as first ram segment on H7
...
this is needed to give the linker more than 128k for static variables
with double precision maths.
2021-07-10 07:20:41 +10:00
Andrew Tridgell
f60330c4ef
AP_HAL: allow for double EKF build
2021-07-10 07:20:41 +10:00
Andrew Tridgell
4ed0b03f35
HAL_ChibiOS: implement set_RTS/CTS_pin methods
2021-07-09 13:27:57 +10:00
Andrew Tridgell
162cecadec
AP_HAL: added set_CTS_pin and set_RTS_pin
2021-07-09 13:27:57 +10:00
Peter Barker
7a9dd8127a
AP_HAL_SITL: generate a core file for a given PID
...
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
Peter Barker
2f7603e08e
AP_HAL: generate a core file for a given PID
...
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
mateksys
40200654af
AP_HAL_ChibiOS: add MatekF765-SE hwdef as a variant of MatekF765-Wing
2021-07-08 13:01:44 +10:00
CallanDaniel
396a27b17e
AP_AHRS: add semaphore around set_origin
...
added semaphore around set_origin() to prevent thread racing
2021-07-08 11:54:37 +09:00
CallanDaniel
c34322f6ce
AP_Scripting: add set_origin and initialised bindings
...
added bindings and example scripts
2021-07-08 11:54:37 +09:00
Siddharth Purohit
0217d1c3dc
AP_UAVCAN: add BatteryInfoAux dsdl message
2021-07-08 11:56:06 +10:00
Andrew Tridgell
587ce2fd62
AP_Arming: fixed arming checks for no baro
2021-07-08 07:56:51 +10:00
Andrew Tridgell
cd3ac639fe
AP_AHRS: added AHRS_GPS_USE=2 for no baro
...
this allows DCM to use the GPS instead of the baro for height
2021-07-08 07:56:51 +10:00
Andrew Tridgell
8e4d67a7c1
AP_Baro: fixed SITL with SIM_BARO_COUNT==0
...
this allows for testing of SITL with no baro
2021-07-08 07:56:51 +10:00
Siddharth Purohit
2f8dec7c9b
AP_ONVIF: make onvif test empty if ONVIF not enabled
2021-07-07 18:57:25 +10:00
Siddharth Purohit
94a09f1426
AP_ONVIF: move to using hal util random
2021-07-07 18:57:25 +10:00
Siddharth Purohit
2c6659930a
AP_ONVIF: remove dependency on C++ STL and std::string
2021-07-07 18:57:25 +10:00
bugobliterator
5f82ef83ad
AP_ONVIF: remove init method and move initialisation to start
2021-07-07 18:57:25 +10:00
bugobliterator
d3fce3c41d
AP_Vehicle: add method to enable onvif camera control using script
2021-07-07 18:57:25 +10:00
bugobliterator
027d8b4aea
AP_Scripting: add support for controlling onvif camera using lua script
2021-07-07 18:57:25 +10:00
Michael Oborne
a81da13c13
AP_Scripting: add support for configuring ONVIF using scripting
2021-07-07 18:57:25 +10:00
Michael Oborne
1db1da9ee5
AP_ONVIF: add support controlling onvif cam using scripting
2021-07-07 18:57:25 +10:00
Siddharth Purohit
45f58367d0
AP_ONVIF: add initial wsdl2h generated header for onvif devicemgmt
2021-07-07 18:57:25 +10:00
Siddharth Purohit
6a0c4ec3f7
AP_HAL: add Random Number Generation test
2021-07-07 18:57:25 +10:00
Siddharth Purohit
1082046134
AP_HAL_SITL: add support for hw random number generation
2021-07-07 18:57:25 +10:00
Siddharth Purohit
f2e947589d
AP_HAL_Linux: add support for hw random number generation
2021-07-07 18:57:25 +10:00
Siddharth Purohit
2b93b17fae
AP_HAL: add support for hw random number generation
2021-07-07 18:57:25 +10:00
Andrew Tridgell
dd156d8da6
HAL_ChibiOS: run storage writes at 1kHz not 100Hz
...
The 100Hz update rate means there is a significant chance of an arming
failure after mission upload if you try to arm shortly after the
update.
Each mission item is 15 bytes, so with a 1200 item mission we need to
write 18000 bytes to storage. At 100Hz, with 8 bytes per storage line,
that takes over 22 seconds.
2021-07-07 17:32:21 +10:00
Siddharth Purohit
f4b2b3b214
AP_DAL: move to using tool instead of tools program group
2021-07-07 17:31:09 +10:00
Stephen Dade
035f65fe03
GCS_MAVLink: Add support for HIGH_LATENCY2 messages
2021-07-07 17:10:05 +10:00
yaapu
afa6e30b94
AP_Frsky_Telem: added airspeed flag to frame 0x5005 enabled by a new parameter
2021-07-07 11:53:12 +10:00
Michelle Rossouw
3bfd577a49
RC_Channel: Add blimp param frame values
2021-07-06 14:56:02 +10:00
Michelle Rossouw
3379a1a215
Filter: Add Vector2f option to notch filter
2021-07-06 14:56:02 +10:00
Michelle Rossouw
f95cb16434
AP_Math: Add Vector2f+z initialiser for Vector3f
2021-07-06 14:56:02 +10:00
Michelle Rossouw
ad2aca4900
AP_BattMonitor: Add blimp param frame values
2021-07-06 14:56:02 +10:00
Michelle Rossouw
c7e71874c3
AP_Arming: Add blimp param frame to rudder arming
2021-07-06 14:56:02 +10:00
Peter Barker
a7ab766fda
AP_Landing: enable deepstall landing to be compiled out of the code
2021-07-06 12:38:21 +10:00
Michel Pastor
765b71adb6
AP_OSD: rename BLH elements to ESC
2021-07-06 12:18:21 +10:00
Michel Pastor
61073de909
AP_MSP: fix DJI FPV temperature and RPM
2021-07-06 12:18:21 +10:00
Michel Pastor
26c6224b2e
AP_ESC_Telem: add method to get the temperature of the motor with highest temperature
2021-07-06 12:18:21 +10:00
Michel Pastor
f9b149e793
AP_ESC_Telem: add method to get average motor RPM
2021-07-06 12:18:21 +10:00
Andy Piper
e9f0c59e61
AP_HAL_ChibiOS: re-enable LEDs on MatekF405-bdshot
2021-07-06 10:10:04 +10:00
Andrew Tridgell
1633afb6cd
APM_Control: adjust fixed wing filter defaults
...
adjust defaults based on discussions with Paul, and initialise the
FLTT value based on the controller time constant
2021-07-05 20:07:47 +10:00
Rishabh
290174f9d9
AC_PrecLand: NFC: Refactor EKF code
2021-07-05 15:21:27 +09:00
Randy Mackay
4fde26aa01
AP_NavEKF3: EK3_RNG_USE_HGT param references EK3_SRCx_POSZ
2021-07-05 08:42:06 +09:00
Andrew Tridgell
31a31963c9
AP_Notify: disable DShot buzzer by default
2021-07-05 07:36:28 +10:00
Andy Piper
a6eaa77ff8
AP_Notify: re-enable display on 1Mb boards
2021-07-04 08:21:47 +10:00
Andrew Tridgell
7ac895db77
HAL_ChibiOS: always send zero DShot when disarmed
...
this prevents a misconfigured system (for example SERVOn_REVERSED=1)
from running a motor while disarmed.
See https://discuss.ardupilot.org/t/plane-4-1-0-beta/72434/34?u=tridge
2021-07-03 11:37:28 +10:00
yaapu
28905a1e67
AP_RPM: fixed #ifdef HAL_WITH_ESC_TELEM to #if HAL_WITH_ESC_TELEM
2021-07-02 15:35:05 +10:00
yaapu
cdc874c366
AP_RPM: added a new RPM driver based on ESC telem
...
this adds a new RPM driver based on average RPM of selected motors.
A new bitmask parameter has been added to select which motor to average.
2021-07-02 15:35:05 +10:00
yaapu
b4d54cf565
AP_ESC_Telem: added methods to get average rpm data by motor mask
2021-07-02 15:35:05 +10:00
Samuel Tabor
326b65c7ad
AP_Soaring: Vario filter cleanup and convert in-line filters to LowPassFilter instances
2021-07-02 15:31:27 +10:00
Siddharth Purohit
9a19a86a81
GCS_MAVLink: omit code that breaks build for herepro
2021-07-02 08:50:16 +10:00
Siddharth Purohit
fcca8564a2
AP_Volz_Protocol: omit code that breaks build for herepro
2021-07-02 08:50:16 +10:00
Siddharth Purohit
a5a29fe3ec
AP_Vehicle: solve for undefined vehicle object in herepro build
2021-07-02 08:50:16 +10:00
Siddharth Purohit
347872f6d6
AP_RobotisServo: omit code that breaks build for herepro
2021-07-02 08:50:16 +10:00
Siddharth Purohit
1ffc18006b
AP_Rally: omit code that breaks build for herepro
2021-07-02 08:50:16 +10:00
Siddharth Purohit
503a676e44
AP_Logger: omit code that breaks build for herepro
2021-07-02 08:50:16 +10:00
Siddharth Purohit
9b2359b34c
AP_HAL_ChibiOS: allow option to enable ChibiOS features in bootloader
2021-07-02 08:50:16 +10:00
Siddharth Purohit
c18652f35a
AP_GPS: add option to enable configuring PPS pin in UBLOX driver
2021-07-02 08:50:16 +10:00
Siddharth Purohit
7cbb3d8a3f
AP_Compass: allow compass cal option for AP_Periph if defined
2021-07-02 08:50:16 +10:00
Siddharth Purohit
8a062ab9a1
AP_Arming: place defines to omit parts that break HerePro build
2021-07-02 08:50:16 +10:00
Siddharth Purohit
e22ca19640
AP_Notify: add support for ProfiLED over SPI
2021-07-02 08:50:16 +10:00
Siddharth Purohit
1a1dd76a4c
AP_HAL_ChibiOS: add initial herepro hwdef
2021-07-02 08:50:16 +10:00
Andrew Tridgell
421faa0ada
AP_Logger: fixed log creation on forced arm
...
when we force arm we need to ask the IO thread to create the log, not
create it ourselves
2021-07-01 15:30:11 +10:00
Andrew Tridgell
b4b02b4ffc
HAL_ChibiOS: use nargs='+' for chibios_hwdef.py
2021-07-01 09:33:16 +10:00
willpiper
ce1ee6334f
AP_HAL_ChibiOS: addressed reviewed comments
2021-07-01 09:33:16 +10:00
willpiper
fb4a4e609a
AP_HAL_ChibiOS: added --extra-hwdef option
2021-07-01 09:33:16 +10:00
Siddharth Purohit
245f9d21b3
AP_HAL_ChibiOS: update clock config for FDCAN and External Flash
2021-06-30 19:34:36 +10:00
Siddharth Purohit
babcb31c1a
AP_FlashIface: remove any delay from is device busy
2021-06-30 19:33:17 +10:00
Siddharth Purohit
be28a55364
AP_FlashIface: fix comments and correct ms to us in vars
2021-06-30 19:33:17 +10:00
Andy Piper
bc65bfa3f3
AP_FlashIface: add more wait_ready() and support XIP on W25Q
2021-06-30 19:33:17 +10:00
Siddharth Purohit
7156493242
AP_FlashIface: remove references to 4-4-4 mode
2021-06-30 19:33:17 +10:00
Siddharth Purohit
28dbbc2bc4
AP_HAL_ChibiOS: do not even initialise empty qspi driver
2021-06-30 19:33:17 +10:00
Siddharth Purohit
2af3864b61
AP_HAL: add support for entering XIP mode
2021-06-30 19:33:17 +10:00
Siddharth Purohit
d3e081c100
AP_HAL_ChibiOS: add support for entering XIP mode
2021-06-30 19:33:17 +10:00
Siddharth Purohit
1a66b5afd7
AP_FlashIface: panic if we haven't found a matching flash device
2021-06-30 19:33:17 +10:00
Siddharth Purohit
30eb5501ce
AP_FlashIface_JEDEC: adjust for where only one mmode clock is req
2021-06-30 19:33:17 +10:00
Siddharth Purohit
dd9f3257cc
AP_FlashIface_JEDEC: make delays support bootloader builds
2021-06-30 19:33:17 +10:00
Siddharth Purohit
1d3c001963
AP_FlashIface: fix build for non bootloader example
2021-06-30 19:33:17 +10:00
Andy Piper
676f90c595
AP_FlashIface: support Winbond W25Q
2021-06-30 19:33:17 +10:00
Siddharth Purohit
bc1474ed52
AP_FlashIface: limit flash size to how much we can address
2021-06-30 19:33:17 +10:00
Siddharth Purohit
3797bdc4b8
AP_FlashIface: move to using 1-4-4 read mode instead of 4-4-4
2021-06-30 19:33:17 +10:00
Siddharth Purohit
6b0f6f3bc0
AP_FlashIface: add support for entering XIP mode
2021-06-30 19:33:17 +10:00
Siddharth Purohit
e09e3fe59f
AP_FlashIface_JEDEC: allow for different print setting for bl and fw
2021-06-30 19:33:17 +10:00
Siddharth Purohit
17e6cab729
AP_FlashIface: setup examples and driver for use with bootloader
2021-06-30 19:33:17 +10:00
Siddharth Purohit
0120d8eeec
AP_DAL: take into account for addition of QSPIDevice in AP_HAL
2021-06-30 19:33:17 +10:00
Siddharth Purohit
6a284ea59d
AP_HAL_Empty: add QSPIDevice empty HAL Iface
2021-06-30 19:33:17 +10:00
Siddharth Purohit
f0cfaa17dc
AP_HAL_SITL: add empty qspi mgr instance
2021-06-30 19:33:17 +10:00
Siddharth Purohit
eed706c46b
AP_HAL_Linux: add empty qspi mgr instance
2021-06-30 19:33:17 +10:00
Siddharth Purohit
263fbbbdb0
AP_HAL_ChibiOS: add echo safe debug flag bouncebuffer
2021-06-30 19:33:17 +10:00
Siddharth Purohit
3b3cc0b194
AP_FlashIface: add initial files for AP_FlashIface library
2021-06-30 19:33:17 +10:00
Siddharth Purohit
c962292bae
AP_HAL_ChibiOS: add support for H757I Evaluation board
2021-06-30 19:33:17 +10:00
Siddharth Purohit
a323807644
AP_HAL: add support for QSPIDevice
2021-06-30 19:33:17 +10:00
Siddharth Purohit
abc26d1993
AP_HAL_ChibiOS: add QSPI Device Driver in HAL
2021-06-30 19:33:17 +10:00
Siddharth Purohit
4cb48da984
modules: update ChibiOS
2021-06-30 19:33:17 +10:00
Samuel Tabor
0c381435cc
AP_Soaring: Reduce the number of messages emmitted.
2021-06-30 18:21:03 +10:00
Siddharth Purohit
0d393a3cf7
AP_AccelCal: do not add accelcal if no GCS iface available
2021-06-30 17:06:02 +10:00
Siddharth Purohit
c4caf2ff54
AP_InertialSensor: add HAL_INS_ENABLED
2021-06-30 17:06:02 +10:00
Siddharth Purohit
69009568b2
AP_HAL: add HAL_INS_ENABLED
2021-06-30 17:06:02 +10:00
Siddharth Purohit
0e4fbe7c46
AP_HAL_ChibiOS: allow using internal compasses onboard
2021-06-30 17:06:02 +10:00
Siddharth Purohit
447935bf4c
AP_InertialSensor: remove dependence on gcs for AP_Periph builds
2021-06-30 17:06:02 +10:00
Randy Mackay
3900a4f14a
GCS_MAVLink: send water depth and temp
2021-06-30 12:05:09 +09:00
Andrew Tridgell
a7f31929ea
AP_Common: use longitude scaling from definitions.h
2021-06-29 17:26:34 +09:00
Andrew Tridgell
978ea307b0
AP_Math: fixed the value LATLON_TO_CM
...
it didn't have enough digits of precision, and was inconsistent with
LOCATION_SCALING_FACTOR
2021-06-29 17:26:34 +09:00
Peter Barker
819c331acd
AP_BattMonitor: correct static_assert call
2021-06-28 11:05:00 +09:00
Peter Barker
67ebdc300b
AP_HAL_SITL: reduce scope of loop variable
2021-06-27 10:57:07 +10:00
Leonard Hall
fcde1e7370
AC_WPNav: use shaping_tc_z_s for terrain following time constant.
2021-06-25 16:54:05 +09:00
Leonard Hall
8f493e3021
AC_AttitudeControl: Add shaping_tc_z_s accessor
2021-06-25 16:54:05 +09:00
Andrew Tridgell
f12a7dd04b
AP_Mount: fixed longitude subtraction
2021-06-25 15:33:55 +10:00
Peter Barker
f69e2a49f6
AP_Common: add test for longitude wrapping
2021-06-25 15:33:55 +10:00
Andrew Tridgell
77d83b9c77
AP_Common: fixed Location class for wrap at 180 degrees longitude
...
this allows us to fly missions across the date line
2021-06-25 15:33:55 +10:00
Leonard Hall
5475d1153c
AC_PosControl: fixup ekf reset
2021-06-25 10:01:49 +09:00
Andrew Tridgell
4895a08ab2
AP_IRLock: convert SITL backends to double precision position
2021-06-24 21:34:30 +10:00
Andrew Tridgell
f209504a12
AC_PrecLand: convert SITL backends to double precision position
2021-06-24 21:34:30 +10:00
Andrew Tridgell
aa03afafa7
AP_Math: added matrix3 tofloat and todouble
2021-06-24 21:34:30 +10:00
Andrew Tridgell
61faeb2d7f
AP_Common: added double methods for SITL
2021-06-24 21:34:30 +10:00
Andrew Tridgell
fb275c9874
SITL: convert to double precision for positions
2021-06-24 21:34:30 +10:00
Andrew Tridgell
1d00cab9e6
AC_WPNav: convert circle, loiter and WPNav to double position
2021-06-24 21:34:30 +10:00
Andrew Tridgell
66186e5221
AC_AttitudeControl: convert poscontrol to use double position
2021-06-24 21:34:30 +10:00
Andrew Tridgell
c8079a318c
AC_PID: convert AC_P_2D to double
2021-06-24 21:34:30 +10:00
Andrew Tridgell
9b91cfe4ee
AP_Math: implement double versions of some position control methods
2021-06-24 21:34:30 +10:00
Andrew Tridgell
3a3a30ab22
AP_Math: define postype_t and vectors
2021-06-24 21:34:30 +10:00
Andrew Tridgell
3fc88b19b8
HAL_SITL: implement initial GPS position offsets
2021-06-24 21:34:30 +10:00
Andrew Tridgell
3315ec5acc
AP_Math: added tofloat() and todouble() methods to Vector2 and Vector3
2021-06-24 21:34:30 +10:00
Andrew Tridgell
cf149a9d18
SITL: added SIM_INIT_LAT_OFS and SIM_INIT_LON_OFS
...
these give an initial lat/lon offset to the GPS in SITL so we can end
up with an origin a long way from the final position
2021-06-24 21:34:30 +10:00
Andrew Tridgell
7819cc6400
AC_AttitudeControl: cleanup poscontrol comments with input from Leonard
2021-06-24 20:28:45 +10:00
Andrew Tridgell
639570505b
AP_Math: cleanups from Leonards feedback
2021-06-24 20:28:45 +10:00
Andrew Tridgell
5f053bd53a
AC_AttitudeControl: fixed comment
2021-06-24 20:28:45 +10:00
Andrew Tridgell
566dd8ca8b
AP_Math: cleanup API comments on control code
2021-06-24 20:28:45 +10:00
Andrew Tridgell
bf91168cd6
AC_WPNav: cleanup position control APIs
...
use Vector2 for xy, float for z
2021-06-24 20:28:45 +10:00
Andrew Tridgell
fd68233fed
AC_AttitudeControl: cleanup position control APIs
...
use Vector2 for xy, float for z
2021-06-24 20:28:45 +10:00
Andrew Tridgell
86f09cad09
AP_Math: cleanup position control APIs
...
use Vector2 for xy, float for z
2021-06-24 20:28:45 +10:00
Andrew Tridgell
fe4abc521a
AP_Math: make vector3 xy() method return a reference
2021-06-24 20:28:45 +10:00
Siddharth Purohit
43bb543aff
AP_PiccoloCAN: fix missing _telem_sem
2021-06-24 17:15:08 +10:00
Oliver
9aba85dadc
AP_PiccoloCAN: Explicit initialization of AP_HAL::CANFrame instances
2021-06-24 15:51:21 +10:00
Oliver
dade859ff9
AP_PiccoloCAN: Remove unncessary floating point operations
2021-06-24 15:51:21 +10:00
Oliver
06eb844ede
AP_PiccoloCAN: Update code to match new esc telemetry / logging architecture
2021-06-24 15:51:21 +10:00
Oliver Walters
de3c4cc9da
AP_PiccoloCAN: Increase number of supported channels from 12 -> 16
2021-06-24 15:51:21 +10:00
Oliver Walters
fb16b085c0
AP_PiccoloCAN: Record servo telemetry information to log
...
- Servo position
- Servo speed
- Servo force / torque
- Servo duty cycle
Updated servo protocol file to accommodate extra variable data
2021-06-24 15:51:21 +10:00
Oliver Walters
115c1224de
AP_PiccoloCAN: Send servo commands for active channels
...
- For each channel, check if a non-motor function is assigned
- If so, send the function value out to the servo
2021-06-24 15:51:21 +10:00
Oliver Walters
7b0da02a18
AP_PiccoloCAN: Framework for CAN servo outputs
2021-06-24 15:51:21 +10:00
Oliver Walters
43b7b4eb3b
AP_PiccoloCAN: Add support for CBS servo protocol
...
- Adds protocol files for the servo protocol
- Generated using Protogen tool
2021-06-24 15:51:21 +10:00
Siddharth Purohit
9494a439ec
AP_UAVCAN: Use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
69cc0b4615
SRV_Channel: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
02c74a8fa1
GCS_MAVLink: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
5d8a6d167f
AP_ToshibaCAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
0795225475
AP_RangeFinder: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
6d8972e63b
AP_PiccoloCAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
895039cdce
AP_Notify: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
1a2c51d6df
AP_KDECAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
81f6e3c585
AP_HAL_SITL: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
35344d1aef
AP_HAL_Linux: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
882b01bae3
AP_HAL_ChibiOS: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
c7185a1e7f
AP_HAL: split into HAL_CANMANAGER_ENABLED and HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
5acce3055f
AP_HAL: Use HAL_ENABLE_CANMANAGER instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
ee22747b48
AP_Filesystem: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
603b302ffd
AP_CANManager: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Leonard Hall
47b0ac663a
AC_AttitudeControl: AC_PosControl: Init and stopping point fixes
2021-06-24 09:01:07 +10:00
bugobliterator
7e8f11b749
AP_HAL_ChibiOS: allow embedded bootloader to be excluded
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-06-24 08:36:30 +10:00
Peter Barker
183cee3f2c
AP_Motors: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
dd8af14e57
AP_Logger: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
215bc51775
AP_LandingGear: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
731cf038f0
AP_InertialSensor: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
c0c3f92c39
AP_GPS: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
955ea710b8
AP_BoardConfig: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
c95b56d8fe
AP_Baro: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
d0dbfef2c2
AP_Arming: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
c129d50f4b
AP_ADSB: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
a8b37d7064
AC_Fence: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
5d52053232
AC_Avoidance: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
092885f67f
AC_AutoTune: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Peter Barker
5d6b733d6d
RC_Channel: add rc channel option to disable all airspeed sensors
2021-06-23 15:13:13 +10:00