Julian Oes
1b5210ca13
sensors/calibration: use params in DF wrappers
...
Instead of using a uORB topic with the calibration values published in
sensors and consumed by the DriverFramework driver wrappers, let's just
use the the params directly. This is quite a rough change and needs
definitely some cleanup and refactoring.
2016-03-24 13:08:31 +01:00
Julian Oes
aa9d698204
mavlink_log: support telem printfs on QURT
2016-03-24 13:08:31 +01:00
Julian Oes
6a8bac2b30
df_hmc5883_wrapper: subscribe to calibration data
2016-03-24 13:08:31 +01:00
Julian Oes
23da6696d7
df_mpu9250_wrapper: comments only
2016-03-24 13:08:31 +01:00
Julian Oes
c152f88f7f
uavcan: fix after calibration refactor
2016-03-24 13:08:30 +01:00
Julian Oes
e0c41632a6
drivers: some fixes for the calibration refactor
2016-03-24 13:08:30 +01:00
Julian Oes
a8955553de
hmc5883: missing semicolons
2016-03-24 13:08:30 +01:00
Julian Oes
8d096c4053
hmc5883: astyle
2016-03-24 13:08:30 +01:00
Julian Oes
b9cc0b74e2
drivers: re-use calibration topic
...
E.g. instead of defining a gyro_scale struct in drv_gyro.h, use the
gyro_calibration message.
2016-03-24 13:08:30 +01:00
Julian Oes
98e407696e
commander: whitespace only
...
Trailing whitespace all over.
2016-03-24 13:08:30 +01:00
Julian Oes
f24b2a701f
sensors: first part of a calibration refactor
...
This adds uORB messages to publish calibration data by sensors which is
then consumed by the sensors. Currently this is only used on Snapdragon
and guarded by QURT ifdefs.
2016-03-24 13:08:30 +01:00
Lorenz Meier
76a8bea1c1
Fix mixer reporting
2016-03-24 12:07:06 +01:00
Lorenz Meier
ec930d2372
Increase stack size by 100 bytes. From @tridge
2016-03-24 10:40:46 +01:00
Lorenz Meier
2fa1673ee0
Make 800 bytes space on IO. From @tridge.
2016-03-24 10:40:29 +01:00
Lorenz Meier
1f47aa1180
SD log: Fix skipped statistics
2016-03-23 20:08:45 +01:00
Lorenz Meier
2dcd529ad8
sdlog2: Use more appropriate priorities and locking strategies.
2016-03-23 20:08:45 +01:00
Julian Oes
a446a337e9
Revert "mavlink: send out parameters faster over UDP"
...
This reverts commit 213cdf1a91
.
Raising the stream rate of param values had the nice effect that
receiving the params became really quick. However, on the downside it
set all other streams pretty slow. This needs to be fixed differently.
2016-03-23 11:46:25 +01:00
Julian Oes
2e3093cd8f
sdlog2: put defines around QURT path
2016-03-22 22:22:30 +01:00
Kevin Mehall
46bc1774f4
sdlog2: hard-code path to work on Linux
2016-03-22 22:21:24 +01:00
Siddharth Bharat Purohit
91a32ff7fb
landdetector: use PX4_WARN and remove printf statements
2016-03-22 22:20:11 +01:00
Julian Oes
f006840f2a
px4.config: remove rc_receiver
...
This was in there by accident.
2016-03-22 22:18:49 +01:00
Julian Oes
40c6ac94c7
cmake: include land_detector in QURT build
2016-03-22 22:12:40 +01:00
Julian Oes
4e1c6073ae
px4.config: add SYS_AUTOSTART param for now
2016-03-22 21:28:15 +01:00
Julian Oes
f06a27a53c
posix-configs: unite mainapp-calib/mainapp-flight
...
There is no calibration config needed anymore.
2016-03-22 21:25:26 +01:00
Julian Oes
e1aca91467
posix-configs: unite px4-calib and px4-flight
...
The calibration config is no longer needed.
2016-03-22 21:22:47 +01:00
Julian Oes
d629f0912c
px4-flight.config: add land_detector
2016-03-22 21:20:55 +01:00
Julian Oes
bc85380439
px4-flight.config: fix rc_receiver command
2016-03-22 21:19:18 +01:00
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