murata
3b277667ff
tfmini: If the distance is 0xFFFF, a negative value is returned
2022-01-28 17:31:12 -05:00
CUAVmengxiao
0ddf76ed7f
uavcan: Add support for BatteryInfoAux message
2022-01-26 13:44:48 -05:00
zhaoxiaowei
996b01acbc
uavcannode need link conversion
2022-01-26 13:43:29 -05:00
Daniel Agar
8d03e71c16
drivers/magnetometer/bosch/bmm150: init and self test improvements
...
- if self test fails consistently proceed with startup, but report failure
2022-01-24 16:16:03 -05:00
Daniel Agar
8217e0f335
drivers/magnetometer/bosch/bmm150: add self test fail perf counter to status
2022-01-24 13:06:32 -05:00
Daniel Agar
07e6c274d5
uavcan/uavcannode: bridge LogMessage and PX4 ORB_ID(log_message_s)
2022-01-23 20:21:39 -05:00
Daniel Agar
4de9c598fa
bmm150: retry probe up to 3 times
2022-01-21 15:51:43 -05:00
CUAVmengxiao
258a563dd5
barometer: Add ICP10100 and ICP1011
2022-01-18 19:14:40 -05:00
alexklimaj
cdb6a437a0
Fix UAVCAN beep not started
2022-01-17 21:49:53 -05:00
Beat Küng
9ca58f5e97
actuator outputs: always add reverse range param
...
and remove the possibility to set min > max to reverse.
Initially the idea was to add the checkbox on the UI side, to avoid adding
another param, but I don't think I'll go through the extra effort on the
QGC side.
2022-01-14 12:18:29 -05:00
Daniel Agar
98a9748bb8
drivers/dshot: use uORB::PublicationMulti for ORB_ID(esc_status)
...
- there can be multiple different outupt modules publishing esc_status (eg dshot & uavcan)
2022-01-14 12:17:49 -05:00
Daniel Agar
81ecd130fc
uavcan: ESC publish esc_status in callback instead of timer
...
- this ensures every ESC status gets published with minimal latency
- also prevents publishing ORB_ID(esc_status) when there's no actual
data (bug)
2022-01-14 12:17:49 -05:00
alexklimaj
d1304e1ceb
Add CANNODE_GPS_RTCM
2022-01-12 15:30:38 -05:00
Julian Oes
b44f5b49ca
Mantis: add tap_esc to Kconfig
2022-01-10 23:04:10 -05:00
Julian Oes
76920171c7
tap_esc: fix tunes
...
This removes the redundant _play_tone flag and instead just polls the
next_note() interface to check if there is something to play.
2022-01-10 23:04:10 -05:00
Daniel Agar
2e2ac36cab
drivers/uavcan: make firmware server available on both CAN1/CAN2 always (if enabled)
...
- uavcan firmware server no longer shuts down when arming (nodes might restart in flight)
- always handle UAVCAN parameters with or without the FW server active
- remove legacy ESC enumeration in FW server
2022-01-10 11:13:02 -05:00
Daniel Agar
e731fcdbc0
sensors (accel/gyro/mag) determine if external with device id
2022-01-10 10:31:07 -05:00
Daniel Agar
c3ca40a98f
drivers/px4io: delete monitor command
...
- the px4io console isn't even connected on most flight controllers
2022-01-10 09:51:11 -05:00
Daniel Agar
e5d49f6fff
drivers/px4io: delete unused detect
2022-01-10 09:51:11 -05:00
Daniel Agar
d077ca15fb
delete PWM_SERVO_SET, PWM_SERVO_SET_MODE, systemcmds/motor_ramp, and pwm_out test
2022-01-10 09:51:11 -05:00
Daniel Agar
03bdc460d8
drivers/px4io: PWM_SERVO_GET_FAILSAFE_PWM don't get registers directly
2022-01-10 09:51:11 -05:00
Daniel Agar
d3301ba826
delete PWM_SERVO_GET_TRIM_PWM
2022-01-10 09:51:11 -05:00
Daniel Agar
8de59dad32
delete PWM_SERVO_SET_TERMINATION_FAILSAFE
2022-01-10 09:51:11 -05:00
Daniel Agar
1739ecc981
delete PWM_SERVO_SET_FORCE_FAILSAFE
2022-01-10 09:51:11 -05:00
Daniel Agar
649d3e3f55
delete PWM_SERVO_SET_DISABLE_LOCKDOWN/PWM_SERVO_GET_DISABLE_LOCKDOWN
2022-01-10 09:51:11 -05:00
Daniel Agar
b7ed4fd3e0
delete PWM_SERVO_SET_DISARMED_PWM
2022-01-10 09:51:11 -05:00
Daniel Agar
551a31ce2f
delete PWM_SERVO_SET_FAILSAFE_PWM
2022-01-10 09:51:11 -05:00
Daniel Agar
78b3d22471
lib/mixer_module: consume output_limit library
2022-01-10 11:59:55 +01:00
Daniel Agar
990d7c159d
pwm_out: cleanup and prep for linux compatibility
2021-12-28 11:04:00 -05:00
honglang
983867f9af
uavcan: support uavcan hygrometer
2021-12-27 12:13:09 -05:00
Beat Küng
72065c3d71
fix protocol_splitter: remove timeout, drop buffer if too full instead
...
The existing implementation had a flaw: when the buffer was getting full,
mavlink started to busy-loop, as the uart has data (poll returns immediately)
but no new data was read from the uart due to the buffer being full.
As rtps is running at lower prio, it never got the chance to read again,
making the problem even worse.
After 1s the timeout triggered and the buffer was cleared, so it recovered.
Instead of allowing for CPU spikes, we now immediately clear the buffer
(only as much as we have to), ensuring that new data is read from the uart.
2021-12-24 20:28:43 -05:00
Beat Küng
d1abdd0f8d
output drivers: add option to generate a separate output range reversing param
...
Makes it a bit easier to configure. Reversing by setting MIN > MAX is still
supported.
2021-12-24 20:06:13 -05:00
Beat Küng
1901edf13c
actuator_motors.msg: add reversible flags & implement in mixer_module
2021-12-24 20:06:13 -05:00
Daniel Agar
38af93085b
linux_pwm_out: use PWM_MAIN parameter prefix
...
- this keeps things simpler for now across the old and new output
configuration
2021-12-23 15:57:11 -05:00
Daniel Agar
a5f58d321e
boards: emlid_navio_default fix missing drivers/modules
2021-12-23 15:57:11 -05:00
Julian Oes
d2e931858d
px4io: remove unused cmake_policy
...
This should fix the build with older cmake versions.
2021-12-21 09:21:25 -05:00
Igor Mišić
2d680dfd1a
pps_capture: fix PARAM_PREFIX for boards with px4io (CONFIG_BOARD_IO)
2021-12-17 07:56:08 +01:00
Igor Mišić
89f828fba7
pps_capture: advertise for logging
2021-12-17 07:56:08 +01:00
Igor Mišić
17f5df2d3e
pps_capture: add argument guard
2021-12-17 07:56:08 +01:00
Beat Küng
f6ced71d26
pps_capture: make it configurable via output functions
2021-12-17 07:56:08 +01:00
Igor Mišić
0f60e7debf
pps_capture: add kconfig
2021-12-17 07:56:08 +01:00
Michael Schaeuble
064a602962
Add PPS capture message to logged topics, simplify timestamp logic and small cleanup
2021-12-17 07:56:08 +01:00
Michael Schaeuble
5ad8b84dec
Fix PPS based UTC timestamp in camera trigger and capture messages
...
The existing implementation has about 100ms difference to a reference clock. With the changes this error less than 25us.
- Use sensor_gps messages with hrt timestamps as RTC reference and not the system realtime clock. The PPS interrupt can then be aligned with the GPS clock system.
- Keep fallback based on system RTC when no PPS pulse was captured
2021-12-17 07:56:08 +01:00
Michael Schaeuble
ebb657bcf4
Fix camera trigger via MAVLink when camera capture feedback is enabled
...
- camera_trigger module always publishes the camera_trigger msg (independent of the camera feedback)
- Use camera_trigger msg and set the feedback flag
- Subscribing modules determine if the message is relevant based on the feedback message
2021-12-17 07:56:08 +01:00
Michael Schaeuble
3e4031cf0f
Set rtc_edge_time also in capture_callback
...
When using an FMU channel as PPS capture GPIO, the rtc_edge_time is now set as well. The delay between actual capture and callback is compensated with the elapsed time of the rtc clock.
2021-12-17 07:56:08 +01:00
Thomas Debrunner
43bc6db99e
PPS capture: Add a param to enable / disable PPS capture module. This is important, since it takes over an FMU pin which can no longer be used for actuator output.
2021-12-17 07:56:08 +01:00
Igor Mišić
298a8c4637
boards/fmu-v5x: allocating PPS pin
...
- start pps_capture before pwm_out
2021-12-17 07:56:08 +01:00
Igor Mišić
c6098ef3dd
camera_capture: update to use PPS correction for UTC time
2021-12-17 07:56:08 +01:00
Igor Mišić
8eca35111e
camera_trigger: update to use PPS correction for UTC time
2021-12-17 07:56:08 +01:00
Igor Mišić
72b1db4a63
pps_capture: implementation of pulse per second capture driver
2021-12-17 07:56:08 +01:00