Daniel Agar
2a58c7a28c
EKF2 and replay add all consumed messages to ekf2_timestamps and refactor
7 years ago
Daniel Agar
07edec282e
replay update sensor_combined fields
7 years ago
Daniel Agar
3b5b12e1d1
move baro and magnetometer data out of sensor_combined
7 years ago
Paul Riseborough
3e6ba1d541
simulator: Use baro pressure direct from simulator
7 years ago
Daniel Agar
5dc23def2a
move pressure altitude from baros to sensors module
7 years ago
Daniel Agar
bdf4f19867
enable -fno-math-errno as we never check errno ( #9281 )
...
- disables setting of the errno variable as required by C89/C99 on calling math library routines
7 years ago
Mohammed Kabir
28f9b38919
mavlink : fix pointer for main_mode and sub_mode
7 years ago
Oleg Kalachev
1b1617b5a0
Add new mode AUTO_PRECLAND
7 years ago
Beat Küng
f02ef20a23
commander: set timestamp for vehicle_command publication
7 years ago
acfloria
0caa4dc171
Mavlink: Don't use a packed struct as input for the convert_limit_safe function
...
- Addional small cleanup of the iridium driver and the include guards of mavlink module header files
7 years ago
acfloria
477a4e7ec8
MavlinkReceiver: Don't start MissionManager in IRIDIUM mode
7 years ago
acfloria
41de588a73
Move HIGH_LATENCY2 stream to separate file and update some comments"
7 years ago
acfloria
fb1bb7a769
Move the SimpleAnalyzer to a separate file
7 years ago
acfloria
ae807fc189
Move VEHICLE_CMD_CONTROL_HIGH_LATENCY ack to commander
7 years ago
acfloria
975d7ddcb2
IridiumSBD: Clean up MavLink message parsing
7 years ago
acfloria
f1a6aecb4d
IridiumSBD: Log tx buffer reset in the telemetry_status instead of a status text
7 years ago
acfloria
53fdbb6c04
Remove unnecessary newlines
7 years ago
acfloria
219980cec1
Commander: Combine telemetry variables into struct
7 years ago
acfloria
6f0d3ffe9b
Mavlink: Add acknowledge for VEHICLE_CMD_CONTROL_HIGH_LATENCY
7 years ago
acfloria
2a5c7efd8d
Mavlink: Use filtered update rate for HIGH_LATENCY2 stream instead of main loop delay
7 years ago
acfloria
e9dde721f7
Commander: Remove Mavlink from CMakeFile
7 years ago
acfloria
8c0450b483
revert v2 cmake changes
7 years ago
acfloria
b95d65df53
Commander: Fix bug when changing to high latency telemetry
...
Due to the old heartbeat of the high latency telemetry when activating it after flying sufficiently long in normal telemetry it is first detected as lost until the first message is sent.
By updating the heartbeat to the current time on switching this issue is avoided.
Also includes a small style fix for the HIGH_LATENCY2 stream
7 years ago
acfloria
1124a397f2
Commander: Move telemetry logic to separate functions
7 years ago
acfloria
443a4016af
Commander: Improve handling and generating of VEHICLE_CMD_CONTROL_HIGH_LATENCY
7 years ago
acfloria
da57dbbce0
Increase the MavLink module stack size
7 years ago
acfloria
b66b997c66
IridiumSBD: Robustify state machine and fix format
...
- Check if changing to a non standby state if the current state is the standy state and no change is already scheduled.
- Add prefix _ to all class variables
7 years ago
acfloria
63cb895a1d
MavlinkStream: Ensure that not multiple messages are sent after some time sending nothing
7 years ago
acfloria
0e89a6b8bd
IridiumSBD: Do not allow stopping the driver when the device is used to prevent hardfault
7 years ago
acfloria
d4f703bde8
IridiumSBD: Improve TX buffer handling
...
- Allow using the full buffer size (340 bytes)
- Add tx mutex for sbd session to avoid dropping message which are written during an sbd session
7 years ago
acfloria
28da1492d3
IridiumSBD: Only write to modem if new data arrived
7 years ago
acfloria
44937c3a99
Iridiumsbd driver: Publish log message when TX buffer is deleted
7 years ago
acfloria
47567c5c24
Improve IridiumSBD TX buffer handling
...
- Every time data is written to the iridium module all previous untransmitted data is overwritten
- The buffer is reset only on the following conditions
- A sbd session is successfully completed
- An incoming mavlink message would result in less than SATCOM_MIN_TX_BUF_SPACE free bytes after it is written
- Any other incomming data would result in less than SATCOM_MIN_TX_BUF_SPACE free bytes after it is written to the buffer.
7 years ago
acfloria
6c3857a147
Remove exception for command acknowledge in mavlink transmitting
7 years ago
acfloria
f5a66782e5
Reduce required stack for HIGH_LATENCY2
7 years ago
acfloria
ebb5ec7c46
Fix bug when ISBD parameters were too large
7 years ago
acfloria
edd337880d
Improve message handling in mavlink IRIDIUM mode
...
- Do not send any mission updates as they are handled within HIGH_LATENCY2
- Always send a command acknowledge even if transmitting is not enabled
7 years ago
acfloria
32815dc1d3
Only generate the HIGH_LATENCY2 message if transmitting is allowed
7 years ago
acfloria
22e234724f
Update timestamp for last sent message im mavlink stream only if the message was sent
7 years ago
acfloria
1fd8b681a0
Transmit one message over high latency telemetry on boot
7 years ago
acfloria
392af4fbb6
Small improvements for the IridiumSBD driver
7 years ago
acfloria
e061b1a3a5
Do not enable hil for high latency mavlink
7 years ago
acfloria
e01763a7c7
Set the HIGH_LATENCY2 stream to a constant rate
7 years ago
acfloria
17a157b9da
Adopt high latency switching to new MAV_CMD design
7 years ago
acfloria
fa1586249a
Fixes IridiumSBD driver bug when transmitting data
7 years ago
acfloria
ce1b908714
Adopt mavlink stream to new HIGH_LATENCY2 definition
7 years ago
acfloria
78950f2b39
Fix format and remove ets driver from fmu-v2 build
7 years ago
acfloria
cbe75188e9
Add the HighLatency2 mavlink stream
7 years ago
acfloria
75ed9b002b
Add the SimpleAnalyzer to generate messages for MAVLink streams
7 years ago
acfloria
a026575e37
commander: Fix for qurt and improve high latency switch logic
7 years ago