Commit Graph

2327 Commits

Author SHA1 Message Date
Jean Cyr cd9a72e391 Free data manager work items the same way they were allocated
Since data manager work items are allocated in groups of 8, they need to
be freed the same way should the manager need to stop.
2014-05-13 20:24:19 -04:00
Jean Cyr 8d3fed0944 Reduce potential dataman memory fragmentation
The data manager dynamically allocates relatively small work item blocks
on an as needed basis. It never frees these, instead maintaining then in
a list of available block for reuse when needed. Even if these blocks
are small, the are required at non-deterministic times and can end up
scattered in memory thus causing memory fragmentation. In order to
mitigate this problems work item blocks are allocated in groups of 8 in
contiguous memory to reduce the number of scattered memory allocations.
In reality, based on current usage, rarely will more than one group of 8
be allocated.
2014-05-13 19:59:44 -04:00
Thomas Gubler 5aea635a89 Merge remote-tracking branch 'upstream/master' into mtecs
Conflicts:
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
2014-05-13 21:25:08 +02:00
Ash Charles e5508a1aa0 Add Gumstix AeroCore device
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.

[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 09:41:41 -07:00
Lorenz Meier c9162f428a sdlog2: Remove an unreachable comparison 2014-05-13 10:53:54 +02:00
Lorenz Meier c04064fd6a sdlog2: Log minimalistic GPS SNR for first 16 satellites 2014-05-13 10:53:18 +02:00
Lorenz Meier 178a3e8567 Merge pull request #927 from PX4/ram_cleanup
Ram cleanup
2014-05-13 01:10:05 -07:00
Thomas Gubler 8f6cd3a3ae Merge remote-tracking branch 'upstream/master' into manualcontrolrename
Conflicts:
	src/modules/fw_att_control/fw_att_control_main.cpp
2014-05-13 09:28:46 +02:00
Lorenz Meier 80ecaf7946 Merge pull request #931 from PX4/fwtrim
fw att control: manual setpoint: fix comment and trim sign
2014-05-13 00:04:46 -07:00
Thomas Gubler bafa344dcb fw att control: manual setpoint: fix comment and trim sign 2014-05-13 09:00:12 +02:00
Lorenz Meier 965b42fe96 Merge pull request #926 from ultrasystem/patch-2
Output a debug string is Invalid @ parameter #1
2014-05-12 23:58:35 -07:00
Lorenz Meier ec409a1337 EKF / Paul Riseborough: Added guards for mag and airspeed innovations 2014-05-13 08:53:09 +02:00
Lorenz Meier 51e5a73a7e mavlink: Removed static buffers where no static buffers where necessary 2014-05-12 22:10:52 +02:00
Lorenz Meier 95e6fc30e2 navigator: Removed static where no static should have been used 2014-05-12 22:10:28 +02:00
ultrasystem ad51b4c24b Update paramters for warnx() 2014-05-12 23:08:34 +08:00
Lorenz Meier 157c360caa Merge pull request #894 from PX4/yawrate_limit
mc_att_control: MC_YAWRATE_MAX parameter added
2014-05-12 06:37:08 -07:00
ultrasystem db2b85cbd4 Output a debug string is Invalid @ parameter #1
line 143 may be crash or buffer overflow. because the argument must is a pointer as char type  that and have a valid buffer
2014-05-12 21:17:19 +08:00
Thomas Gubler 47d21f0c57 Merge pull request #744 from thomasgubler/fw_landing_rangefinder
Fw landing rangefinder
2014-05-12 14:52:33 +02:00
Thomas Gubler 15699549a2 manual control setpoint: add comment about sign 2014-05-12 13:35:11 +02:00
Lorenz Meier 6906dc4eda Minor improvements to estimator 2014-05-12 11:23:48 +02:00
Thomas Gubler 7c75f61863 Merge remote-tracking branch 'upstream/master' into manualcontrolrename
Conflicts:
	src/modules/commander/commander.cpp
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
	src/modules/uORB/topics/manual_control_setpoint.h
2014-05-12 09:39:52 +02:00
Thomas Gubler 8cbd38061c sensors: use new manual control setpoint variable names 2014-05-12 09:24:49 +02:00
Thomas Gubler 2999182952 mc pos control: use new manual control setpoint variable names 2014-05-12 09:24:22 +02:00
Thomas Gubler de4c456196 mc att control: use new manual control setpoint variable names 2014-05-12 09:24:06 +02:00
Thomas Gubler 6d9ea86bc9 mavlink receiver: use new manual control setpoint variable names and fix sending of manual control setpoint mavlink message 2014-05-12 09:23:51 +02:00
Thomas Gubler 08002fbc15 mavlink receiver: use new manual control setpoint variable names 2014-05-12 09:23:20 +02:00
Thomas Gubler 1795d7d6e1 fw pos control: use new manual control setpoint variable names 2014-05-12 09:22:20 +02:00
Thomas Gubler 3779e216be fw att control: use new manual control setpoint variable names 2014-05-12 09:22:07 +02:00
Thomas Gubler cde4c9addb commander: use new manual control setpoint variable names 2014-05-12 09:21:39 +02:00
Thomas Gubler d9333a1993 manual control setpoint: rename variables 2014-05-12 09:20:40 +02:00
Anton Babushkin c131e4cada manual_control_setpoint: comments fixed 2014-05-11 23:46:12 +02:00
Lorenz Meier 1b3007aa81 Re-enabled time compensation 2014-05-11 20:18:09 +02:00
Lorenz Meier 077de5eb0b Clean implementation of filter startup delay implementation 2014-05-11 20:16:04 +02:00
Lorenz Meier eeba000b87 stupid fix 2014-05-11 19:29:43 +02:00
Lorenz Meier 5581802f0f ekf: Move dt inside class 2014-05-11 18:45:55 +02:00
Lorenz Meier 7ec8fe8d61 Experimental init delay 2014-05-11 18:42:46 +02:00
Lorenz Meier d3a9aaed5d Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-05-11 18:38:53 +02:00
Lorenz Meier dd04a70afa Reporting cleanup, use different variables for different state switching results to avoid being tripped on local / global name scope 2014-05-11 18:10:02 +02:00
Lorenz Meier 5f392c80ad More debug in filter 2014-05-11 14:42:33 +02:00
Lorenz Meier e098591a58 Addressed linter concerns 2014-05-11 13:57:32 +02:00
Lorenz Meier dc19f16dee Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-05-11 13:53:58 +02:00
Anton Babushkin aae42d2607 sensors: commented "offboard" switch removed 2014-05-11 13:41:37 +02:00
Anton Babushkin 349809f535 sensors, commander: code style fixed 2014-05-11 13:36:51 +02:00
Anton Babushkin 88b18bbad1 ALTCTRL/POSCTRL renamed to ALTCTL/POSCTL 2014-05-11 13:35:05 +02:00
Anton Babushkin 808badb34d Use "POSCTL" switch name consistently 2014-05-11 12:54:15 +02:00
Lorenz Meier da67b2b241 Disable time compensation for further testing 2014-05-10 17:17:25 +02:00
Lorenz Meier 3e3a64f0ed Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-05-09 21:36:43 +02:00
Lorenz Meier fc4c4c0bd1 Merge branch 'master' of github.com:PX4/Firmware 2014-05-09 09:20:20 +02:00
Lorenz Meier 88194c5971 Remove noreturn attribute from all apps that actually can return 2014-05-09 09:20:08 +02:00
Lorenz Meier b2b2e307b6 Merge pull request #720 from thomasgubler/navigator_rtl_waypointtype
Navigator rtl: fix waypoint type
2014-05-08 23:25:10 -07:00