Peter Barker
a143d2e453
SITL: remove trailing whitespace in SITL GPS drivers
...
we've just lost the history for these lines anyway
2023-11-29 18:04:56 +11:00
Peter Barker
d992ead5b1
SITL: rename GSOF to Trimble
...
... as now it's not just GSOF but also DCOL
2023-11-29 18:04:56 +11:00
Peter Barker
568d633dcc
SITL: break up GPS backends into separate files
2023-11-29 18:04:56 +11:00
Tom Pittenger
f72dd8cc89
AP_Network: mavlink packetise requires mavlink
2023-11-29 12:29:19 +11:00
Andrew Tridgell
0d932e8a54
Filter: fixed uint8_t bug in total filters and expand_filter_count bug
...
this gets the right number of notches on quadplanes, but is still very
bad in fwd flight
2023-11-28 18:05:37 +11:00
Andrew Tridgell
002f1076d7
Filter: added optional notch debug logging
...
this has helped find multiple bugs
2023-11-28 18:05:37 +11:00
Andy Piper
a61fc423f0
Filter: allow zero centre frequency to passthrough and disable notch
2023-11-28 18:05:37 +11:00
Iampete1
eb4e3fc36a
AP_InertialSensor: init all notch center frequencies
2023-11-28 18:05:37 +11:00
jfbblue0922
c16e1a28df
AP_HAL_ChibiOS/hwdef: changed defaults parm in JFB110 board definition
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-11-28 15:58:53 +09:00
Peter Barker
2e41cf810c
Revert "AP_GPS: GSOF robust config parsing"
...
This reverts commit bf9881579c
.
2023-11-28 16:09:46 +11:00
Peter Barker
8b7652d1db
Revert "AP_GPS: Move init logic from constructor to class"
...
This reverts commit 5f84cd8f2b
.
2023-11-28 16:09:46 +11:00
Ryan Friedman
35b52a4604
SITL: Implement DCOL parser and bidirectional comms
...
* Implement DCOL command support for GSOF simulator
* Only send GSOF when enabled
* Publish only at the configured rate
* Only build GSOF packets when needed
* This saves CPU
* Make physics and read loop run at full rate
* The logic to rate-limit writes is now pushed to the backend
* Indent errors were fixed too
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 15:50:02 +11:00
Ryan Friedman
d7b5cd3203
AP_GPS: Fix missing GSOF param for SITL
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 15:50:02 +11:00
Ryan Friedman
5f84cd8f2b
AP_GPS: Move init logic from constructor to class
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 15:44:37 +11:00
Ryan Friedman
bf9881579c
AP_GPS: GSOF robust config parsing
...
* Refactor checksum to unique function
* Clear uart before reading data
* Add ack/nack check
* Implement output disable before requesting GSOF data
* Improve debug message to have line number
* Use debug in more code
* Stop delaying in configuration
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 15:44:37 +11:00
Randy Mackay
03c50db07e
AR_WPNav: pos control updated during pivots
2023-11-28 12:46:46 +09:00
Randy Mackay
62dfe0f04b
AR_PosControl: no min speed when stopping
2023-11-28 12:46:46 +09:00
Ryan Friedman
3965c7e4bf
AP_Math: Replace deprecated benchmark function
...
* Been deprecated since 1.2.0
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 12:21:10 +11:00
Andrew Tridgell
2ee48dea29
AP_HAL: support bi-directional UDP broadcast sockets
2023-11-28 12:18:55 +11:00
Andrew Tridgell
7d1f048ca7
AP_Networking: support UDP server, TCP client and TCP server
...
and implement mavlink packetisation and flow control return
2023-11-28 12:18:55 +11:00
Andrew Tridgell
f345d94e91
GCS_MAVLink: increase max mavlink connections when networking enabled
2023-11-28 12:18:55 +11:00
Andrew Tridgell
f471732aad
HAL_ChibiOS: enable SO_REUSEADDR
2023-11-28 12:18:55 +11:00
Andrew Tridgell
0659ab8ef4
HAL_ChibiOS: increase max TCP resources
2023-11-28 12:18:55 +11:00
Andrew Tridgell
a05acfc090
AP_HAL: added last_recv_address() with supplied buffer
...
this prevents a race condition with a static string
2023-11-28 12:18:55 +11:00
Ryan Friedman
be668ddc1b
AP_ExternalAHRS: Clarify public interface design intent
...
* Discussions with Tridge on design intent for these accessors
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 11:48:22 +11:00
Henry Wurzburg
d9d5e91110
hwdef: update SDH7V1 readme
2023-11-28 11:47:32 +11:00
Andrew Tridgell
ad59f6db01
AP_DroneCAN: support an aux 11 bit protocol with DroneCAN
2023-11-28 11:38:16 +11:00
Andrew Tridgell
d17a1ca7bc
AP_CANManager: support CAN_Dn_PROTOCOL2 for an aux 11 bit protocol
2023-11-28 11:38:16 +11:00
Iampete1
d626928e0c
SITL: SIM IntelligentEnergy24: add error string to V2 protocol
2023-11-28 11:27:14 +11:00
Iampete1
a00b6b6f86
AP_Gernerator: FuelCell: rework error check to give error cleared msg
2023-11-28 11:27:14 +11:00
Iampete1
3b3c94ea07
AP_Generator: IE_2400: update low and critial error ranges for V2 protocol
2023-11-28 11:27:14 +11:00
Gone4Dirt
ab5d28073d
SITL: Add V2 telemetry protocol to IE24 fuel cell
2023-11-28 11:27:14 +11:00
Iampete1
36dd720e78
AP_Generator: IE 2400: fix V2 low and critical errors and add warnings
2023-11-28 11:27:14 +11:00
Iampete1
c91407d662
AP_Generator: IE 2400: only return custom msg if error is critial or low severity
2023-11-28 11:27:14 +11:00
Iampete1
c861e15853
AP_Gernerator: IE_2400: lengthen message buffer and print error num
2023-11-28 11:27:14 +11:00
Iampete1
90f7ed3410
AP_Generator: Add support for IE V2 protocol
2023-11-28 11:27:14 +11:00
Iampete1
daf8aeeadc
AP_Param: check dynamic param tables are avalable before adding a param
2023-11-28 11:22:43 +11:00
Michael du Breuil
772dbfb04f
AP_GPS: SBF supports yaw from dual antennas
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-11-28 11:17:51 +11:00
daniel.li
e6b7daa323
AP_HAL_ChibiOS: Add Aocoda-RC-H743Dual target
2023-11-28 10:29:23 +11:00
Randy Mackay
46f4e6e33a
RC_Channel: Rover circle mode aux function param desc
2023-11-28 07:54:45 +09:00
Randy Mackay
2d89f835e5
AR_PosControl: fix PSC_VEL_I param range
2023-11-28 07:54:45 +09:00
Thomas Watson
87fef1ae5d
AP_HAL_ChibiOS: use get_HAL_mutable() to install new CAN interfaces
...
Avoids dubious extern redefinition.
2023-11-28 08:24:25 +11:00
Thomas Watson
008c0baf5f
AP_DroneCAN_sniffer: use get_HAL_mutable() to install new CAN interface
...
Avoids dubious const_casting.
2023-11-28 08:24:25 +11:00
Thomas Watson
de26095c58
AP_CANManager: use get_HAL_mutable() to install new CAN interfaces
...
Avoids dubious const_casting.
2023-11-28 08:24:25 +11:00
Thomas Watson
3c82ac6043
AP_HAL_SITL: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson
8fe95dca81
AP_HAL_Linux: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson
db12f428c5
AP_HAL_Empty: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson
2dbf5aefb3
AP_HAL_ESP32: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson
a9ddadee3b
AP_HAL_ChibiOS: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson
dc76e03890
AP_HAL: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00