Igor Mišić
af2247bd94
mavlink: use dynamic camera comp id instead of hardcoded value
4 years ago
Dima Ponomarev
d08d0443bc
Add internal combustion engine status uavcan bridge and mavlink EFI_STATUS stream
4 years ago
Daniel Agar
713a1d08a3
sensors: add accel/gyro current priority to sensors_status_imu
...
- later the sensor priorities (user configurable) can be factored into the estimator selection criteria
4 years ago
TSC21
205d4400eb
add baro_bias_estimate to RTPS list
4 years ago
Oleg
8fbbf56c4d
microRTPS: fix setting UART communication flags
...
bitwise not should be used instead of logical not
4 years ago
bresch
54c7e74de3
EKF: add baro bias estimator using GNSS altitude
4 years ago
TSC21
e39e3b3418
events interface: chance uORB 'sequence' to 'event_sequence'
...
The reason is that sequence is an IDL reserved keyword, which results on failure when parsing with FastRTPSGen.
4 years ago
Beat Küng
e3972d563a
cmake: ensure generated source files exist before extracting events
...
Only needed for Makefile-based builds:
gmake[3]: *** No rule to make target 'src/modules/flight_mode_manager/FlightTasks_generated.hpp', needed by 'events/px4.json'. Stop.
4 years ago
Beat Küng
38f3b8d356
mavlink & system: add events interface
...
- sending protocol
- uorb event message & template methods for argument packing
- libevents submodule to send common events and handle json files
- cmake maintains a list of all (PX4) source files for the current build
(PX4 modules + libs), which is used to extract event metadata and
generate a json file
4 years ago
Daniel Agar
1b5e65df04
gyro_fft: change default length 1024 -> 512 to decrease latency
...
- change default FFT length (1024 -> 512)
- this doubles the update rate because half the number of samples are required for each
- decrease number of peaks (4 -> 3)
- so far 3 seems to be sufficient on most vehicles
- increase median filter window (3 -> 5)
- decrease SNR requirement (likely needs to be configurable)
4 years ago
Daniel Agar
a5ee28883a
gyro_fft: track FFT peaks and median filter frequency
4 years ago
Matthias Grob
b824f33ae9
battery: publish measured values also when battery not connected
4 years ago
Matthias Grob
9c0c85c9e2
battery_status: naming consistency current_filtered_a -> current_average_a
4 years ago
TSC21
4741ec25ce
microRTPS: increase base message ID space to 179
4 years ago
TSC21
0c5f2d3b8c
microRTPS: add missing header for PRIu32 and PRIu16 macros
...
Co-authored-by: squizz617 <seulbae@gatech.edu>
4 years ago
TSC21
084a992572
microRTPS: agent: only allow to whitelist the localhost when using FastDDS as the rmw
4 years ago
TSC21
79f7986715
apply ROS2 default memory management and publish mode QoS policies; make sure that SharedMemory is only used with FastDDS as the rmw
4 years ago
TSC21
d3a23cee40
microRTPS: agent: fix double free memory problem on SIGINT
...
It fixes also some minor issues when exiting the agent, including the printed stats
4 years ago
TSC21
6d5f12d2a2
microRTPS: client: add TX rate limiter
4 years ago
TSC21
ac2b38603c
microRTPS: client: add missing "-p" option for the UART poll timeout and use microsecs for the send/rcv thread sleeps
4 years ago
TSC21
0cc79f3e48
microRTPS: client: show diagnostic of current bandwidth usage on the 'status' option
4 years ago
TSC21
d6ee15596d
microRTPS: client: show diagnostic of average bandwidth usage on the 'status' option
4 years ago
TSC21
40462bfc1f
microRTPS: client: reduce name set by pthread_setname_np since Linux requires names (with NUL) to fit in 16 chars, otherwise returns ERANGE (34)
4 years ago
TSC21
773d81f208
microRTPS: client: fix send per allocated topic
4 years ago
TSC21
f2fad6d966
microRTPS: by default, when FastDDS >= 2.0, enable Shared Memory transport for the agent participants when the localhost network is enabled
4 years ago
TSC21
320b414511
microRTPS: client: match the code style from the PX4 Firmware
4 years ago
TSC21
63571b3e3f
microRTPS: agent: match the code style from the PX4 Firmware
4 years ago
TSC21
323ce797f8
microRTPS: allow communications only in the localhost network when ROS_LOCALHOST_ONLY env variable is set
4 years ago
TSC21
578e426e9e
microRTPS: set trajectory_waypoint to be sent only, as this is outgoing data with vehicle_trajectory_waypoint_desired
4 years ago
David Sidrane
026d36dee8
microRTPS:Use inttypes
4 years ago
David Sidrane
64db89ab20
px_generate_uorb_topic_helper: Use inttypes
4 years ago
Julian Oes
e828ba4288
commander: send parachute command on termination ( #17564 )
...
* commander: send parachute command on termination
This sends the DO_PARACHUTE command to parachute component.
* commander: fix lying comments and printf
* commander: use one flag for termination triggered
This merges the duplicate flags _flight_termination_triggered and
_flight_flight_termination_printed.
* commander: correct variable name
* commander: always send tune with parachute
* commander: fix target_component for parachute cmd
The previous changes were wrong in that all commands were now sent to
the parachute component which doesn't make any sense. Of course only the
parachute command should be sent there.
4 years ago
bresch
514845592b
en-/disable mc position controller using explicit control mode flag
4 years ago
RomanBapst
b06b46b224
log raw airspeed derivative, pitch setpoint and airspeed innovation for TECS
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
4 years ago
Daniel Agar
2a792ca201
gyro_fft: add simple SNR requirement and reduce number of peaks
4 years ago
Nuno Marques
f9fe0e3746
ROS2/microRTPS: Add support for ROS2 Galactic and ROS2 Rolling ( #17664 )
...
microRTPS: generate_microRTPS_bridge: add support for ROS2 versions
* Galactic
* Rolling
4 years ago
Damien SIX
e4f235001b
fix timesync for timestamp sample (including SFINAE detection)
4 years ago
RomanBapst
3b27864e53
vehicle_status: added field for geofence violation
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
4 years ago
RomanBapst
269ce07cb5
land detector: log more states in order to facilitate debugging ground contact state
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
4 years ago
Thomas
ab10e68a40
update Quadchute trigger from mavlink PR 1569
4 years ago
Thomas
bf9758247b
add VEHICLE_VTOL_STATE_QC and remove hardcoding
4 years ago
Julian Oes
71bd35fcaa
mavlink: keep track of seq for any component
...
Instead of only keeping track of the sequence ID of specific "supported"
components, we now keep track of any sysid/compid of an incoming
message. Before this change, unknown components (such as jMAVSim) would
completely screw up the mavlink message stats and create confusion (at
least in my case).
With this change we currently keep track of up to 8 other components.
Once we reach the limit, we will print a warning.
4 years ago
Claudio Micheli
371fa98579
Commander/preflight checks: Add monitoring to ESC failures
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
4 years ago
Matthias Grob
29e07b1e52
MulticopterPositionControl: publish stricter tilt limit during takeoff
4 years ago
mcsauder
3b72f3b641
Create publish_status() method in the heater driver, add a status field to indicate if the temperature setpoint has been met within 2.5C, breakout update_params() method from the Heater::Run() method and simplify logic.
4 years ago
Barcis, Michal
7053919a9f
fixed micrortps_agent usage description
4 years ago
CUAVmengxiao
45b9e18195
UAVCANv0: add CUAV smart battery support
4 years ago
Daniel Agar
39c96a8884
gps add device_id
4 years ago
Julian Kent
5c5ec1a0ea
Receive telemetry_status, send vehicle_trajectory_waypoint_desired
4 years ago
Julian Kent
b5a64f957e
Update RTPS messages to match what is needed for PX4/Avoidance
4 years ago