Daniel Agar
ad148af2fd
commander: mag_calibration move to Magnetometer calibration helper
2020-08-21 10:12:13 -04:00
Daniel Agar
e3e8c55e82
accel & gyro calibration helpers
2020-08-21 10:12:13 -04:00
Daniel Agar
f55ed0992c
accel and gyro calibration refactor and cleanup
...
- remove all remaining IOCTLs for accel and gyro and handle all calibration entirely in sensors module with parameters
- sensor_accel and sensor_gyro are now always raw sensor data
- calibration procedures no longer need to first clear existing values before starting
- temperature calibration (TC) remove all scale (SCL) parameters
- gyro and baro scale are completely unused
- regular accel calibration scale can be used (CAL_ACC*_xSCALE) instead of TC scale
2020-06-17 22:50:09 -04:00
Daniel Agar
05886e053f
mavlink_log_info: always print to console and merge with mavlink_and_console_log_info
2020-05-12 08:53:51 +02:00
Beat Küng
b973b2ca64
mag calibration: improve 4 and 2 side calibration
...
- if less than 6 sides are calibrated, keep the existing calibration and
update the offsets and scales
- if 2 sides are calibrated, estimate the offsets only (as this is enough
if a full calibration was done already, and the problem is not
constrained enough to estimate scales and offsets)
2019-11-29 14:14:00 -05:00
Alessandro Simovic
4ead3b20e5
Fixing some typos
2019-01-25 11:58:17 -05:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Daniel Agar
48d9484ceb
commander fix and enforce code style
2018-11-28 20:42:03 -05:00
Daniel Agar
9ce83f2208
fix all sign-compare warnings
2018-07-01 09:36:55 +00:00
Sugnan Prabhu
81809be7cd
Add include guard in headers files ( #8108 )
...
Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com >
2017-10-11 09:47:52 -04:00
Siddharth Bharat Purohit
78b8deda15
commander: add ellipsoid 9 param fit for magnetometer corrections
2017-02-01 08:38:26 +01:00
Siddharth Bharat Purohit
c9ac15f0dd
commander: fix code style
2017-02-01 08:38:26 +01:00
Siddharth Bharat Purohit
f811777789
commander: add new math for sphere fit for compass calibration
2017-02-01 08:38:26 +01:00
Beat Küng
ce0d31b7d9
mavlink log: ensure all critical & emergency msgs are also logged to console & ulog
...
Critical messages that the user sees should also go to the log file, so
that the exact error (with time) can later be analyzed from the log file.
2016-09-30 13:50:51 +02:00
Lorenz Meier
43e0186eb3
Commander: Space out MAVLink log messages more
2016-04-05 21:33:40 -07:00
Julian Oes
f583f51027
commander: add macros for log messages and wait
...
As a current workaround we need to wait some time after publishing a
mavlink log message in order for it to arrive in QGC.
2016-04-05 15:36:02 -07: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
Don Gagne
a7f88d97b8
Sensor cal rework
...
- cancel support
- versioned cal messages
- better still detection
- better messaging
2015-04-26 14:34:19 +02:00
Don Gagne
eff3d9d713
New worker routines for orientation detection
2015-03-28 13:09:07 -07:00
Daniel Agar
c2abb0f82a
fix code style if trivial one line difference
2015-03-19 23:49:36 +01:00
Lorenz Meier
259014b0d5
Documentation only and unused defines only cleanup.
2014-07-13 11:40:09 +02:00
px4dev
01e427b17c
Merge working changes into export-build branch.
2013-04-26 16:14:32 -07:00