Niklas Hauser
a1f363aa00
[IST8310] Reset all I2C addresses on startup
...
Reading the WAI register is unreliable as the chip sometimes returns
wrong values or boots with the wrong I2C address. This can be fixed by
sending the software reset command to all four possible I2C addresses.
2025-03-12 13:05:18 +01:00
Eric Katzfey
5a05444bad
QuRT logging improvements ( #24462 )
...
- Made general improvements to the QURT platform message logging so that module name is printed both in mini-dm and on apps side terminal
2025-03-10 18:59:52 -04:00
Jukka Laitinen
dba2f4ff51
src/drivers/px4io/px4io.cpp: Fix compilation errors from printf modifiers
...
Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae >
2025-03-10 09:13:17 +01:00
Eric Katzfey
139f3792f5
bmp388: Fixed compiler warning (error) for clang
...
voxl2-slpi: Added more barometers to the build
2025-03-06 14:02:15 +01:00
Niklas Hauser
2aecdfe116
[adc] Refactor ADS1115 driver ( #24428 )
2025-03-05 00:36:39 -09:00
Silvan Fuhrer
7cb6464cfb
VehicleStatus.msg: remove VEHICLE_TYPE_UNKNOWN
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-04 12:15:01 +00:00
Alex Klimaj
5c7143a33b
uavcannode rangefinder: add tolerance to reading too close check ( #24415 )
2025-03-04 01:05:54 -09:00
Sebastian Domoszlai and Matthias Grob
b5f37c9fa6
Simplify Battery-related Enum Naming ( #24265 )
...
* Simplify battery-related enum naming
* Fix mistakenly removed string in enum names
* Fix missing renamings
* Update outdated file
* msg: Increase battery_status version since the enum naming was changed
* Revert message version increase
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-02-28 11:42:40 -09:00
Niklas Hauser
336d055923
Robustify Ulanding Radar ( #24333 )
...
* [ulanding_radar] Fix comms error perf counter usage
* [ulanding_radar] Workaround for lost messages by lowering sampling rate
The current implementation of the Aerotenna uLanding radar driver assumes that
the UART frames are received in full. If the driver polls with 10ms this is not
always the case and the driver will fail to parse the frame leading to
significant packet loss. This workaround polls at 12ms which ensures that at
least one entire frame is received.
2025-02-28 11:14:32 -09:00
Tony Cake
ba31054992
Add RSSI in dBm support, plus LQ, to GHST protocol ( #24351 )
2025-02-28 00:53:32 -09:00
Eric Katzfey
5fb810a5ea
voxl_esc: Added Mavlink tunnel UART pass-through mechanism
2025-02-26 18:04:34 -05:00
Silvan Fuhrer and Matthias Grob
29317d90c3
RPM capture: improve description of param RPM_CAP_ENABLE ( #24368 )
...
* RPM capture: improve description of param RPM_CAP_ENABLE
---------
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-02-20 09:19:43 +01:00
Julian Oes
786c2a7f39
drivers/imu/invensense/mpu6000: include cstdlib for size_t
2025-02-19 12:09:54 -05:00
Eric Katzfey
98ceb0ce79
voxl_esc: Added GPIO control feature
...
voxl_esc: Removed obsolete modal_io_data UORB topic
2025-02-19 11:00:15 -05:00
Marco Hauswirth
d2cbe10243
Clean up temperature msg fields ( #24272 )
...
* remove temp field from airspeed.msg, adjust temp selection
* temp-sensor hirarchy: airspeed, ext. baro, default value
* directly use diff-press or baro temp in true-airspeed calc
* improve clarity
* add enum for temperature source in VehicleAirData.msg
2025-02-18 13:23:10 +01:00
Jacob Dahl
46609d5e6c
voxl: document enable_debug command ( #24353 )
2025-02-17 19:55:24 -08:00
dirksavage88
01549a5832
fix to kconfig newline
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2025-02-14 15:50:43 -05:00
dirksavage88
5ffa69ff54
fix newline in module.yaml
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2025-02-14 15:50:43 -05:00
Eric Katzfey
b0eb639587
voxl2_io: Updated to latest version from ModalAI fork
...
- Updated to the latest version of the voxl2_io driver from the ModalAI fork.
- Moved to the platform independent Serial driver
- Added voxl2_io driver to the SLPI DSP build
2025-02-14 14:33:38 -05:00
alexklimaj
fd5bb9e69c
uavcannode rangefinder: only publish reading too far or too close if less than or greater than. Not equal to.
2025-02-14 14:26:39 -05:00
Alexander Lerach
f2471861a3
Fix GPS RTCM instance selection
2025-02-14 09:39:59 +01:00
mahimayoga
69d95a6664
sf45: separate sensor yaw variable into FRD and sensor frames for clarity.
...
Obstacle map is created in sensor frame, but scaling for vehicle orientation is done in vehicle FRD frame.
2025-02-07 13:28:17 +01:00
mahimayoga
093b379b6b
sf45/collision-prevention: replace repeated code with ObstacleMath library functions.
2025-02-07 13:28:17 +01:00
mahimayoga
48c0992a7d
sf45: refactor how sensor orientation (yaw_cfg) correction is applied to incoming sensor data.
...
yaw_cfg is now read into the obstacle_distance message as the angle_offset. The offset is computed once at init and applied to each measurement.
2025-02-03 17:17:35 +01:00
mahimayoga
31bff3e5bb
sf45: change handle_missed_bins() function logic.
...
To simplify logic for wrap-around cases and cases in which bins outside the FOV may be filled. Bin indices are offset such that the 0th bin is the first bin within the sensor FOV. This way we can always fill bins from smallest to largest index.
2025-02-03 17:17:35 +01:00
alexklimaj
c3ba39f931
dshot: remove dshot 1200
2025-01-23 23:50:50 -05:00
Alex Klimaj
07e7c64e60
drivers/power_monitor/ina238: retry if read fails
...
* ina238: retry if read fails
* ina238: increase retries and only publish not connected if register check fails
* ina238: use I2C resets
2025-01-22 15:32:26 -05:00
Jacob Dahl
1900d2c98f
uavcan: fix hw_errors from mutex lock, hide ESC/Servo status if no function set ( #23888 )
2025-01-22 12:48:05 +13:00
Marco Hauswirth
4a5aa1e947
Fix max-hagl restriction to position/altitude control ( #23667 )
...
* fix max-hagl restriction to position/altitude control
* max hagl vel restriction in ManAcc position mode
* use interpolate func, change naming
* simplyfied vertical vel limitation
* move velocity-constraint adjustment to StickAccelXY
2025-01-20 15:50:21 +01:00
mahimayoga
65a8cc0e0a
sf45: scale measured distance with pitch and roll.
...
Calls function from ObstacleMath library that accounts for the vehicle's attitude w.r.t the obstacle. Obstacles are assumed to be flat, vertical walls.
2025-01-20 11:11:29 +01:00
alexklimaj
33841cf438
Update GPS submodule
2025-01-15 11:54:04 -05:00
Silvan Fuhrer
44b423f48d
drivers: ulanding: description: fix link to user guide section ( #24189 )
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-01-09 08:54:58 +01:00
alexklimaj
2625c5211b
dronecan: don't init if can interface fails to init
2025-01-08 11:12:57 -05:00
Daniel Agar
81552fc036
uavcan: relax UAVCAN_RNG_MIN/UAVCAN_RNG_MAX defaults ( #24140 )
...
- this is optional sensor metadata that can be set if actually needed
2024-12-26 19:10:31 -07:00
Matthias Grob
077ade4f8f
Add IO timer channel mode for RPM and also sync up rpi configuration to work with all these drivers
2024-12-19 07:30:25 +01:00
Matthias Grob
b85ad98a98
Use defines instead of hardcoded magic values for maximum number of output channels and rpm filter time constant
2024-12-19 07:30:25 +01:00
Matthias Grob
8ce6ad6662
camera_capture: refactor to simplify capture channel initialization
2024-12-19 07:30:25 +01:00
Matthias Grob
267fa06da8
RPMCapture: fix copyright year, improve comments
2024-12-19 07:30:25 +01:00
Matthias Grob
f4c8e0e35f
RPMCapture: fix dt should not have a minimum which would limit to 6000rpm
2024-12-19 07:30:25 +01:00
Matthias Grob
b7b384ab2e
RPMCapture: add back filter reset on timeout
2024-12-19 07:30:25 +01:00
Matthias Grob
d027f8bf39
RPMCapture: publish outliers in rpm message but don't update the filters and estimate
2024-12-19 07:30:25 +01:00
Matthias Grob
9ca06be4f5
RPMCapture: refactor to clarify scheduling
2024-12-19 07:30:25 +01:00
Matthias Grob
c406e0a3a2
RPMCapture: refactor to clarify when an interrupt happened
2024-12-19 07:30:25 +01:00
Matthias Grob
ec4ed75264
RPMCapture: define period as UINT32_MAX when timed out
2024-12-19 07:30:25 +01:00
Matthias Grob
825dc47fad
RPMCapture: fix pulses per revolution parameter name, description, type -> use module params
2024-12-19 07:30:25 +01:00
oravla5
d31271c38e
RPMCapture: added pulse per rev parameter. Do not publish if pulses are to fast
2024-12-19 07:30:25 +01:00
bresch
1b105c937d
RpmControl: remove raw RPM spikes using median filter
2024-12-19 07:30:25 +01:00
Silvan Fuhrer
f687e3d8a4
RPM capture: publish every 1s without new data
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-19 07:30:25 +01:00
Matthias Grob
8486f74b2a
RPMCapture: much better timeout scheduling
...
Not timing out based on a random interval but based
on the time after the last inerrupt.
2024-12-19 07:30:25 +01:00
Matthias Grob
c463cc42d0
RPM: clean up message
2024-12-19 07:30:25 +01:00