Commit Graph

18484 Commits

Author SHA1 Message Date
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
Beat Küng dc3bd31e59 pwm_out_sim: fix orb handle == 0 is valid & use orb_unsubscribe instead of px4_close 2016-06-07 10:05:58 +02:00
James Goppert 9fedda43c6 Revert "Changed baro init count for LPE."
This reverts commit cefc00af39.
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
Beat Küng 0fb0f17ccb logger: reduce memory usage, by limiting the nr of added topics to 64 (was 128) 2016-06-06 23:27:16 +02:00
Beat Küng 78d357cb0c logger: free up ~200B stack size
we now use the already existing buffer for logging messages, which is
allocated on the heap.
In fact, stack usage was too high before this, now it's ok again.
2016-06-06 23:27:16 +02:00
Beat Küng febe75bb12 logger: don't use uint8_t buffer[msg_size]; (it's C99 not C++)
Also, it's not clear where the allocation was. It looks like it was on
the heap, but the compiler could decide to put it on the stack. This is
very bad for us because we use fixed size stacks with tights bounds. So if
a user specifies a large topic to log, it could have crashed.

Now the allocation is on the heap and the user can specify any size of
topic to log (as long as there is enough memory).
2016-06-06 23:27:16 +02:00
Beat Küng 8ef493c82d logger: use local time if orb_copy(vehicle_gps_position) fails for -t option
orb_copy can fail if there is no advertiser yet
2016-06-06 23:27:16 +02:00
Beat Küng b51ec04938 logger: fix alignment issue in data message header 2016-06-06 23:27:16 +02:00
Lorenz Meier 64e5e565c2 Gazebo: Fix Tailsitter model 2016-06-06 23:12:17 +02:00
James Goppert 5ec7de3a5a Make LPE est always log. (#4749)
This is a trivial change so I'm going to merge to help address edge cases in users logs.
2016-06-06 14:12:18 -05:00
Lorenz Meier f9df60919e Update submodule again 2016-06-05 15:51:54 +02:00
Lorenz Meier ed0aad61d2 Updated SITL gazebo, fixes #4723 2016-06-05 15:47:03 +02:00
Lorenz Meier 66db577c7d Tone down mavlink message 2016-06-05 14:37:47 +02:00
Lorenz Meier c02214f745 Update RPI2 config 2016-06-05 12:55:14 +02:00
Lorenz Meier 93ef7ea4f6 posix-configs/eagle/hil 2016-06-05 12:54:41 +02:00
Lorenz Meier 44c222f6b7 Update Eagle flight config 2016-06-05 12:54:27 +02:00
Lorenz Meier 8a7fd9c889 Update 210qc config 2016-06-05 12:54:12 +02:00
Lorenz Meier 131a1613af Update 200qx config 2016-06-05 12:53:58 +02:00
Lorenz Meier 6b97a9ece8 Update Bebop config 2016-06-05 12:53:44 +02:00
Lorenz Meier b0d05c19bc Update SITL config posix-configs/SITL/init/rcS_multiple_gazebo_iris 2016-06-05 12:53:32 +02:00
Lorenz Meier 6608c98192 Update SITL config posix-configs/SITL/init/rcS_lpe_jmavsim_iris 2016-06-05 12:43:04 +02:00
Lorenz Meier 53b1bbd49f UPpdate SITL config posix-configs/SITL/init/rcS_lpe_gazebo_iris_opt_flow 2016-06-05 12:42:52 +02:00
Lorenz Meier 50f4a603e8 Update SITL config posix-configs/SITL/init/rcS_lpe_gazebo_iris 2016-06-05 12:42:37 +02:00
Lorenz Meier 17e28ceeb1 Update SITL config posix-configs/SITL/init/rcS_jmavsim_iris 2016-06-05 12:42:22 +02:00
Lorenz Meier e5ba214f34 Update SITL config posix-configs/SITL/init/rcS_gazebo_tailsitter 2016-06-05 12:42:08 +02:00
Lorenz Meier da943b0007 Update SITL config posix-configs/SITL/init/rcS_gazebo_standard_vtol 2016-06-05 12:41:55 +02:00
Lorenz Meier a651f3dae5 Update SITL config posix-configs/SITL/init/rcS_gazebo_plane 2016-06-05 12:41:43 +02:00
Lorenz Meier b198638a6c Update SITL config posix-configs/SITL/init/rcS_gazebo_iris_opt_flow 2016-06-05 12:40:41 +02:00
Lorenz Meier e19b373347 Updatee SITL config rcS_gazebo_iris 2016-06-05 12:40:25 +02:00
Lorenz Meier ff4f27b05e MAVLink app: Add option to configure broadcast, default to off 2016-06-05 12:39:33 +02:00
CAI Dongcai f8ff667dde pwm steps bugs fixed (#4719)
fix the divide 0 bug in using "pwm steps" in NSH, and add it's
description
2016-06-05 12:08:31 +02:00
Julian Oes eea102f63d cmake: POSIX/RPi build don't need patch/genromfs (#4733) 2016-06-05 12:02:13 +02:00
Julian Oes 1880d1f6fd Snapdragon: start sdlog first to log everything (#4734)
In order to capture everything for replay logs, start sdlog2 at the very
beginning. Also, wait with starting the sensors for a second, to make
sure sdlog2 has started by then.
2016-06-05 12:01:38 +02:00
Kartik Mohta 5e00155e03 Update cmake/cmake_hexagon
New updates required to use the Hexagon SDK v3.0 from Qualcomm
2016-06-05 09:05:09 +02:00
bharathr 6f9665d718 Restored 210qc snapdragon config files 2016-06-04 15:12:01 +02:00
Daniel Agar 7524474c7b make distclean ignore eclipse project files 2016-06-03 16:58:35 -04:00
Daniel Agar de5bf60b07 make submodulesclean sync recursively 2016-06-03 16:58:23 -04:00
BharathR f06e6f0ce1 Fixed actuator controls struct in Snapdragon legacy uart_esc driver wrapper (#4724) 2016-06-03 10:22:09 +02:00
Lorenz Meier fb1fd205bd MAVLink app needs more FDs 2016-06-02 09:27:26 +02:00
Lorenz Meier f07a4f2f93 MAVLink app needs more FDs 2016-06-02 09:27:15 +02:00