7747 Commits

Author SHA1 Message Date
tumbili
b9e9f62bee code style formatting 2016-06-08 17:14:33 +02:00
CarlOlsson
acea2f98d5 log airspeed in rpl mode even if it is not fused 2016-06-08 17:12:05 +02:00
CarlOlsson
9c170f7fae added parameter which defines threshold for airspeed given to the filter
remove unnecessary replay fields
2016-06-08 17:11:10 +02:00
Andreas Antener
98eeb25e45 produce 0 voltage/current if no suitable default could be set 2016-06-07 22:27:08 +02:00
Lorenz Meier
e1805dfe0c Sensors app: Use two parameters to convert battery current and voltage to make configuring custom frames easier 2016-06-07 22:27:08 +02:00
Julian Oes
3b5feafef4 err: add missing include for exit 2016-06-07 22:10:56 +02:00
Julian Oes
04083cff3d err: we need to use exit on NuttX
px4_task_exit doesn't seem to be available for NuttX, so it had no
effect and broke the init because the return values of the tasks were
wrong.
2016-06-07 22:10:56 +02:00
Julian Oes
c916ee7357 err: astyle prefers it different 2016-06-07 22:10:56 +02:00
Julian Oes
6898e2dcf4 commander: don't shout please 2016-06-07 22:10:56 +02:00
Julian Oes
f68a6eb42c err/px4_log: switch everything to static function
Instead of having separate log functions for NuttX and POSIX, this now
switches everything to px4_log.h and PX4_INFO/WARN/ERR/DEBUG.

Also, the call mostly used is now a static inline function instead of a
macro which lead to a big increase in flash size for STM32.
2016-06-07 22:10:56 +02:00
Julian Oes
a6e46a7e6f commander: whitespace 2016-06-07 22:10:56 +02:00
Julian Oes
6b1bcef644 uORBManager: removed printfs 2016-06-07 22:10:56 +02:00
Julian Oes
11cc17b63a param_shmem: be less verbose 2016-06-07 22:10:56 +02:00
Julian Oes
a88c3c2dbe commander: printf fine tuning 2016-06-07 22:10:56 +02:00
Julian Oes
93ada40bf9 param_shmem: removed a printf 2016-06-07 22:10:56 +02:00
Julian Oes
4827f0d931 sdlog2: removed a printf 2016-06-07 22:10:56 +02:00
Julian Oes
f8020a4063 muorb: removed printf 2016-06-07 22:10:56 +02:00
Julian Oes
c95c13985c mavlink: better printf 2016-06-07 22:10:56 +02:00
Julian Oes
00bffeaf72 mavlink: whitespace only 2016-06-07 22:10:56 +02:00
Julian Oes
1dea9433b7 mavlink: don't complain if there is no mission 2016-06-07 22:10:56 +02:00
Julian Oes
67b2f68abd mavlink: improved, updated usage 2016-06-07 22:10:56 +02:00
Julian Oes
ec5b2adfc0 mavlink: don't try broadcast 0, and less printfs
This removes a bunch of unneeded printfs and prevents broadcasting
packets of size 0 which just trigger a warning.
2016-06-07 22:10:56 +02:00
Julian Oes
a39124a10d dataman: make it less chatty
- Removed a couple of unneeded printfs.
- On POSIX it shouldn't warn if it's not a multiple of the
  block size.
2016-06-07 22:10:56 +02:00
Roman
ff58d31348 fixed code style 2016-06-07 20:00:41 +02:00
tumbili
cd574c523b fixed whitespaces 2016-06-07 19:52:25 +02:00
sander
cdf9864428 QuadChute moved to VtolType 2016-06-07 19:52:25 +02:00
sander
2d61eddebf Remove debug info 2016-06-07 19:52:25 +02:00
sander
832e1003c2 Base QuadChute on local_pos.z and only when armed 2016-06-07 19:52:25 +02:00
sander
bb0b7f2632 Sanitize mavlink message 2016-06-07 19:52:25 +02:00
sander
7cea813d55 Sanity check and quadchute during front transition 2016-06-07 19:52:25 +02:00
sander
ec15130a80 Minimum altitude for FW flight in standard VTOL 2016-06-07 19:52:25 +02:00
Andreas Antener
9ec9210a08 fixed code style in standard.cpp 2016-06-07 14:05:19 +02:00
Roman
ac9a81c0c7 standard vtol pusher fix:
- pusher code now works with the new manual setpoint generation
2016-06-07 14:05:19 +02:00
Julian Oes
f56e951f00 land_detector: don't estimate freefall on 0 data 2016-06-07 12:34:54 +02:00
Julian Oes
b2719cf439 land_detector: publish when there is proper data
Instead of publishing before even having done update(), let's wait for a
result and then advertise.
2016-06-07 12:34:54 +02:00
Julian Oes
ba7d35d9d0 commander: fix convoluted auto disarm 2016-06-07 12:34:54 +02:00
Beat Küng
1be3c0fe48 mavlink_main.cpp: fix race conditions in 'mavlink stop-all'
This had multiple issues:
- linked list was modified while other instances were still running and
  accessing it (the used linked list is NOT thread-safe).
- Mavlink instance was deleted, but it was still in the linked list, and
  thus could still be dereferenced by other threads
- the instance was deleted, but it was still accessed by the 'stop-all'
  calling thread

What we do now is:
- wait for all threads to exit
- then remove the instances from the linked list and delete them
2016-06-07 10:05:59 +02:00
Beat Küng
1f55e23827 fix resource leak in mavlink_main.cpp: close the socket 2016-06-07 10:05:59 +02:00
Beat Küng
d8fbd8a6f6 fix MavlinkOrbSubscription: use orb_unsubscribe instead of close() 2016-06-07 10:05:59 +02:00
Beat Küng
0eb22823a6 fix resource leak in MavlinkParametersManager: call orb_unsubscribe 2016-06-07 10:05:59 +02:00
Beat Küng
d0ffb1acb8 fix resource leak in MavlinkReceiver: call orb_unsubscribe 2016-06-07 10:05:58 +02:00
James Goppert
9fedda43c6 Revert "Changed baro init count for LPE."
This reverts commit cefc00af39dccfe8ff3ec2155a271ec93ff57661.
2016-06-06 20:02:45 -05:00
James Goppert
cefc00af39 Changed baro init count for LPE. 2016-06-06 19:53:29 -05:00
James Goppert
97e6a57501 Add more GPS checks for LPE (#4750)
* Added more GPS checks for LPE.

* Add logic to force GPS alt init.
2016-06-06 19:40:41 -05:00
Beat Küng
c64b0d4573 logger: don't use system time for log file name if system time obviously wrong 2016-06-06 23:27:16 +02:00
Beat Küng
f5310ca51e orb: avoid unnecessary string duplication of objname 2016-06-06 23:27:16 +02:00
Beat Küng
5125fc3a81 uORBDevices::SubscriberData: remove unused member poll_priv 2016-06-06 23:27:16 +02:00
Beat Küng
605f731ac4 logger: reduce maximum logged string length to 128 (use less memory) 2016-06-06 23:27:16 +02:00
Beat Küng
76d6ffd445 logger: use the defined interval for all multi-instances (& fix code style) 2016-06-06 23:27:16 +02:00
Beat Küng
e709048fb8 orb: add orb_get_interval to API 2016-06-06 23:27:16 +02:00