Beat Küng
43afb8d41e
sensor calibration: remove param_save_default() calls
2017-04-06 11:49:03 +02:00
Beat Küng
3eecd16309
accelerometer_calibration: use param_notify_changes
2017-02-03 13:57:48 +01:00
Beat Küng
c0fd3afc8c
accelerometer_calibration: only notify system once (after last scale change)
2017-02-01 08:40:23 +01:00
Paul Riseborough
6e841f6cbd
commander: fix bugs in handling of thermal compensation during access cal
2017-02-01 08:40:23 +01:00
Beat Küng
4763a119bc
calibration: make sure to notify the system when temp calibration changes
...
This is needed so that temperature compensation reads in the updated values
and publishes the updated sensor_correction topic.
2017-02-01 08:40:23 +01:00
Beat Küng
fbef2b7a6a
accelerometer_calibration: avoid using accel_mapping
...
This is not needed, as s is an uORB instance and accel_offset_0
contains data from uORB instance 0.
2017-02-01 08:40:23 +01:00
Beat Küng
fdb75dbba2
accelerometer_calibration: simplify & fix if temp compensation is enabled
...
if compensation enabled, scale & offsets for the drivers should be reset,
but actually only the params were reset and accel_scale was still applied
to the driver via ioctl.
2017-02-01 08:40:23 +01:00
Beat Küng
d0ea4e8876
accelerometer_calibration: cleanup
2017-02-01 08:40:23 +01:00
Beat Küng
69fd8447ae
accelerometer_calibration: make sure to initialize sensor_correction properly
2017-02-01 08:40:23 +01:00
Paul Riseborough
fb774bef67
commander: enable accel cal to adjust thermal compensation parameters
2017-02-01 08:40:23 +01:00
Paul Riseborough
62694d92d2
commander: rework IMU cal for compatibility with temperature compensation
2017-02-01 08:40:23 +01:00
wangxdflight
b693e29d64
enable px4 flight for excelsior(legacy)
2017-01-16 08:25:58 -08:00
Daniel Agar
5ec546f735
Makefile add scan-build target
2017-01-02 10:14:41 +01:00
Roman
3faaeb06d1
attitude setpoint topic: cleanup of matrix class usage
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-10-18 20:46:08 +02:00
tumbili
5e0e522903
adapted to new vehicle attitude message
2016-10-18 20:46:08 +02:00
Beat Küng
241fd629ce
ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR
2016-09-30 13:50:51 +02:00
Michael Schaeuble
6aa8fcdf53
Enable commander module for Parrot Bebop
2016-08-05 10:15:11 +02:00
Julian Oes
fa614a3cc1
RPi: just use RPI instead of RPI2.
...
The reason for this change is that RPi2 and RPi3 are compatible, and
hopefully all differences coming up can be resolved without ifdefs but
at runtime.
2016-07-16 15:51:00 +01:00
Miguel Arroyo
3c11c0d8d8
Adds Calibration Support for RPi2 and Navio2 ( #4999 )
2016-07-07 22:38:17 +02:00
jwilson
c6250657eb
Added mag support to the DriverFramework mpu9250 driver. Shortened parameter names for legacy drivers. Added temporary ifdef's in the calibration code for Snapdragon Flight builds.
...
Signed-off-by: jwilson <jwilson@qti.qualcomm.com >
2016-05-31 16:43:12 +02:00
Julian Oes
8707cfe9f2
commander: use macro with wait in all calibrations
2016-04-05 15:36:03 -07:00
Julian Oes
1fc9b99307
commander: some rebase fixes
2016-03-24 13:10:02 +01:00
Julian Oes
bba0d0384d
drivers/modules: changes after mavlink_log change
...
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Julian Oes
790fa7667c
commander: cherry-pick fixes
2016-03-24 13:08:31 +01:00
Julian Oes
88a812618c
commander: fix the calibration for NuttX.
...
This fixes some regressions on the calibration using NuttX, especially
considering the PRIME param and the device ids.
2016-03-24 13:08:31 +01:00
Julian Oes
e949d6d18a
commander: get PRIME parameter back
...
The PRIME param got lost on the way of the refactoring.
2016-03-24 13:08:31 +01:00
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
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
Mark Charlebois
fea910d45a
Code cleanup and ifdefs required for qurt build
...
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.
Changes include code cleanup for shmem_posix.c.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
tumbili
afb01e6d9a
fix level horizon feature:
...
allow attitude to settle for a while if changes to the board rotation
parameters are done
2016-01-20 13:46:50 +01:00
Lorenz Meier
e525ab3b73
Commander: Fix accel cal duration
2015-12-21 13:44:51 +01:00
Lorenz Meier
53ff04e016
Commander: Finish preflight update for prime sensor IDs
2015-10-14 19:35:12 +02:00
Lorenz Meier
e5bb1cff91
Store primary sensor ID to allow cross-check of calibration on next boot
2015-10-14 19:35:12 +02:00
Lorenz Meier
ea7ae7d019
Merged beta into master
2015-08-01 16:58:02 +02:00
Lorenz Meier
32b9354783
Accel calibration: Show better error message if cal fails
2015-07-31 15:36:13 +02:00
Lorenz Meier
9cf1b4ba7a
Merge branch 'release_v1.0.0'
2015-05-22 07:24:57 +02:00
Lorenz Meier
323759bb52
commander: Fix error checking and handling of level routine
2015-05-21 22:06:54 +02:00
Lorenz Meier
2903ceaacc
Merge branch 'release_v1.0.0'
2015-05-20 09:00:57 +02:00
Roman Bapst
e7a522edbc
reset board rotation offset params if level calibration failed
2015-05-20 08:50:26 +02:00
Mark Charlebois
f44444b7c4
POSIX: Converted poll to px4_poll
...
A new poll command was added in accelerometer_calibration.cpp
that needed to be converted to a px4_poll.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 12:06:58 -07:00
Lorenz Meier
d906fb8f31
Merged master into linux
2015-05-19 21:00:02 +02:00
Roman Bapst
12c6dc8ad8
added routine for autopilot level calibration
2015-05-19 14:20:00 +02:00
Mark Charlebois
3a65187303
Fixed bad merge
...
Forgot to remove old file line when merging the changes from master.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-06 16:00:00 -07:00
Mark Charlebois
db52227409
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07:00
Mark Charlebois
0cea93a55c
POSIX and QuRT: fixed calls needing px4_ prefix
...
There were some missed calls to open and ioctl that need to be
px4_open and px4_ioctl.
QuRT also does not provide usleep() so px4_time.h has to be included
in files calling usleep.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-05 12:13:39 -07:00
Roman Bapst
0217e2ed56
fix accel calibration: rotate sensor values into board frame
2015-05-05 18:41:50 +02:00
Mark Charlebois
190814bc97
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/drivers/rgbled/rgbled.cpp
src/modules/commander/PreflightCheck.cpp
src/modules/commander/airspeed_calibration.cpp
src/modules/commander/calibration_routines.cpp
src/modules/commander/gyro_calibration.cpp
src/modules/commander/mag_calibration.cpp
src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
362672ece8
commander: Fix calibration feedback so that QGC picks up all error conditions
2015-04-26 17:33:45 +02:00
Don Gagne
a7f88d97b8
Sensor cal rework
...
- cancel support
- versioned cal messages
- better still detection
- better messaging
2015-04-26 14:34:19 +02:00