alessandro
51ee9eaaf4
typo
2018-07-05 14:17:55 +02:00
Alessandro Simovic
11933ac239
rc_loss_alarm: removed unused var
2018-07-05 14:17:55 +02:00
Alessandro Simovic
155089c800
Addressed review comments from #9769
2018-07-05 14:17:55 +02:00
Alessandro Simovic
df257c6555
Added parameters for enabling/disabling specific event tasks
2018-07-05 14:17:55 +02:00
Alessandro Simovic
1982957bef
Added/moved namespaces in events module
2018-07-05 14:17:55 +02:00
Alessandro Simovic
c684275018
moved rc_loss_alarm into the event module
2018-07-05 14:17:55 +02:00
Daniel Agar
9ce83f2208
fix all sign-compare warnings
2018-07-01 09:36:55 +00:00
Daniel Agar
cf74166801
double promotion warning fix or ignore per module
2018-07-01 09:36:55 +00:00
Beat Küng
13ab5ed0d0
px4_main_t: fix method declaration throughout the code base
...
px4_main_t is defined as:
typedef int (*px4_main_t)(int argc, char *argv[]);
which matches with the definition in NuttX, given to task_create
2018-05-09 07:59:46 +02:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Beat Küng
90513e719e
ASSERT: remove some inappropriate asserts
...
Since assertions lead to crashes, we need better failure handling. In all
the cases in this patch, the assert is not required.
All the ones with the task id should be replaced with the module base
class.
Ah yes, and this reduces flash space, since the ASSERT macro will expand to
a printf that contains the source file name.
2018-04-11 07:47:06 +02:00
yinjiajie
adfa795b79
polyfit.hpp : modify xn to xm
2018-01-07 20:44:52 +01:00
yinjiajie
42b4156bae
polyfit.hpp : modify n to m+1
2018-01-07 20:44:52 +01:00
Beat Küng
8ec59f0bc9
status_display: remove unused vehicle_attitude topic
2017-10-24 13:15:14 +02:00
ChristophTobler
9be8d6acc9
add subscriber handler and status displays
2017-10-24 13:15:14 +02:00
Beat Küng
353caec1af
temperature_calibration: check if no sensor is found
2017-10-07 10:57:53 +02:00
Daniel Agar
91cda08081
temperature calibration coverity fix 141891
2017-09-16 21:28:24 +01:00
Daniel Agar
8ddd071f18
temperature_calibration coverity fix 141892
2017-09-16 21:28:24 +01:00
Daniel Agar
e15afcca7a
vehicle_command commands are uint16, not uint32
2017-09-08 09:06:30 +02:00
Daniel Agar
9b5fe8c476
ignore -Wsign-compare per module
2017-09-07 10:27:36 +02:00
José Roberto de Souza
4462869432
Add support to new fields in command_ack
2017-08-19 09:04:52 +02:00
José Roberto de Souza
925efe990d
Initialize all outgoing vehicle_command_ack_s and vehicle_command_s
...
This will initialize those structs with zero in all fields not set
and all fields set will only be change once to the final value not
wasting CPU time zeroing it.
This will guarantee that no non-unitialized structs will have
a trash value on from_external causing it to be sent to the
MAVLink channel without need it.
2017-08-08 21:46:30 +02:00
José Roberto de Souza
a8cfd6f36a
msg: Use the correctly data types on vehicle_command
...
Lets save a few bytes using the right data types.
2017-08-08 21:46:30 +02:00
Lorenz Meier
f4eaea99c5
Temp cal: Use correct constants
2017-08-01 12:46:59 +02:00
Beat Küng
8d7481f9ac
load_mon: use ModuleBase & add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
3b64be44f4
ModuleBase: add wait_until_running() method
2017-07-14 11:57:11 +02:00
Beat Küng
053eb12329
Module documentation: switch to Markdown
2017-07-14 11:57:11 +02:00
Beat Küng
5bdbfa9b5c
send_event: convert to use ModuleBase
2017-07-14 11:57:11 +02:00
Beat Küng
1be639ec46
temperature_calibration: turn off param autosave
2017-04-06 11:49:03 +02:00
Beat Küng
30841ee6bf
send_event: separate initialization and wait until started for 'send_event start_listening'
2017-03-12 00:08:35 +01:00
Beat Küng
1177ec91e5
temperatoru_calibration: reformat comments to use doxygen style
2017-03-12 00:08:35 +01:00
Beat Küng
7cb291aa62
temperature_calibration: use a define for error code -110
2017-03-12 00:08:35 +01:00
Beat Küng
38156d862f
temperature_calibration: add led indication
...
- starts with yellow blinking
- turns led to solid according to progress
- blink red on error, green on success
2017-03-12 00:08:35 +01:00
Paul Riseborough
ed5c8913ad
events: update documentation for polyfit algorithm
2017-02-20 07:53:07 +01:00
Beat Küng
1a81b64d49
VEHICLE_CMD_PREFLIGHT_CALIBRATION: update temperature_calibration param definition
2017-02-17 23:01:25 +01:00
Paul Riseborough
72633ad4c8
events: update documentation for polyfit algorithm
2017-02-16 22:17:47 +01:00
Siddharth Bharat Purohit
ab465744f1
temp_cal: add math explanation for polynomil fit algo
2017-02-16 09:34:19 +01:00
yaoling
0e34de08fb
Update send_event.cpp
...
do same as command module
2017-02-16 09:33:16 +01:00
Paul Riseborough
1f4155c208
events: fix code style issues
2017-02-12 09:21:37 +01:00
Paul Riseborough
36f83e46ee
events: abort calibration if starting temperature is too high
2017-02-12 09:21:37 +01:00
Paul Riseborough
22c8c59829
Thermal Calibration - add parameter required to control max starting temperature
2017-02-12 09:21:37 +01:00
Paul Riseborough
f3d30564ed
events: don't start baro calibration until specified temperature achieved
2017-02-12 09:21:37 +01:00
Paul Riseborough
e75f2b9cf7
events: don't start accel calibration until specified temperature achieved
2017-02-12 09:21:37 +01:00
Paul Riseborough
cdf80a868a
events: don't start gyro calibration until minimum temperature achieved
2017-02-12 09:21:37 +01:00
Paul Riseborough
c901c4b39e
Thermal Calibration - add parameter required to control minimum starting temperature
2017-02-12 09:21:37 +01:00
Paul Riseborough
693cc4a533
Update SYS_CAL_TEMP parameter name and description
...
We will be adding another parameter to set min starting temp, so this name needs to be made less generic.
Fixes typographical errors in the description
2017-02-12 09:21:37 +01:00
Lorenz Meier
7fbc71f054
send event: Do use nullptr, not NULL
2017-02-04 14:46:51 +01:00
Lorenz Meier
bf26bec46c
Fix gyro init
2017-02-04 10:38:11 +01:00
Lorenz Meier
72156fe9c1
Temp cal: Fix matrix initialization
2017-02-04 08:54:15 +01:00
Beat Küng
ea4d3d970b
temperature_calibration: make sure to save the params after the process
2017-02-03 13:57:48 +01:00