Roman
29c5c25f47
fix bug in the logging app:
...
- either sensor combined or the replay topic where copied into
the union buffer but at times the memory was overwritten by other
topics which updated below
- this change makes sure that the two topics are copied into the union
buffer at the correct location in the code
9 years ago
Lorenz Meier
5bcdfed203
Improve trigger meta
9 years ago
Lorenz Meier
a01cb1d0b8
Bump param meta version
9 years ago
Lorenz Meier
2fc6cdd994
Gazebo SITL: Ensure a tightly closed altitude control loop
9 years ago
Lorenz Meier
65d0d1f9e3
Commander: Allow better battery failsafe warning / actions
9 years ago
Lorenz Meier
f3586b371a
Travis CI: Upload all default targets
9 years ago
Lorenz Meier
7a197c5384
Travis CI: Re-create historic file names
9 years ago
Lorenz Meier
83f146aea7
Update master build
9 years ago
David Sidrane
161f92250f
Update CMakeLists.txt ( #4377 )
...
Removes warning as Cmake now using STACK_MAIN
9 years ago
Julian Oes
99286cf1bd
ekf2: replace `!isnan` with `PX4_ISFINITE` ( #4374 )
9 years ago
Julian Oes
ea3adee28a
shmem_qurt: fix format
9 years ago
Julian Oes
e3c9135ac2
param_shmem: fix bug where params didn't stick
...
There was the case where a param was changed on the Linux side but the
change did not get saved on the DSP side because the param was not in
the local list of changed params on the DSP side. On save, the param
index is now refreshed, and param_get is called on all params that have
changed. This is a hacky workaround but resolves the problem for now.
9 years ago
Lorenz Meier
2fff2d4eac
Robustify single mode selection. Fixes #4364
9 years ago
Mark Whitehorn
1a5040b9d2
only call fsync in NUTTX builds
9 years ago
Mark Whitehorn
6f20b9e1df
fix unused variable error
9 years ago
Mark Whitehorn
4cf427510e
fix problem with log_file_path and add msg timestamps
9 years ago
Andrew Tridgell
6552f925f8
px4fmu: allow control of safety state on FMUv4
...
allows for MAVLink control of safety state
9 years ago
Nicolas de Palezieux
9199c5ec17
changed parameters to int32_t to prevent stack smashing
9 years ago
Nicolas de Palezieux
b1c6a2c7ab
ensure PWM_DISARMED value is sent to ESCs if snapdragon does not send anything else
9 years ago
Julian Oes
f454d74a51
mavlink: fix Snapdragon build
9 years ago
Julian Oes
2e476ce6bf
gps/devices: updated submodule
...
This includes the mtk bugfix for Snapdragon.
9 years ago
Julian Oes
5e5af9c37f
posix px4_layer: fix Mac build
9 years ago
Julian Oes
ee57055b99
posix px4_layer: fix linking error on QURT
9 years ago
Julian Oes
c975d01200
gps: fix Snapdragon build
9 years ago
Lorenz Meier
191afe499c
Gazebo: More Eigen3 fixes
9 years ago
Lorenz Meier
14a20e3112
MAVLink streams: Better log file handling
9 years ago
Beat Küng
b855d76f28
fix gps: subscribe to topics in the gps thread instead of the shell thread
...
NuttX does not inherit file descriptors when creating new tasks.
9 years ago
Beat Küng
58a7db51c3
gps: add RTCM message rate to the 'gps status' command
9 years ago
Beat Küng
acc40c8217
orb unittest: increase waiting time so that test does not fail on slow devices
...
This test failed on the pixracer because the subscriber thread was too slow
and thus orb messages got lost. This behavior is expected, but the test
should not fail because of that, so we increase the sleeping time.
9 years ago
Julian Oes
0031220c1a
df_mpu9250_wrapper: add reporting for range hits
...
We now send log messages over mavlink in case excessive vibrations are
detected.
9 years ago
Julian Oes
84c87696fe
df_mpu9250_wrapper: use the elapsed counter
9 years ago
Julian Oes
20e494410a
df_mpu9250_wrapper: add an info function
9 years ago
Julian Oes
23f882063e
df_mpu9250_wrapper: also free the perf_counters
9 years ago
Julian Oes
1cf7de8fdb
perf_counter: perf_print_counter now works on QURT
9 years ago
Julian Oes
d55b4802f1
df_mpu9250_wrapper: add perf counters
9 years ago
Julian Oes
4ac67f69d1
DriverFramework: updated submodule
...
This brings the latest renamed counters.
9 years ago
Julian Oes
944acfaf75
simulator: change after perf_counter API change
9 years ago
Julian Oes
fa6fe4ca96
px4io: small change after perf_counter API change
9 years ago
Julian Oes
662c097803
perf_counter: add function to set a count
...
This needed the set function which sets elapsed to change the name to
avoid ambiguities.
9 years ago
Julian Oes
08a1941fd6
df_mpu9250_wrapper: fix style
9 years ago
Julian Oes
75444ae084
df_mpu9250_wrapper: use FIFO time offsets
...
- Make use of the FIFO time offsets provided by the MPU9250 driver.
It allows to use proper dt for the integration.
- Got rid of the unnecessary perf_counters for now.
- Properly use the changed integrator lib.
- Provide integral_dt for ekf2.
9 years ago
Julian Oes
d824ca3a14
integrator: fix style
9 years ago
Julian Oes
544f0b70a9
DriverFramework: updated submodule
...
This brings error counters and timestamp offsets between FIFO samples.
9 years ago
Julian Oes
302bf879de
integrator: improvements and cleanup
...
The integrator had an untested read mode which did not apply the coning
correction. Instead of keeping two integrals (auto/read) it is now one
and the reset mechanism can be selected by setting the
auto_reset_interval to 0 to disable it or some positive number else.
Also, the integrator could potentially explode if a (single) timestamp
was wrong, so before the last integrated one. This is now caught with a
dt of 0 instead of inf/nan.
9 years ago
Julian Oes
f91be1e281
DriverFramework: updated submodule
...
This raises the sampling frequency from 500 Hz to 8kHz using the FIFO
buffer.
9 years ago
Lorenz Meier
3f1994886a
Add new GPS submodule to check
9 years ago
Beat Küng
afefa4d2a0
gps: use a max poll timeout of 50ms to check for orb msgs more often
...
Before this, I measured a max time spent in poll of 197ms. By checking at
least every 50ms we make sure to not lose any orb messages.
9 years ago
Beat Küng
f62324c8a6
mavlink_receiver.cpp: use sizeof(gps_inject_data_topic.data) instead of hardcoded size
9 years ago
Beat Küng
6029551c63
gps & mavlink receiver: use C arrays instead of std::array<>
9 years ago
Beat Küng
4cf08ba580
gps handleInjectDataTopic: repeatedly check for new orb messages
...
Without that there were still lost messages, now it's all fine (tested
under Linux)
9 years ago