Commit Graph

48046 Commits

Author SHA1 Message Date
Andrew Tridgell 889bd2547f AP_Math: cleanups from Leonards feedback 2021-07-04 08:19:11 +10:00
Andrew Tridgell 6bde607aaa AC_AttitudeControl: fixed comment 2021-07-04 08:19:11 +10:00
Andrew Tridgell 848cac37c2 AP_Math: cleanup API comments on control code 2021-07-04 08:19:11 +10:00
Andrew Tridgell d291424945 Sub: use cleaned up APIs 2021-07-04 08:19:11 +10:00
Andrew Tridgell da3955ee02 Plane: use cleaned up APIs 2021-07-04 08:19:11 +10:00
Andrew Tridgell b43c58f6c3 Copter: use cleaned up APIs 2021-07-04 08:19:11 +10:00
Andrew Tridgell 52d20cedad AC_WPNav: cleanup position control APIs
use Vector2 for xy, float for z
2021-07-04 08:19:11 +10:00
Andrew Tridgell a4220b1584 AC_AttitudeControl: cleanup position control APIs
use Vector2 for xy, float for z
2021-07-04 08:19:11 +10:00
Andrew Tridgell 6e99028d69 AP_Math: cleanup position control APIs
use Vector2 for xy, float for z
2021-07-04 08:19:11 +10:00
Andrew Tridgell 070a004f26 AP_Math: make vector3 xy() method return a reference 2021-07-04 08:19:11 +10:00
Peter Barker 9205f379cf autotest: increase number of parameter retries
sets were failing just after we uploaded very large numbers of
parameters.  I'm guessing the parameter queue in ArduPilot is still
full.
2021-07-04 08:19:11 +10:00
Peter Barker 1e55b377c1 autotest: shift where we print which attempt we are doing 2021-07-04 08:19:11 +10:00
Siddharth Purohit 5a113cd8ad AP_PiccoloCAN: fix missing _telem_sem 2021-07-04 08:19:11 +10:00
Oliver 72ceee5539 AP_PiccoloCAN: Explicit initialization of AP_HAL::CANFrame instances 2021-07-04 08:19:11 +10:00
Oliver ffbe038790 AP_PiccoloCAN: Remove unncessary floating point operations 2021-07-04 08:19:11 +10:00
Oliver e9d8945930 AP_PiccoloCAN: Update code to match new esc telemetry / logging architecture 2021-07-04 08:19:11 +10:00
Oliver Walters 5a9c899f4b AP_PiccoloCAN: Increase number of supported channels from 12 -> 16 2021-07-04 08:19:11 +10:00
Oliver Walters 1a37b51ff7 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-07-04 08:19:11 +10:00
Oliver Walters c8ba301bb2 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-07-04 08:19:11 +10:00
Oliver Walters 77417677d3 AP_PiccoloCAN: Framework for CAN servo outputs 2021-07-04 08:19:11 +10:00
Oliver Walters 9af4fa46d3 AP_PiccoloCAN: Add support for CBS servo protocol
- Adds protocol files for the servo protocol
- Generated using Protogen tool
2021-07-04 08:19:11 +10:00
Siddharth Purohit 37673762f9 AP_UAVCAN: Use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 58f09029ad SRV_Channel: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 4e15531c87 GCS_MAVLink: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 3895942282 AP_ToshibaCAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 67dbbc34b7 AP_RangeFinder: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit d6ac420055 AP_PiccoloCAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 67278d54ae AP_Notify: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 274ce7b516 AP_KDECAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 5014c65276 AP_HAL_SITL: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 9ed015f1c7 AP_HAL_Linux: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit f8d313cfd6 AP_HAL_ChibiOS: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit c640f0d3d9 AP_HAL: split into HAL_CANMANAGER_ENABLED and HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit 17459128bf AP_HAL: Use HAL_ENABLE_CANMANAGER instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit fc1bc6b852 AP_Filesystem: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Siddharth Purohit b32f687a6b AP_CANManager: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-07-04 08:19:10 +10:00
Leonard Hall ee9ae3e570 AC_AttitudeControl: AC_PosControl: Init and stopping point fixes 2021-07-04 08:19:10 +10:00
Peter Barker 10a4588f99 Tools: mark decode_watchdog.py flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker af9f206b99 Tools: mark build_examples.py flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker 6369149217 Tool: uploader.py: flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker 09cf2cfc56 Tool: make_apj.py: flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker 919a93ccb4 Tool: pretty_size_diff.py: flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker aae3d4d1db Tools: decode_ISCR.py: flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker 66e8b9128a Tools: build_iofirmware.py: flake8-clean 2021-07-04 08:19:10 +10:00
bugobliterator 086f184c36 AP_HAL_ChibiOS: allow embedded bootloader to be excluded
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-07-04 08:19:10 +10:00
Randy Mackay 8667130db7 Tools: autotest of vibration failsafe 2021-07-04 08:19:10 +10:00
Peter Barker 55e8922c3c autotest: correct placement of not-alive-after-test message
This was misplaced with bad conflict resolution
2021-07-04 08:19:10 +10:00
Peter Barker e51631c8b0 autotest: emit 'attempt 1/3' when retrying set_parameter
Also reterm things in terms of attempts rather than retries
2021-07-04 08:19:10 +10:00
= 0937223c86 Tools: added name to GIT_Success.txt 2021-07-04 08:19:10 +10:00
Peter Barker 19e3e3d1a0 autotest: ensure no stray message listeners after test 2021-07-04 08:19:10 +10:00