Beat Küng
51add81f6b
bmi160: set accel range to 16g
8 years ago
Beat Küng
4d7ed14606
unittests: add PARAM_NO_AUTOSAVE definition
...
Seems that the work queue is not available for the tests.
8 years ago
Beat Küng
2946aafc2b
cmake configs: add -DPARAM_NO_AUTOSAVE for esc32, px4esc, px4cannode, s2740vc
...
These configs do not have the work queue enabled.
8 years ago
Beat Küng
044a767235
param: add PARAM_NO_AUTOSAVE: if defined, do not depend on LP work queue
...
Some NuttX configs do not have the work queues enabled.
8 years ago
Beat Küng
b5bb5cffc8
gps: check for allocation failure & avoid busy loop
8 years ago
Beat Küng
1be639ec46
temperature_calibration: turn off param autosave
8 years ago
Beat Küng
43afb8d41e
sensor calibration: remove param_save_default() calls
8 years ago
Beat Küng
4b18f8ea46
LandDetector: remove param_notify_changes()
...
not needed anymore because of autosave
8 years ago
Beat Küng
f256d03364
param command: remove param_save_default() calls
...
Not needed anymore due to autosave
8 years ago
Beat Küng
dffba3e03b
param: move variable definitions to the top of the file
8 years ago
Beat Küng
a0e2b0c5a2
param: add param_control_autosave to enable/disable autosave
8 years ago
Beat Küng
f3e9739ab0
param export: use writer lock
...
to protect against concurrent writes to the same file
8 years ago
Beat Küng
a5cdff06d5
param: implement rate-limited autosave
...
- add a saving delay of 300ms
- save at most once every 2 seconds
8 years ago
Beat Küng
7c43689ddc
commander: remove param autosave
8 years ago
Beat Küng
f179049e95
replay: ignore the ULogMessageType::INFO message
...
This got introduced the the addition of the perf counter to the log.
Fixes the error:
unknown log message type 73
8 years ago
Beat Küng
c7d9a7a6d1
mavlink_log_handler: fix potential buffer overflow
8 years ago
Beat Küng
b0ee1579a9
local_position_estimator: fix typo in params
8 years ago
Beat Küng
04303dcf72
PreflightCheck: use orb_unsubscribe instead of px4_close
8 years ago
Beat Küng
ecb0dc2bc4
IridiumSBD: use strncpy instead of strcpy
8 years ago
Beat Küng
9be11c048a
batt_smbus: fix string length, use correct delete[] for array
8 years ago
Beat Küng
d9dac8a6a8
Tools/px_process_params.py: set executable bit
8 years ago
Beat Küng
4d62dd893b
tap_esc: handle lockdown & manual_lockdown -> kill switch
8 years ago
Beat Küng
96c40d3ce9
tap_esc: improve cleanup & initialization code
8 years ago
ChristophTobler
7aea4a33c0
use new logger for all eagle configs
8 years ago
ChristophTobler
3d1a10d4f2
Use new logger for Snapdragon Flight
8 years ago
Hamish Willee
0ea331d5c4
Add markdown (HTML) output format for parameters
8 years ago
Daniel Agar
a6eb0053c5
TECS default FW_T_HRATE_FF 0.8
8 years ago
Daniel Agar
027e8ee8c0
TECS remove unused and fix style
8 years ago
Daniel Agar
22d0e507c6
TECS fix height demand change
8 years ago
Beat Küng
bc8b36a986
gps: update driver submodule
8 years ago
Dennis Shtatnov
6b2f5970eb
FMU get initial values of parameters
8 years ago
Sander Smeets
0158f1d506
VTOL Standard transition improvements ( #6904 )
...
* FW actuators fully on the entirety of front and back transition
* back transition ramp up to full MC weight half way through back transition
* increase maximum front and back transition times
* navigator don't reset transition altitude
8 years ago
Jonathan Lee
1d681b0356
Update URL in airspeed calibration error message
...
When a FW/VTOL system detects a missing airspeed sensor, it produces an error message.
This patch uses the new relevant URLs in the PX4 documentation.
Fixes #4549
8 years ago
Mohammed Kabir
d50a0c4323
pwm : fix code style
8 years ago
Mohammed Kabir
f915896413
pwm : run update only on NuttX
8 years ago
Mohammed Kabir
e8e4e5be49
land detector : add stbs for altitude
8 years ago
Lorenz Meier
1adbf37cbe
PWM command: Do not use return value of read
8 years ago
Lorenz Meier
dbd065a307
Add PWM out sim trim settings
8 years ago
Lorenz Meier
306d4b8817
Makefile: Add Gazebo clean step
8 years ago
Lorenz Meier
5f135acf33
Land detector: Add mode for rovers
8 years ago
Lorenz Meier
bbd1906dfb
Add Rover SITL config
8 years ago
Lorenz Meier
63a84900e6
Add rover model
8 years ago
bharath374
6e64bff494
Updated PID gains in 200qx config file
8 years ago
FantasyJXF
d1c3b771ee
Update navigator_main.cpp
...
fix a spell error
8 years ago
Beat Küng
2a175aa2f9
logger: use nullptr instead of NULL
8 years ago
Beat Küng
bfcbe4b6c3
log_writer_file: rename perf counters
...
To be more consistent with the rest of the system
8 years ago
Beat Küng
190c14c186
logger: add preflight & postflight process usage & perf counters to the log
...
For the process usage: we need to measure over a certain period of time,
then we can use the results. To avoid blocking, this does:
- after log is started, initialze the load counters, then one second later
add the results to the log
- after disarming: continue logging for one more second, then add the process
load to the log and stop logging.
- to avoid a delay, 'logger stop' will stop immediately and not log
postflight process usage.
8 years ago
Beat Küng
e75f5a4642
perf_counter: add perf_print_counter_buffer & perf_iterate_all
...
These can be used to print the perf counters to a buffer.
8 years ago
Beat Küng
446c734edc
perf_counter: use a mutex to protect concurrent access to the perf_counters linked list
...
perf_counters is read from and written to by different threads and thus
requires synchronization. Without it we risk accessing invalid memory.
There are still remaining issues (see comment in code), they will not lead
to a crash however.
8 years ago
Beat Küng
4b01e5b6b6
printload: add print_load_buffer() method
...
Instead of printing to an fd, this prints to a buffer and calls a callback
for each line. To avoid code duplication, the print_load has been refactored
to print to a buffer first, then print to an fd. The overhead is not
noticable, and the behavior of print_load is unchanged.
8 years ago