Commit Graph

17130 Commits

Author SHA1 Message Date
Julian Oes 4a1e9d610b param_shmem: fix the "unknown param id" bug
The recent workaround to flag all params as used did not include
param_for_used_index(). However, this function got used in the case if
one param had not been received by QGC and was requested by its index.
2016-03-22 20:38:11 +01:00
Daniel Agar 25cb671a6c mission_block.h add TODO 2016-03-22 06:54:42 +01:00
Daniel Agar 408d147a18 MissionFeasibilityChecker geofence ignore NAV_CMD_DO_*
-closes #4040
2016-03-22 06:54:41 +01:00
Mark Whitehorn c37cf7abd4 remove broken configgpio call; tested OK on R14 2016-03-21 22:01:20 +01:00
Mark Whitehorn 192c2a32c8 unconfigure GPIO_PPM_IN before reconfiguring 2016-03-21 22:01:20 +01:00
James Goppert 2cf5fb8fb0 Merge pull request #4052 from PX4/revert_sonar_pub
Revert "px4flow: disable distance data transmission from px4flow sensor"
2016-03-21 16:08:16 -04:00
Julian Oes acf9be488d Revert "px4flow: disable distance data transmission from px4flow sensor"
This reverts commit 47f79a66d1 because it
was just an intermediate debug commit.
2016-03-21 16:06:41 -04:00
James Goppert 20720bdfb1 Matrixlib update. 2016-03-21 16:02:57 -04:00
Andreas Antener f3a1abf659 added support for SP type idle 2016-03-21 20:32:19 +01:00
Andreas Antener 664b0ee0a9 read setpoint type from type mask in offboard 2016-03-21 20:32:19 +01:00
Andreas Antener 46ad873d00 add nan protection to attitude and actuator targets 2016-03-21 20:32:19 +01:00
Andreas Antener b1ee89b5ca add nan protection for position target local 2016-03-21 20:32:18 +01:00
Julian Oes a3967872f3 df_bmp280_wrapper: hack to publish altitude
Previously we only published pressure which wasn't inav for the position
estimator.
2016-03-21 11:38:07 +01:00
Andreas Antener a1f4ab21bf fixed code style 2016-03-20 14:48:47 +01:00
Andreas Antener 6782bdaf69 prevent alternate flight control group (1) throttle from being active when safety is disabled 2016-03-20 11:19:23 +01:00
Andreas Antener 4847023cad reset current setpoint when entering RTL 2016-03-19 19:30:09 +04:00
Lorenz Meier f3f01ad960 Fix NuttX compilation 2016-03-19 19:28:42 +04:00
Kevin Mehall afa06ba9d7 Disable UDP options on platforms where it's not supported 2016-03-19 19:19:29 +04:00
Kevin Mehall 0cc3b4becc Add mavlink start -t partner_ip option to pre-set partner IP.
This avoids the need to modify the source code to hard-code the IP when
broadcast doesn't work.

