Lorenz Meier
df173d4d8a
Sensors: Do not update calibration when armed. Run at lower priority than attitude control and estimator
...
This ensures that the massive (several hundred params if temperature compensation is enabled) param load is not done in flight. We also lower the priority to ensure that attitude controllers and estimators which might consume sensor data directly execute immediately, which should reduce their latency.
2017-07-09 21:58:48 +02:00
Lorenz Meier
3bdd0e95dd
EKF2: Show time slip on console
2017-07-09 21:58:41 +02:00
Lorenz Meier
75faf5c7bd
Preflight checks: Increase accel warn limit range
2017-07-09 16:38:56 +02:00
Lorenz Meier
1a12326d7d
Reserve value in ENUM for simple mode
2017-07-09 14:43:24 +02:00
Lorenz Meier
099a6dfd3e
Mission feasibility checker: Improve output messages for humans
...
Text to speech will work better with these messages and some of them exceeded the 50 character limit.
2017-07-09 14:43:24 +02:00
Lorenz Meier
eb5b153d10
MAVLink app: send status text only if connected to something that can actually handle it.
...
This increases the chance that the operator gets to see the messages that the vehicle emitted before telemetry was connected.
2017-07-09 14:43:24 +02:00
Lorenz Meier
5a8062e646
MAVLink app: Provide function for connected state
...
If we have not received an inbound heartbeat we are probably not connected and so user-facing output (which is even buffered) should go only out once we are connected.
2017-07-09 14:43:24 +02:00
Lorenz Meier
4ca7187e42
Commander: Do not allow to set mission mode if the mission is failing feasibility checks. Provide clear feedback if telemetry is online and home is set about an invalid mission state.
2017-07-09 14:43:24 +02:00
Michael Schaeuble
d53598ed58
UAVCAN: Publish actuator outputs
2017-07-09 14:41:48 +02:00
Daniel Agar
61fd6f4c8a
uorb failure print topic name
2017-07-09 14:40:11 +02:00
Daniel Agar
e0aa2e2391
RTL reduce verbosity
2017-07-08 21:54:04 +02:00
Daniel Agar
fbebec5d0f
navigator log RTL messages and don't print global timeout
2017-07-08 21:54:04 +02:00
Daniel Agar
f396224d41
mag calibration add notifications to rotate
2017-07-08 21:54:04 +02:00
Daniel Agar
1a6a871689
commander properly set boot timestamp
2017-07-08 21:54:04 +02:00
Daniel Agar
b804616ad0
preflight check airspeed use differential_pressure
2017-07-08 21:54:04 +02:00
Daniel Agar
f11bb401f4
CMD_MISSION_START allow first_item=-1 to leave index unchanged
2017-07-08 19:49:52 +02:00
Lorenz Meier
49bbd0e58d
Navigator: Be less verbose
2017-07-08 19:36:58 +02:00
Lorenz Meier
d80be2e4ff
MAVLink: better output handling
2017-07-08 19:36:58 +02:00
Lorenz Meier
90fdc544fd
MAVLink app: Code style fix
2017-07-08 15:34:36 +02:00
Lorenz Meier
ddf32e14de
MAVLink app: More print improvements
2017-07-08 15:23:46 +02:00
Lorenz Meier
d15dd061f9
MAVLink app: More debug string formatting
2017-07-08 14:36:08 +02:00
Lorenz Meier
e8aa5a3172
MAVLink app: Fix non-enabled debug string output
2017-07-08 14:23:46 +02:00
Lorenz Meier
6f368f34d1
MAVLink: Remove non-required safety check
2017-07-08 13:59:35 +02:00
Lorenz Meier
8d8174ea0c
MAVLink command retransmission: Reduce RAM footprint and make debug output optional
2017-07-08 12:46:28 +02:00
Julian Oes
a13f23f244
timestamped_list: use const ref
2017-07-08 11:52:23 +02:00
Julian Oes
7e1e98b258
timestamped_list: fix comment syntax
2017-07-08 11:52:23 +02:00
Julian Oes
1576094d9f
mavlink_command_sender: use const ref
2017-07-08 11:52:23 +02:00
Julian Oes
893b7b5d46
mavlink_command_sender: instantiate in initialize
2017-07-08 11:52:23 +02:00
Julian Oes
c66af00753
mavlink_command_sender: fix NuttX build
2017-07-08 11:52:23 +02:00
Julian Oes
e6d31f951c
mavlink_command_sender: fix logic after first test
...
- change/add a few printfs so they make more sense
- don't accidentally ignore command_acks
- don't forward commands to the same component id, and don't forward
commands that are broadcast to all components (target component 0)
2017-07-08 11:52:23 +02:00
Julian Oes
af0107ae0a
mavlink: add class for command retransmission
...
This adds a class to allow for retransmission of outgoing commands.
The sent commands are kept in a timestamped list to check if they are
acked as required by the mavlink protocol.
If they are not acked within a timeout, they can be retransmitted.
2017-07-08 11:52:23 +02:00
Julian Oes
9854fc0d84
Set timestamp with vehicle commands
...
The vehicle_command uORB messages had the timestamp unset at 0.
2017-07-08 11:52:23 +02:00
ChristophTobler
a5e435808f
mavlink log if camera unsuccessful
2017-07-08 11:52:23 +02:00
Jan Liphardt
38fa6dcad5
Clipping of the battery current due to Int*Float
...
Note that Type buf_adc[i].am_data = int32_t, but everything else are floats. Suggest (float)(buf_adc[i].am_data), precisely as was done a few lines later for the voltage.
2017-07-08 10:23:36 +02:00
Matthias Grob
60c760280e
mc_pos_control: fix comment typo "hight"
2017-07-07 18:25:35 +02:00
Matthias Grob
b511ccd9fe
mc_pos_control: integrate complete order and limits of velocity setpoint calculation
...
- one warn_rate_limited was missing
- vel_sp_slewrate was in the wrong order for smooth slowdown/speedup on takeoff and landing
- slow_land_gradual_velocity_limit was replaced by calls to math::gradual
- smooth takeoff speed got controllable by user input
- comments were corrected
- an additional check for the sanity of velocity setpoints was added
2017-07-07 18:25:35 +02:00
Matthias Grob
1d7f760a96
mathlib, mc_pos_control: rename functions file and add gradual linear function
2017-07-07 18:25:35 +02:00
Dennis Mannhart
1c2d54397f
mc_pos_control: move constraints to the end
2017-07-07 18:25:35 +02:00
Dennis Mannhart
2758a4a6fa
mc_pos_control: add warn_rate limit function
2017-07-07 18:25:35 +02:00
Beat Küng
9141bf8386
replay: handle INFO_MULTIPLE & FLAG_BITS ULog messages
2017-07-07 17:06:48 +02:00
Beat Küng
c775b07b43
logger: use INFO_MULTIPLE for top & perf output
2017-07-07 17:06:48 +02:00
Beat Küng
209f220288
hardfault_log: move hardfault_store_ulog_filename to logger module
2017-07-07 17:06:48 +02:00
Beat Küng
b515873bee
ULog: add INFO_MULTIPLE & FLAG_BITS messages
...
This requires support in the parsers, and thus the ULog file version is
increased.
As long as no data is appended, both, existing pyulog & FlightPlot, can
still read the new logs (they will output a warning).
The replay module will print an error, but still continue.
2017-07-07 17:06:48 +02:00
Beat Küng
1be089cf0c
BBSRAM: add another partition and store the last ulog path
2017-07-07 17:06:48 +02:00
Beat Küng
18ea5ec1f8
logger: add git branch name to the log
2017-07-07 17:06:48 +02:00
Lorenz Meier
91144f502f
EKF2 build fix
2017-07-07 08:29:10 +02:00
Paul Riseborough
63cbce6bd3
ekf2: Increase RAM to remove stack space warnings
2017-07-06 22:20:48 +02:00
Paul Riseborough
ee75f0eb0e
ekf2: Use updated quaternion type def
2017-07-06 22:20:48 +02:00
Daniel Agar
1c7833e3b1
airspeed calibration simplify logic
2017-07-06 10:05:07 -04:00
Daniel Agar
eb067291bf
airspeed sensors apply offset separately
2017-07-06 10:05:07 -04:00