Beat Küng
0109154c43
logger: avoid logging the UUID if the system does not provide it
...
The linux targets don't have it and setting a fixed constant causes
wrong vehicle associationss in Flight Review.
2017-07-24 09:01:02 +02:00
Paul Riseborough
33e8d5923f
matlab: Allow replay to handle late start GPS data in log
...
Also minor fix to comments.
2017-07-24 16:34:50 +10:00
Paul Riseborough
e18f92d9c2
matlab: Improve conversion of APM log data
...
Allow file conversion to work with unequal length GPS and GPA data.
Allow file conversion to work if range, flow and odometry data is not present.
2017-07-24 16:33:12 +10:00
Lorenz Meier
286c3d41d3
MAVLink app: Send GPS uncertainty via MAVLink 2
...
This is needed by some consumers like transponders.
2017-07-23 00:16:00 +02:00
Lorenz Meier
d83e54cde5
MAVLink v2: Update version
2017-07-23 00:16:00 +02:00
Daniel Agar
2939bd9c96
Partial Revert "MAVLink: Add capture command to command queue"
...
This reverts commit dde5781142 .
2017-07-22 11:36:35 +02:00
davidaroyer
d5cbbba341
ocpoc_adc: handle return from fscanf
2017-07-22 10:51:49 +02:00
davidaroyer
d01150990b
cmake: add ubuntu build for OcPoC hardware
2017-07-22 10:51:49 +02:00
ChristophTobler
bc951f6f15
add constraint to ground distance to avoid values below rng_gnd_clearance ( #7662 )
2017-07-22 07:49:00 +10:00
Beat Küng
a6c682ce50
mavlink_ftp: fix stack overflow & add root dir prefix
...
- change memory allocation from stack to a malloc'd buffer. This avoids
increasing the stack size. And since FTP is rarely used, the buffers
are only allocated upon use and freed after a time of 2s inactivity.
- adds PX4_ROOTFSDIR as root directory prefix. This does not change
anything on NuttX, but in SITL it will avoid enumerating the whole
disk tree when using QGC (which enumerates all files recursively).
2017-07-21 19:59:45 +02:00
Beat Küng
29f23a390f
mavlink_ftp: avoid using seekdir()
...
The provided argument payload->offset is in range [0, num_file_entries-1],
but seekdir might use a completely different range. It is not defined
by the API spec. It is only useful in conjunction with telldir().
2017-07-21 19:59:45 +02:00
Beat Küng
5a2723ab9c
test_mixer.cpp: remove bogus comments
2017-07-21 19:59:45 +02:00
Beat Küng
42f7e6bca3
px4_defines: make sure that PX4_ROOTFSDIR is a string
2017-07-21 19:59:45 +02:00
Pavel Kirienko
f45be6fe58
New link to coding conventions
2017-07-21 15:35:04 +03:00
Paul Riseborough
20584ee997
EKF: Improve efficiency of heading fusion calculations when using EV heading
...
Moves calculation only required for mag heading fusion into the if (_control_status.flags.mag_hdg) branch
When using EV yaw, the observed yaw angle is calculated directly from the EV quaternions using derived expressions from references in code comments.
2017-07-21 10:56:14 +10:00
Paul Riseborough
df34b43c00
Merge pull request #308 from PX4/pr-ekfDoxygen
...
EKF: Update documentation and make compatible with Doxygen
2017-07-21 10:55:18 +10:00
Paul Riseborough
5aeeebf7ac
matlab: Fix derivation for 321 Euler rotation sequence
2017-07-21 10:48:54 +10:00
Paul Riseborough
26b5f26891
matlab: Add scripts to calculate rotation conversions for 321 or 312 Euler sequences
2017-07-21 10:22:17 +10:00
Beat Küng
ced700adf2
cmake px4fmu-v1 config: remove pwm_out_sim from build
...
To reduce flash space usage
2017-07-20 18:49:38 +02:00
Beat Küng
7fc20049e0
param_shmem import: don't fail on type mismatch
2017-07-20 18:49:38 +02:00
Beat Küng
88b515390a
flashparams import: don't fail on type mismatch
2017-07-20 18:49:38 +02:00
Beat Küng
2340e7073d
param import: don't fail on type mismatch
...
This can happen for example when a param type is changed from int32 to
float. The type check will then fail if the param is stored and the param
import will be aborted.
Now we just skip the entry and continue loading the rest.
2017-07-20 18:49:38 +02:00
Dennis Shtatnov
ca82d36c3f
Support platforms like CF2 without capture ioctl
2017-07-20 03:37:58 -10:00
Paul Riseborough
f93be992ce
ekf2: Update documentation for compatibility with Doxygen ( #7657 )
2017-07-20 22:05:29 +10:00
Paul Riseborough
aec01ce59c
EKF: Update class variable documentation and make compatible with Doxygen
2017-07-20 20:16:42 +10:00
Paul Riseborough
627f8184b3
Merge pull request #307 from PX4/pr-constrain_vpos
...
constrain _terrain_vpos to be a minimum of _params.rng_gnd_clearance …
2017-07-20 17:35:35 +10:00
Lorenz Meier
c1f5feac83
MAVLink: Queue transponder reports and send them at full data rate
...
This will ensure that no transponder reports are dropped and that all received reports are passed on to the GCS and other devices.
2017-07-20 09:13:53 +02:00
ChristophTobler
61a7991693
constrain _terrain_vpos to be a minimum of _params.rng_gnd_clearance larger than _state.pos(2)
2017-07-20 08:29:11 +02:00
Dennis Shtatnov
6081435801
Fixes #7282
2017-07-19 19:51:55 -10:00
Dennis Shtatnov
2e85a4363e
MPU9250: Separate mpu and mag resets
2017-07-19 19:51:55 -10:00
ChristophTobler
03e11c4d18
update ecl and add param for innovation consistency checks for range aid fusion ( #7585 )
2017-07-19 18:25:12 +10:00
Paul Riseborough
9b6e1ab2a7
Merge pull request #306 from PX4/revert-305-revert-303-pr-get_terr_valid
...
Revert "Revert "Split get_terrain_vert_pos() into valid and get_vpos""
2017-07-19 17:54:18 +10:00
Paul Riseborough
e1fe5b2229
Revert "Revert "Split get_terrain_vert_pos() into valid and get_vpos""
2017-07-19 17:52:35 +10:00
Paul Riseborough
13f8d949bd
Merge pull request #305 from PX4/revert-303-pr-get_terr_valid
...
Revert "Split get_terrain_vert_pos() into valid and get_vpos"
2017-07-19 17:34:03 +10:00
Paul Riseborough
c887b02f21
Revert "Split get_terrain_vert_pos() into valid and get_vpos"
2017-07-19 17:33:48 +10:00
Paul Riseborough
1dbac79c1b
ecl: Compatibility update for PR #7602
2017-07-18 23:06:14 +02:00
Lorenz Meier
dde5781142
MAVLink: Add capture command to command queue
2017-07-18 23:05:43 +02:00
Lorenz Meier
cb3222d131
Navigator: Be less verbose
2017-07-18 23:05:43 +02:00
Lorenz Meier
0d30d817b8
Update SITL Gazebo to default triggering to MAVLink 2
2017-07-18 23:05:43 +02:00
Lorenz Meier
8bc0a8aece
Geotagging config: Default vehicle to MAVLink 2
2017-07-18 23:05:43 +02:00
Lorenz Meier
b1a987f06b
Enable camera triggering and gimbal control via MAVLink
2017-07-18 23:05:43 +02:00
Lorenz Meier
efba7fa7b9
Update SITL gazebo
2017-07-18 23:05:43 +02:00
Lorenz Meier
8706525d70
Update MAVLink rev 1
2017-07-18 23:05:43 +02:00
Lorenz Meier
6e97aec8ce
MAVLink app: Do not warn about required reboot but rely on param meta. Fixes #7642
2017-07-18 22:51:42 +02:00
Beat Küng
0668d61665
SYS_FMU_TASK: add param to start fmu as task (default=work queue)
2017-07-18 20:06:10 +02:00
Beat Küng
07b7a153f3
fmu: add ifdef for dsm_deinit()
2017-07-18 20:06:10 +02:00
Beat Küng
2193afd0a0
fix fmu: lower polling timeout to 5ms when running as task
...
With the previous value of 20ms, we dropped RC input when not armed. The
result was that some RC channels jumped randomly between min & max.
2017-07-18 20:06:10 +02:00
Beat Küng
e6adfa6b6b
fix fmu: call dsm_deinit() in destructor
...
This closes the fd and cleans up a static variable used in the dsm parser.
2017-07-18 20:06:10 +02:00
Beat Küng
1130bc129c
fix fmu: make sure init() is called on the new task
...
This was only a problem when running as a task not on the work queue.
The problem was that init() opened the RC serial device, which was then
read in the main loop, which is a different context when run as a task.
2017-07-18 20:06:10 +02:00
Beat Küng
56cc5e11cc
simulator: initialize sensor data buffers
2017-07-18 12:54:28 +02:00