Initializing the sockaddr_in structs with memset is unnecessary because
they are value-initialized by the Mavlink constructor.
2016-03-19 19:19:29 +04:00
Daniel Agar 319fb6b9f9 make submodulesclean deinit 2016-03-19 19:12:16 +04:00
Paul Riseborough 4b3aab2767 ekf2_replay: Fix bug in replay message format handling 2016-03-19 19:11:15 +04:00
Paul Riseborough a46b924d8c sdlog2: Fix bug in EKF replay message format 2016-03-19 19:11:15 +04:00
Paul Riseborough 75ebdda179 ekf2: Improved publishing rules
If the ekf has not completed alignment or encounters a serious error that produces NaN's on the attitude states, then the control, attitude and position topics are not published
The control topic is published first to reduce latency
2016-03-19 19:07:23 +04:00
Julian Oes 8ea581189a DriverFramework: updated submodule
This brings various bugfixes for the framework, as well as Support for
RPi2 with Navio+.
2016-03-19 18:57:45 +04:00
Lorenz Meier c27981d27b Update to latest MAVLink libraries / submodule. 2016-03-19 18:47:43 +04:00
Joep Linssen 38b09031a0 Fixed a typo that caused a uORB publication to fail 2016-03-19 11:24:40 +04:00
Mark Whitehorn 6b997f9e91 fix error in use of union 2016-03-19 11:22:37 +04:00
Mark Whitehorn 7dde4cb55b fix sensor_combined_s temperature indexing error 2016-03-19 11:22:37 +04:00
Nicolas 6ac641956a added posix and qurt apps to enable remote execution of shell commands on qurt side from posix shell
commands are sent via muOrb to qurt, where they are executed and printed (i.e. visibile on mini-dm)
2016-03-18 17:23:51 +01:00
Julian Oes 61baef4b65 param_shmem: fix format 2016-03-18 11:26:29 +00:00
Julian Oes 06d7a9c491 param_shmem: fixes for params on Snapdragon
On Snapdragon we can't yet use the "used" mask for parameters and
therefore need to send all of them down to the ground station. All
params were set to used in an earlier commit but the count and index
function didn't reflect this change. This is fixed now, therefore we can
successfully receive all params in QGC.
2016-03-18 11:26:29 +00:00
Julian Oes 213cdf1a91 mavlink: send out parameters faster over UDP 2016-03-18 11:26:29 +00:00
Lorenz Meier 8a224b7d6a Merge pull request #4032 from FantasyJXF/patch-1
Update nuttx_px4fmu-v2_default.cmake
2016-03-18 15:11:52 +04:00
FantasyJXF 03072bb4d4 Update nuttx_px4fmu-v2_default.cmake
hello sky
2016-03-18 17:03:09 +08:00
James Goppert 21e5c0a990 Merge pull request #4009 from jgoppert/lpe-gps-delay
Enabled gps delay compensation for lpe based on x hist.
2016-03-18 01:42:47 -04:00
James Goppert bcba1fb27e Enabled gps delay for lpe based on x hist. 2016-03-17 11:27:13 -04:00
James Goppert ce7dad81c2 Updated matrix. 2016-03-15 18:11:44 -04:00
James Goppert 484a95978f Matrix lib update. 2016-03-15 06:52:13 -04:00
Julian Oes 2f4aaa6449 land_detector: remove unused variables 2016-03-14 09:45:34 +01:00
Julian Oes 836c63339e land_detector_params: comment fix 2016-03-14 09:45:34 +01:00
Julian Oes 31beabd7b9 VtolLandDetector: only comment fixes 2016-03-14 09:45:34 +01:00
Julian Oes 70eb77453a MultiCopterLandDetector: switch to local position
Instead of using the global position topic for NED velocities, let's use
the local position topic. Also, use the xy and z valid flags instead of
the system state.
In case of no local position update, still rely on the throttle stick
position.
2016-03-14 09:45:34 +01:00
Julian Oes f5e0c72ea0 FixedwingLandDetector: timeout fixes
In the case of the control state topic not updating, the land detector
would get stuck. Therefore, set it to landed in that case.
2016-03-14 09:45:34 +01:00
Lorenz Meier 0cab41075b Fix pparam meta data 2016-03-14 09:43:51 +01:00
Paul Riseborough 58e08339e8 ekf2: Update parameter documentation
Updates parameter documentation to take advantage of the range finder height option.
2016-03-14 09:42:06 +01:00
Paul Riseborough aed444c1c8 ecl: update library reference
Adds functionality allowing the range finder to be used as the primary height measurement when operating over flat terrain. This will be useful for indoor testing where barometric pressure is unreliable due to operation of HVAC systems.
2016-03-14 09:42:06 +01:00
Lorenz Meier 3e1f5c232b Flow driver: Handle rotation parameter if present 2016-03-14 09:29:53 +01:00
Lorenz Meier 6708069a97 Sensors app: Remove flow rotation setup 2016-03-14 09:29:34 +01:00
Lorenz Meier 5c810eef11 Set reboot required param for flow sensor 2016-03-14 09:21:18 +01:00
Lorenz Meier c99b7abe8d Do not ignore untracked files in DF and ECL 2016-03-14 09:16:01 +01:00