Commit Graph

33554 Commits

Author SHA1 Message Date
Andrew Tridgell
9cde659545 SITL: disable gimbal and ADSB in SITL periph
lack of MAVLink makes these problematic
2023-08-24 13:06:40 +10:00
Andrew Tridgell
a42a2fec2a HAL_SITL: implement multicast comms for SITL AP_Periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell
5d4bf9fc14 AP_AHRS: fixed build for SITL periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell
9706a207b1 AP_Terrain: fixed build for periph
needed for SITL periph rangefinder
2023-08-24 13:06:40 +10:00
Andrew Tridgell
791d0acefe SITL: removed GPS FIFO 2023-08-24 13:06:40 +10:00
Andrew Tridgell
3752750f0a AP_Mount: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell
85c2c3609b AP_HAL_SITL: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell
8ed289a514 AP_HAL_Linux: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell
6a54c5e952 AP_HAL: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell
39153a1c01 AP_HAL_ChibiOS: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell
babd2d2033 AP_GPS: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell
232509ad7a AP_DroneCAN: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell
b55c1d7193 AP_CANManager: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Ryan Friedman
1839db7c1f AP_ExternalAHRS: Allow multiple external AHRS GPS instances
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 12:01:32 +10:00
Ryan Friedman
01cd42d1e7 AP_GPS: Allow multiple external AHRS GPS instances
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 12:01:32 +10:00
Nick Exton
fad1f35d93 GCS_MAVLink: Remove unreachable return in handle_command_mount() 2023-08-24 11:57:55 +10:00
Pierre Kancir
d78fe1ad99 AP_HAL_SITL: fix possible divide by 0 on synth.hpp 2023-08-24 07:46:20 +10:00
Ryan Friedman
d31896a545 AP_DDS: Stub out external odom
* Implement frame ID checking and test it
* Implement the visual odom function that does narrowing to floats
* Normalize quaternions from ROS
* Supply 0 error to EKF
* Handle external odomo only if HAL_VISUALODOM_ENABLED is defined
* Implement odom timestamping and improve docs
* Add unit tests
* Add a CONFIG file for DDS

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 07:46:06 +10:00
Tom Pittenger
732cd31f27 GCS_MAVLink: MSG_HOME_POSITION to use NaN for invalid 2023-08-23 08:53:29 -07:00
Andy Piper
f7c86cc06a AP_NavEKF: fallback to no baro on boards that have no baro 2023-08-23 18:25:26 +10:00
Paul Riseborough
5aa7bd0b7a AP_NavEKF3: Allow operation with EK3_SRCx_POSZ = 0 (NONE) 2023-08-23 18:25:26 +10:00
Paul Riseborough
2572c9be48 AP_NavEKF: Allow EK3_SRCx_POSZ to be set to 0 (NONE) 2023-08-23 18:25:26 +10:00
Andy Piper
c57efa1b20 AP_NavEKF3: allow high values of EK3_ALT_M_NSE for boards without baros 2023-08-23 18:25:26 +10:00
Randy Mackay
9d09739044 AP_Mount: Viewpro supports get rangefinder distance 2023-08-23 18:09:56 +10:00
Andy Piper
8f644f473c AP_Vehicle: add autotune options 2023-08-23 18:06:22 +10:00
Andy Piper
ee883b6ad0 APM_Control: allow autotune FLTD and FLTT updates to be disabled 2023-08-23 18:06:22 +10:00
Peter Barker
81326a17db hwdef: qiotek: correct HAL_BATT_MONITOR_DEFAULT define name 2023-08-23 17:20:20 +10:00
Tom Pittenger
ed43f095ce AP_HAL_ChibiOS: add AP_BATTERY_ESC_TELEM_OUTBOUND_ENABLED to defaults_periph 2023-08-22 16:14:36 -07:00
Tom Pittenger
21ead4e8e3 AP_Battery: add param _ESC_ID to write to ESC_Telem 2023-08-22 16:14:36 -07:00
Tom Pittenger
dbe0aac73f AP_ESC_Telem: update_telem_data to be public 2023-08-22 16:14:36 -07:00
Tom Pittenger
5ddb649ed1 Update libraries/AP_Networking/AP_Networking.cpp
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2023-08-22 09:25:42 -07:00
muramura
4bad05c49c AP_Logger:AP_Networking: If initialization fails, the process is terminated 2023-08-22 09:25:42 -07:00
muramura
75a279a11d AP_Networking: Delete entity class pointer 2023-08-22 09:25:42 -07:00
Andrew Tridgell
847c7980c7 AP_DDS: use AP_ExternalControl for velocity control
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
2023-08-22 18:21:23 +10:00
Andrew Tridgell
0f624089f8 AP_ExternalControl: external control library for MAVLink,lua and DDS
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
2023-08-22 18:21:23 +10:00
Andy Piper
37a3f85a9a AP_HAL_ChibiOS: add 8 bi-directional dshot channels to KakuteH7-Wing 2023-08-22 11:08:14 +10:00
Andrew Tridgell
4f0ba39b64 AP_Param: fixed parameter defaults array length handling
we need to add up the total for all comma separated parameter files
2023-08-22 11:07:30 +10:00
Willian Galvani
158b99c20a AP_MotorsUGV: add asymmetry factor for skid-steering
Co-authored-by: Iampete1 <iampete@hotmail.co.uk>
2023-08-22 09:14:42 +09:00
Peter Barker
b141cca3d5 GCS_MAVLink: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Andrew Tridgell
aaec99ae31 hwdef: removed baro from HolybroG4_GPS
not included in production versions, and baro is not generally a good
idea on a GPS due to impact of airflow

also disable unused IMU, SPI bus and 2nd I2C and re-enable 2nd CAN as
helical units have dual CAN
2023-08-22 09:37:20 +10:00
Peter Barker
1dd5778956 GCS_MAVLink: correct placement of AP_MAVLINK_MISSION_SET_CURRENT_ENABLED 2023-08-22 09:09:54 +10:00
Peter Barker
b4a9c0ec1e AP_RPM: include backend header
in the case you're inlcuding the RPM library but no backends we don't know the shape of the backend class, so we can't call the update-esc-telem method.
2023-08-22 09:09:54 +10:00
Peter Barker
84b3c9e267 SITL: reset balancebot to vertical in a kinmetically consistent manner
The hard-reset of all state variables means we feed the EKF inconsistent gyro data.  Attempt to upright the vehicle with a simple p-gain when it is disarmed, as if someone is pushing the thing back upright
2023-08-21 22:09:04 +10:00
Michelle Rossouw
26bbd6536a SITL: Improve Blimp dynamics and fin motion to be more realistic, allow SITL loop rate to be changed and add more logging 2023-08-21 21:01:47 +10:00
Peter Barker
efa680f1e0 AP_HAL_ChibiOS: add hwdef for bootloader for MatekL431-RC 2023-08-20 17:37:44 +10:00
Fred Kummer
7c6551af9b AP_DroneCAN: allow sending negative RawCommands to ESCs 2023-08-19 20:27:58 +10:00
Andrew Tridgell
24139d661a AP_RCProtocol: allow for fport without FRSky telem 2023-08-19 20:27:24 +10:00
Peter Barker
ca549e1887 hwdef: add MatekL431-RC for RC input 2023-08-19 20:27:24 +10:00
Peter Barker
103caac92c AP_HAL_ChibiOS: add support for DroneCAN RCInput packets 2023-08-19 20:27:24 +10:00
Peter Barker
b8a80817e4 AP_RCProtocol: add support for DroneCAN RCInput packets 2023-08-19 20:27:24 +10:00