Jacob Dahl
fbe49db571
uavcannode: publisher: MovingBaseLine enhancements ( #26092 )
...
* uavcannode: publishers: MovingBaselineData: publish all GpsInjectData updates during BroadcastAnyUpdates. Check and report data loss via uorb generationcounter. Only registerCallback outside of the loop.
* remove unnecessary include
2025-12-17 10:18:17 -09:00
Alexander Lerach
229b53d25d
uavcannode: fix compile error in BatteryInfo.hpp ( #25944 )
2025-11-19 16:23:25 +01:00
Claudio Chies
cfe4cc82ea
UAVCAN: fix message definition issues ( #25809 )
2025-11-03 09:34:54 +01:00
Jacob Dahl
444b31be21
uavcan: fix logic for static node id
2025-10-17 18:35:20 -08:00
Jacob Dahl
b3acde4899
use uavcan::NodeID::Max
2025-10-17 18:35:20 -08:00
Jacob Dahl
0b63b8317a
uavcannode: add CANNODE_NODE_ID to allow setting static node ID
2025-10-17 18:35:20 -08:00
Alexander Lerach
9015001b42
uavcan: fix driver init after stop/start ( #25511 )
2025-09-02 10:02:15 -08:00
Jacob Dahl
6a1cefd7a6
uavcan: esc: fix uavcan ESC control
...
This fixes a number of issues with uavcan ESC control.
- Motor Testing when using a CANnode as a PWM expander now works by allowing the FunctionMotors class to perform prearm control
- The esc.RawCommand message is now always published for configured uavcan ESC outputs. Previously prior to arming the message would be published empty, which causes certain ESCs to enter an error state.
- Useless and redundant code has been removed and small name changes have been applied.
2025-07-11 08:53:52 -06:00
Alex Klimaj
71554af8fa
Add uavcannode accel and gyro publisher ( #19885 )
...
* Add uavcannode accel and gyro publisher.
* Add missing Kconfig
* always publish rawimu
2025-03-24 12:08:15 -08:00
Alex Klimaj
5c7143a33b
uavcannode rangefinder: add tolerance to reading too close check ( #24415 )
2025-03-04 01:05:54 -09: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
Jacob Dahl
c9f64aeea8
cannode: safety_button: fix compatibility with Ardupilot ( #23876 )
2024-11-02 11:39:44 -06:00
Daniel Agar
e59cc9afeb
drivers/uavcan: subtree merge last working libuavcan (preserving history)
...
- upstream libuavcan was broken and then marked deprecated, this fully absorbs the submodule (renamed libdronecan to deconflict) up to our last good working commit and all commit history is kept
- fixes https://github.com/PX4/PX4-Autopilot/issues/23727 (regression introduced in #23113 )
- this puts us in a much better position to evolve the library as needed now that we have full control
2024-10-16 13:31:17 -04:00
BazookaJoe1900
4d83badba1
fix files tags on the header comments ( #23564 )
2024-09-19 09:25:18 +03:00
Peter van der Perk
f082de5db7
kconfig: Add dependencies
2024-04-01 22:05:20 -04:00
Andrew Brahim
bf52d8adc9
drivers/uavcannode: add indicated airspeed
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2024-02-06 11:01:15 -05:00
alexklimaj
db60bbc46b
dronecan: gps add noise, jamming, and spoofing data
2024-01-22 12:30:24 -05:00
Roman Bapst and Thomas Stastny
dd2322d622
Added PerformanceModel for fixed wing ( #22091 )
...
* created a Performance Model for fixed wing vehicle
- added compensation for maximum climbrate, minimum sinkrate, minimum airspeed and trim airspeed based on weight ratio and air density
- added atmosphere lib to standard atmosphere calculations
---------
Signed-off-by: RomanBapst <bapstroman@gmail.com >
Co-authored-by: Thomas Stastny <thomas.stastny@auterion.com >
2023-11-21 17:13:50 +01:00
David Sidrane
b8b150b213
UavcanNode:Fix Breakage from 3d61ab SocketCAN is FD based
...
SocketCAN uses FDs. FD's are per task/thread
Run() is not on the same thread as init().
2023-10-27 03:57:35 -04:00
David Sidrane
1a2a02b7ae
UavcanNode:Support optional board_app_shared_read
2023-10-27 03:57:35 -04:00
alexklimaj
3d61ab84c4
Cannode add ability to get node ID after boot. Fix ARK CAN OPT_WAIT_FOR_GETNODEINFO_JUMPER_GPIO_INVERT
2023-08-30 11:40:01 -04:00
Sergei Grichine
f000238987
SensorGps.msg: switch to double precision for lat/lon/alt
...
To match https://github.com/PX4/PX4-GPSDrivers/pull/132 - adding high precision RTK lat/lon/alt components
2023-07-13 07:50:09 +02:00
henrykotze
fab58ee2bc
cannode prearm by default enable on ArmingStatus
...
- ArmingStatus DroneCAN message STATUS field is only set to true based on
arming_status.armed
- Cannode prearm state is set to true always when ArmingStatus DroneCan
message is received
2023-05-31 11:20:31 -04:00
Alex Klimaj
ee96d209d7
drivers/uavcannode: add GNSS Auxiliary publisher
2023-05-24 21:27:50 -04:00
Daniel Agar
cc2b367c0b
drivers/uavcannode: fix typo (hydrometer->hygrometer)
2023-03-23 22:06:55 -04:00
alexklimaj
0ae296bfe2
ARK CANnode fix params
2023-03-16 14:32:36 -04:00
Alex Klimaj
ea97a38b2b
Initial Cannode PWM Support ( #19748 )
...
* Add uavcannode esc/servo pwm control pipeline
* Remove cannode rc.interface with mixer purge
* Cannode add Kconfig options to reduce flash usage
2023-03-15 11:20:07 -04:00
Daniel Agar
7c9dcd1985
drivers/uavcan: silence noisy libuavcan cmake version deprecation warning for now
...
- keep drivers/uavcannode cmake in sync with drivers/uavcan
2023-01-22 14:48:43 -05:00
Peter van der Perk
33e39d68f7
DroneCAN SocketCAN driver add FMU support
2022-12-12 20:06:13 -05:00
dirksavage88
5b667cf4ba
Uavcannode hygrometer support: temp and humidity
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2022-12-12 10:54:08 -05:00
alexklimaj
8b61b22da6
Fix CANNODE_SUB_MBD typo
2022-11-18 11:04:17 -05:00
Alex Klimaj
efcf4c95fd
drivers/uavcannode: Add RTCMStream subscriber and fix RTCMStream Publisher ( #20056 )
...
* Add cannode RTCMStream subscriber
* Fix uavcan RTCMStream publisher
* Break out CANNODE_SUB_RTCM and CANNODE_SUB_MBD
2022-09-09 15:16:09 -04:00
Peter van der Perk
089fbdccc9
UAVCANNODE NuttX SocketCAN driver
...
Change init mode for CAN driver so it get executed in a single context
2022-07-20 01:12:43 -04:00
Peter van der Perk
47aaa38d5f
Added DroneCAN SocketCAN driver Skeleton
2022-07-20 01:12:43 -04:00
Daniel Agar
a73efd9c4f
NuttX carry minimal c++ cmath (replacing Matrix stdlib_imports.hpp)
2022-07-12 08:05:06 -04:00
Daniel Agar
7f76761657
uavcannode: schedule to run on log_message publications
...
- this is a precaution to minimize message latency and potential lost messages
2022-07-01 09:18:17 -04:00
Daniel Agar and alexklimaj
d5839e2dd5
optical flow sensor pipeline overhaul
...
- all sources of optical flow publish sensor_optical_flow
- sensor_optical_flow is aggregated by the sensors module, aligned with integrated gyro, and published as vehicle_optical_flow
Co-authored-by: alexklimaj <alex@arkelectron.com >
2022-06-20 20:56:56 -04:00
alexklimaj
4cc3e78558
Add mag bias estimator to CAN GPS units with IMUs
...
- run `sensors` hub to process sensor_mag and publish vehicle_magnetometer
- update uavcannode to use vehicle_magnetometer
2022-06-19 15:46:36 -04:00
Alex Klimaj
60450e63c0
uavcannode: Fix dronecan baro units
2022-06-17 14:22:15 -04:00
Daniel Agar
d1d15a6f6d
differential pressure remove filters from drivers and average in sensors/airspeed
2022-04-26 08:39:19 -04:00
Jacob Dahl
3bffe3087d
use new safety_button topic for uavcannode Button publishing
2022-04-09 14:20:18 -04:00
Daniel Agar
8a552fac78
uavcannode: publish RelPosHeading (from sensor_gnss_relative)
2022-03-29 07:59:41 +02:00
David Sidrane
3358712b92
UAVCAN Node Correct C to Kelvin conversion
2022-02-01 21:49:29 -05:00
zhaoxiaowei
996b01acbc
uavcannode need link conversion
2022-01-26 13:43:29 -05:00
Daniel Agar
07e6c274d5
uavcan/uavcannode: bridge LogMessage and PX4 ORB_ID(log_message_s)
2022-01-23 20:21:39 -05:00
alexklimaj
d1304e1ceb
Add CANNODE_GPS_RTCM
2022-01-12 15:30:38 -05:00
honglang
983867f9af
uavcan: support uavcan hygrometer
2021-12-27 12:13:09 -05:00
alexklimaj
2571860ff8
Prevent uavcannode from republishing RTCM data received over uavcan
2021-12-01 09:27:11 -05:00
alexklimaj
bfd5a90a5d
UAVCAN Moving Baseline Working
...
Set uavcan publisher priorities
Switch to ardupilot rtcm message and add heading accuracy
2021-11-30 15:59:08 -05:00
Daniel Agar
c73a1b4c68
update UAVCAN-v0 dsdl to DroneCAN
2021-11-04 21:36:13 -04:00