Julian Oes
764af19da4
mavsdk_tests: bump MAVSDK version to v0.48.0
...
This might help with CI tests where we get RC loss because, presumably,
MAVSDK is not sending them in time.
3 years ago
Claudio Micheli
9d02851893
vmount: increase stack size to 2100
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
3 years ago
Julian Oes
90fe4b7a54
vmount: publish gimbal v2 protocol for v1 gimbals
...
This enables the use case where the gimbal v2 protocol is used
between the ground station and the drone, and the gimbal v1 protocol is
used between the drone and the gimbal.
3 years ago
Julian Oes
6d74b390d9
vmount: use absolute angle for location tracking
...
I'm pretty sure it makes more sense to use an absolute angle to track a
lat/lon location.
3 years ago
Julian Oes
d88f9353e8
vmount: improve debug message
...
This should help to figure out when gimbal commands don't work.
3 years ago
Julian Oes
f7c4034f3c
vmount: fix v1 frames with v2 input
...
It looks like the frames for pitch and roll were not set correctly when
v1 is used in v2 input.
3 years ago
Julian Oes
0ce4eae314
vmount: fix v1 frames for v1 input
...
This basically means that we want roll and pitch to be absolute, so
relative to the horizon.
3 years ago
Julian Oes
3c5bf497a3
esc_calib: remove unused variable
3 years ago
Julian Oes
a6431ab8f0
simulator: fix implicit-const-int-float-conversion
3 years ago
Daniel Agar
019eaf7038
multicopter: minimize dt jitter by using estimate timestamp_sample
3 years ago
Julian Oes
dcf69144cb
mavsdk_tests: fix type for mypy check
...
This was probably triggered due to a mypy update.
3 years ago
marcojob
2cfe08b3b1
small typo in vehicle_local_position msg
3 years ago
Igor Mišić
2d680dfd1a
pps_capture: fix PARAM_PREFIX for boards with px4io (CONFIG_BOARD_IO)
3 years ago
Igor Mišić
89f828fba7
pps_capture: advertise for logging
3 years ago
Igor Mišić
17f5df2d3e
pps_capture: add argument guard
3 years ago
Beat Küng
f6ced71d26
pps_capture: make it configurable via output functions
3 years ago
Igor Mišić
0f60e7debf
pps_capture: add kconfig
3 years ago
Michael Schaeuble
064a602962
Add PPS capture message to logged topics, simplify timestamp logic and small cleanup
3 years ago
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
3 years ago
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
3 years ago
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.
3 years ago
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.
3 years ago
Igor Mišić
298a8c4637
boards/fmu-v5x: allocating PPS pin
...
- start pps_capture before pwm_out
3 years ago
Igor Mišić
60a212f717
px4_arch: add PX4_MAKE_GPIO_EXTI
3 years ago
Igor Mišić
c6098ef3dd
camera_capture: update to use PPS correction for UTC time
3 years ago
Igor Mišić
8eca35111e
camera_trigger: update to use PPS correction for UTC time
3 years ago
Igor Mišić
72b1db4a63
pps_capture: implementation of pulse per second capture driver
3 years ago
Daniel Agar
43a04c9bca
fix PARAM_PREFIX for boards with px4io (CONFIG_BOARD_IO)
3 years ago
Daniel Agar
ecc2ca7f98
mathlib: int16_t negate explicitly handle both INT16_MIN and INT16_MAX
...
- technically negating INT16_MAX doesn't need special handling, but
this ensures any simple saturation logic downstream works by default
3 years ago
Daniel Agar
d59d16a6cd
drivers/accelerometer: adjust int16_t clipping threshold slightly
...
- consider data clipped/saturated if it's INT16_MIN/INT16_MAX or within 1
- this accommodates rotated data (|INT16_MIN| = INT16_MAX + 1) and sensors that may re-use the lowest bit for other purposes (sync indicator, etc)
3 years ago
Daniel Agar
ea29b45282
ekf2: enable mag check by default, but commander only warn
3 years ago
Daniel Agar
3fba7288af
ekf2: selector use hysteresis for healthy flag
...
- require that an instance is healthy continuously for >= 1s before
allowing it to be used
3 years ago
Thomas Debrunner
eb69f15d3a
health-flags: Increase health flags to 64 bit bit field to support extended sys status mavlink message
...
Add SYS_STATUS flag for parachute
3 years ago
Thomas Debrunner
37099f85b9
mavlink: Update to newest mavlink master
3 years ago
Silvan Fuhrer
e9b9176ce2
param translation: fix for FW_GPSF_LT and FW_GPSF_R
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Jukka Laitinen
ce6147f570
uORB: Remove transfer of memory allocation ownership to CDev
...
- Allocate and free the node name in uORBDeviceNode.
- Add protected build support by de-allocating the name with kmm_free, when
running in kernel side. strdup allocates from the kernel heap in NuttX kernel
space.
- Remove the CDev::unregister_driver_and_memory(), it is no longer used
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
25c10eb124
cdev: build & link fixes for NuttX protected build
...
- Always link to nuttx_fs for register/unregister_driver calls
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Daniel Agar
acdcc35392
tests: dataman fix ssize_t printf
3 years ago
alexklimaj
6133ef0d63
Dronecan fix beep driver
3 years ago
bresch
67a893ac6d
WelfordMean: remove unnecessary case for first sample
...
setting the mean to the sample value and then adding 0 is the same as
setting the mean to zero and then add the sample value divided by 1
3 years ago
bresch
5468841aa5
WelfordMean: add unit test
3 years ago
Daniel Agar
fc17797548
ekf2: delete obsolete _bad_vert_accel_detected
3 years ago
Daniel Agar
986cf288da
dataman: remove obsolete persistence and reset reason
3 years ago
Daniel Agar
ad1bfb5410
Tools/HIL/reboot.py retry every 90 seconds for up to 5 minutes
3 years ago
96moustafa
63189067f6
set the transponder_report message of uavs with no icao address to be their mav id
3 years ago
Daniel Agar
167edcc77b
simulator: add standalone sensor_gps_sim module
3 years ago
Daniel Agar
95b961c622
simulator: add standalone sensor_baro_sim module
3 years ago
Daniel Agar
4edfb4799f
simulator: add standalone sensor_mag_sim module
3 years ago
Daniel Agar
b71b908ac7
Tools/HIL: explain cmd, use monotonic time
3 years ago
Daniel Agar
0f6e30599c
Jenkins: hardware tolerate px4_fmu-v5_debug dataman failures for now
3 years ago