Mark Charlebois
7a44ee7429
Added support for external shared libraries
...
The FC_ADDON drivers are shared libraries that have PX4 wrappers.
The wrappers are built as modules which are static libraries and
cannot have shared library dependencies.
The shared libraries are required to resolve the symbols at runtime
and need to be linked with the libmainapp shared library.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-05-28 14:05:27 +02:00
Lorenz Meier
b412980f90
Enable top in SITL
2016-05-28 12:10:19 +02:00
Lorenz Meier
120ff6ea15
CPU load header cleanup
2016-05-28 12:07:28 +02:00
Paul Riseborough
2b370417e8
drivers: Correct IMU coning correction implementation
...
Previous did not match the matlab simulation in: https://github.com/priseborough/InertialNav/blob/master/models/imu_error_modelling.m
2016-05-28 11:47:23 +02:00
Julian Oes
9d489b9b0f
Snapdragon: rename uart_esc to pwm_out_rc_in
...
The name uart_esc was initially taken by Qualcomm's UART ESC driver but
then got changed into the current mavlink ESC/RC helper. Since the
uart_esc is still around, we should prevent the names clashing.
2016-05-28 11:42:12 +02:00
Julian Oes
6dfb80ddd1
snapdragon_rc_pwm: fix comments
2016-05-28 11:42:12 +02:00
Julian Oes
73d70fa7e8
adb_upload: try to sync after uploading ( #4669 )
2016-05-28 11:35:28 +02:00
Lorenz Meier
ff5a481c34
Remove unneeded EKF2 configs
2016-05-28 11:34:08 +02:00
Lorenz Meier
c3974446bd
Update Gazebo tuning gains
2016-05-28 11:31:39 +02:00
Lorenz Meier
959c9e3817
Update gazebo plugin to fix inertial sensor oscillation
2016-05-28 11:25:15 +02:00
Lorenz Meier
8b510270a9
CPU load: add missing header
2016-05-28 10:34:15 +02:00
Lorenz Meier
7a0d43586f
MAVLink app: Only start transmitting when boot is complete ( #4666 )
2016-05-28 09:57:07 +02:00
Paul Riseborough
654093cae1
Merge pull request #155 from PX4/pr-ekf2AlignmentNoiseFilterInit
...
EKF: Initialise alignment noise filters using valid data
2016-05-28 09:12:15 +10:00
Paul Riseborough
70c40d695d
EKF: Initialise alignment noise filters using valid data
...
Don't initialise the states for the alignment data noise filters until the buffers have been flushed
2016-05-28 09:04:26 +10:00
Paul Riseborough
35bb6cc6e9
Merge pull request #154 from PX4/pr-ekf2AlignmentBufferFlush
...
EKF: Ensure bad initial data is flushed from buffers before use
2016-05-28 08:41:24 +10:00
Paul Riseborough
c905684c12
EKF: Ensure bad initial data is flushed from buffers before using data to perform alignment
2016-05-28 08:28:57 +10:00
Lorenz Meier
6fa446b465
Format fix
2016-05-28 00:10:02 +02:00
Lorenz Meier
7be5ae9b93
Version: Report in common MAVLink format
2016-05-27 23:12:51 +02:00
Lorenz Meier
0dc36d149e
Sensors: Reinstate main stack
2016-05-27 23:12:07 +02:00
Lorenz Meier
24622131c9
Sensors: Reinstate boot stack
2016-05-27 23:11:51 +02:00
Jimmy Johnson
38acd15ec6
more clean up
2016-05-27 12:55:34 -07:00
Jimmy Johnson
f397d40f09
follow target updates
2016-05-27 12:55:34 -07:00
Beat Küng
26feb018d9
getprogname on posix: fix locking (mutex was not unlocked in some cases)
2016-05-27 19:33:55 +02:00
Andreas Antener
a2d78eaa50
use new build path for gazebo - sim connection
2016-05-27 18:53:33 +02:00
Andreas Antener
d34edfd435
changed mavros connection string, updated gazebo sitl build process
2016-05-27 18:53:33 +02:00
Julian Oes
45bb1786b6
Fix SITL CPU ( #4657 )
...
* accelsim: add debug output like in gyrosim
* DriverFramework: update submodule
This brings lower CPU usage because of scheduling in us instead of ms.
2016-05-27 18:52:38 +02:00
Julian Oes
224fbbc26b
land_detector: fix uninitialized value ( #4659 )
2016-05-27 17:18:51 +02:00
Paul Riseborough
9557f64248
Merge pull request #153 from PX4/pr-ekf2ExternalVision
...
EKF: external vision bug fixes
2016-05-27 18:57:41 +10:00
Paul Riseborough
d4262bce2a
EKF2 output predictor update ( #4606 )
...
* ekf2: Update tuning parameter documentation
* ecl: update submodule reference
Enables selection of a new output predictor method
2016-05-27 08:36:37 +02:00
Paul Riseborough
ad02818b3d
EKF: Improve height reset for external vision
...
reset to measurement closest in time to fusion time horizon
2016-05-27 14:00:50 +10:00
Paul Riseborough
98c0b74a71
EKF: Initialise height correctly when using external vision data
...
If EV height selected ensure switch to correct height mode as soon as EV data is received
The 0 height datum is not at the initialisation position, so the height state needs to be reset to the measurement on startup
2016-05-27 13:59:14 +10:00
Paul Riseborough
9f81b8f09e
EKF: provide reset protection for external vision height
2016-05-27 13:15:53 +10:00
Paul Riseborough
1b6c5bbafd
EKF: Enable height source to be selected independent of EV aiding
2016-05-27 13:14:52 +10:00
Paul Riseborough
00bada8f25
EKF: Clean up logic for horizontal position fusion
...
Remove reference to optical flow fusion mode
Simplify logic flow for selection of observation noise
Remove unnecessary conditional statement
2016-05-27 11:29:10 +10:00
Paul Riseborough
6f412a73b4
EKF: Use correct height gate when using external vision
2016-05-27 11:24:53 +10:00
Paul Riseborough
e41524ac9d
EKF: remove unused variables
2016-05-27 11:21:04 +10:00
Pavel Kirienko
c08eec0a23
Fixed stack overflow in UAVCAN process ( #4643 )
...
* Increased uavcan stack size; the old value of 1800 was insufficient
* Removed a misleading warning message from uavcan servers initialization
2016-05-26 20:00:10 +02:00
Julian Oes
a25bbdd12d
DriverFramework: update submodule ( #4648 )
...
This fixes a bug where the accelsim and gyrosim were conflicting with
work handles which lead to a state where no gyro data was published.
2016-05-26 19:57:20 +02:00
Lorenz Meier
e8aae9c7ab
Update DriverFramework reference to point to DF master
2016-05-26 14:05:50 +02:00
Paul Riseborough
53030b9297
Merge pull request #152 from PX4/pr-ekf2FixObsDataHandling
...
EKF: Fix vulnerability to loss of observations due to high input data rates
2016-05-26 21:44:10 +10:00
Paul Riseborough
7dd123094f
EKF: correct documentation
2016-05-26 21:42:56 +10:00
Paul Riseborough
d5b5cb5899
EKF: improvements to observation collection
...
Remove unnecessary function calls
Remove un-used functions
Apply a consistent maximum safe data rate check for all observation inputs
2016-05-26 13:27:08 +10:00
David Sidrane
acdcb14d79
In support of merging Spread the checks multiline lists ( #4626 )
...
* Insupport merging Spread the checks multiline lists
* Removed long line of checks
2016-05-25 22:24:01 +02:00
Lorenz Meier
0ad0602560
Added missing timestamp to topic listener
2016-05-25 22:21:19 +02:00
Julian Oes
af06737e7e
sdlog2: fix Segfault on Eagle ( #4638 )
...
Since orb_exist doesn't work on the Snapdragon Linux side, we need to do
an additional orb_check after the orb_subscribe_multi, otherwise we copy
garbage.
The segfault was triggered by a count/length information about ESC
packets which lead to access outside the struct in the garbage case.
2016-05-25 21:50:23 +02:00
Lorenz Meier
d9718d0d98
Fix commander argc handling
2016-05-25 20:56:25 +02:00
Roman Bapst
3c87ae78ff
added two more examples to the README
2016-05-25 15:24:35 +02:00
Paul Riseborough
e2d9e19a5d
Merge pull request #148 from PX4/pr-ekf2OutputPredictor
...
EKF2 provide alternative output velocity prediction
2016-05-24 08:46:33 +10:00
Paul Riseborough
9f0b9909e7
Merge pull request #149 from PX4/pr-ekf2FixUnwantedGpsUse
...
EKF: prevent unwanted GPS use
2016-05-24 08:45:18 +10:00
Paul Riseborough
5a40aa2c1a
EKF: prevent unwanted GPS use
2016-05-24 07:55:09 +10:00