Commit Graph

18232 Commits

Author SHA1 Message Date
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
Andreas Antener 05f1da8c4a subscribe to land_detected topic 2016-05-11 17:29:50 +02:00
Andreas Antener af0c42d3d7 allow direct transition in standard vtol when landed 2016-05-11 17:29:50 +02:00
Beat Küng 42a9d5651f platform: some code cleanup for px4_{posix,qurt}_tasks.cpp
- __BEGIN_DECLS is for declarations not definitions
- getprogname() declaration is in err.h
2016-05-11 15:56:50 +02:00
Beat Küng 77c61260df px4_task_spawn_cmd: handle case properly when running out of unused taskmap items 2016-05-11 15:56:50 +02:00
Beat Küng d3068b4337 px4_task_spawn_cmd: fix memory leak on posix 2016-05-11 15:56:50 +02:00
Beat Küng 0aabe9b3bb add sd_bench command, enable it on the px4fmu-v4 & posix_sitl build target
Useful to test maximum sequential write speed to the SD Card
2016-05-11 15:00:40 +02:00
David Sidrane d7daab9620 Move the build log to nuttx directory 2016-05-11 14:59:36 +02:00
Julian Oes 7d64aa8057 ekf2: raise stack size on Snapdragon
It seems that the stack size was exhausted on Snapdragon.
2016-05-11 14:53:55 +02:00
Paul Riseborough 3179b12dd3 ecl: update library reference
removes use of vehicle arm status message
2016-05-11 14:53:55 +02:00
Paul Riseborough 163ad19957 msg: update documentation for estimator status 2016-05-11 14:53:55 +02:00