18042 Commits

Author SHA1 Message Date
Daniel Agar
be391b4fe5 unittests stop building in tree 2016-05-13 13:01:41 +02:00
Daniel Agar
eae726e345 FW add mavlink NAV_CONTROLLER_OUTPUT 2016-05-13 12:56:04 +02:00
Lorenz Meier
5fb1de906c commander: Better reporting and convenience for commander 2016-05-13 11:39:40 +02:00
Lorenz Meier
a700b02f77 Navigator: Do not publish an empty triplet 2016-05-13 11:03:35 +02:00
Lorenz Meier
8b41ddd224 Commander: Better status feedback 2016-05-13 11:03:18 +02:00
Lorenz Meier
f204a145c7 POSIX: Improve console management 2016-05-13 10:35:19 +02:00
Lorenz Meier
a40e1ea269 sdlog2: Properly handle pragma 2016-05-13 10:35:07 +02:00
Lorenz Meier
623ef6d67c MC pos control: Use default initializers 2016-05-13 10:34:47 +02:00
Lorenz Meier
d89937502c MAVLink: Clean up stream init 2016-05-13 10:34:25 +02:00
Lorenz Meier
db5212a209 Land detector: add missing init 2016-05-13 10:34:13 +02:00
Julian Oes
89661b2d9a df_mpu9250_wrapper: use all accel/gyro data
Use the data which has been filtered by the integrator for the
instantanous values instead of only 1 out of 32 samples.

This is to better support estimators and modules other than ekf2 which
uses the integrated gyro/accel values anyway.
2016-05-12 12:41:40 +02:00
Julian Oes
080a136e50 integrator: add function to return filtered data
Instead of only being able to get the integral and its integration time,
it can also be handy to get the integral divided/differentiated by the
the integration time. This data is then just filtered by the integrator.
2016-05-12 12:41:40 +02:00
Julian Oes
54b3995175 load_mon: added missing include
USEC2TICK was not found.
2016-05-12 08:16:36 +02:00
Julian Oes
a69393b191 commander: fix shadowing errors 2016-05-12 08:16:36 +02:00
Julian Oes
352d099249 commander: fix merge conflict mistake 2016-05-12 08:16:36 +02:00
Julian Oes
30b6f9ff6c sdlog2: more merge conflict resolving 2016-05-12 08:16:36 +02:00
Julian Oes
afbdec1742 mavlink: whitespace 2016-05-12 08:16:36 +02:00
Julian Oes
b965554bdd sdlog2: move main state, fix formatting, fix bug
Since the vehicle_status topic has been split up, we can't publish it
together with the the split cpuload and commander_state topics.

Therefore, the log field STAT.MainState will change to COMM.MainState
because it is only the internal commander state. Important to the
outside is STAT.NavState.

Likewise, the log field STAT.Load becomes LOAD.CPU.
2016-05-12 08:16:36 +02:00
Julian Oes
43d76f5e17 load_mon: use work queue instead of a whole task 2016-05-12 08:16:36 +02:00
Julian Oes
3451e901a5 rcS: start load_mon on NuttX startup 2016-05-12 08:16:36 +02:00
Julian Oes
a94a409f5f commander: got rid of leftover system_load 2016-05-12 08:16:36 +02:00
Julian Oes
888b517d62 load_mon: correct copyright year 2016-05-12 08:16:36 +02:00
Julian Oes
939f04c80d load_mon: small comment fix 2016-05-12 08:16:36 +02:00
Jonathan Challinger
e5ce9809c5 cmake: add load_mon wherever commander is built 2016-05-12 08:16:36 +02:00
Jonathan Challinger
01305da7e7 sdlog2: subscribe to and use cpuload message instead of vehicle_status 2016-05-12 08:16:36 +02:00
Jonathan Challinger
7ec37d5ffd mavlink: subscribe to and use cpuload message instead of vehicle_status 2016-05-12 08:16:36 +02:00
Jonathan Challinger
535cea4e77 commander: remove load from vehicle_status message 2016-05-12 08:16:36 +02:00
Jonathan Challinger
749b598af1 load_mon: initial commit 2016-05-12 08:16:36 +02:00
Julian Oes
5ee865a6eb eagle: use a bigger buffer for sdlog2 2016-05-11 21:30:03 +02:00
Julian Oes
c7c786d567 Revert "posix-configs: conflicting args for sdlog2"
This reverts commit aac9a584aa5fa26ea93d7583305c44d50608ecfa.
2016-05-11 21:30:03 +02:00
Julian Oes
f6845df21f sdlog2: don't log an empty sensor_combined topic 2016-05-11 21:30:03 +02:00
Julian Oes
c8d888cdc1 sdlog2: fix wrong if (facepalm!) 2016-05-11 21:30:03 +02:00
Julian Oes
91cc52f60e posix-configs: conflicting args for sdlog2 2016-05-11 21:30:03 +02:00
Julian Oes
e00101e5ab sdlog2: remove duplicate orb_copy 2016-05-11 21:30:03 +02:00
Julian Oes
871c112699 sdlog2: log normal data and replay on Snapdragon
In SITL and on Snapdragon, the logging performance is high enough, so we
can log both: the usual topics, as well as the ekf2 replay fields.

Note that the ekf2 replay still needs to be enabled via param.
2016-05-11 21:30:03 +02:00
Daniel Agar
194b48b50a srcscanner.py replace windows slashes 2016-05-11 18:51:39 +02:00
Daniel Agar
8e130c878c system_params.c param metadata 2016-05-11 12:30:06 -04:00
Daniel Agar
845b4c032c battery_params.c param metadata 2016-05-11 12:30:04 -04:00
Daniel Agar
ec519a33b3 navigator_params.c param metadata 2016-05-11 12:30:04 -04:00
Daniel Agar
c5d53c4ee6 mission_params.c param metadata 2016-05-11 12:30:04 -04:00
Daniel Agar
731f633d3e gpsfailure_params.c param metadata 2016-05-11 12:30:00 -04:00
Daniel Agar
0fbf12a021 datalinkloss_params.c param metadata 2016-05-11 12:29:57 -04:00
Daniel Agar
331456f831 mc_pos_control_params.c param metadata 2016-05-11 12:29:54 -04:00
Daniel Agar
fc636b61b0 fw_pos_control_l1_params.c param metadata 2016-05-11 12:29:51 -04:00
Daniel Agar
b471d94069 fw_att_control_params.c param metadata 2016-05-11 12:29:49 -04:00
Daniel Agar
a1a1a515db commander_params.c param metadata 2016-05-11 12:29:47 -04:00
Daniel Agar
91f1ac5c88 runway_takeoff_params.c param metadata 2016-05-11 12:29:44 -04:00
Daniel Agar
72d296fe65 launchdetection_params.c param metadata 2016-05-11 12:29:40 -04:00
Andreas Antener
6ebb2079e0 use new method for instant transition in tiltrotor 2016-05-11 17:29:50 +02:00
Andreas Antener
1a66155d8a use new method for instant transition in tailsitter 2016-05-11 17:29:50 +02:00