Philipp Oettershagen
e12b470cac
Subsystem_info status flags & checks: Small fixes according to @bkueng's review
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
0b71c52225
Subsystem_info status flags & checks: Suppress sensor failover warnings in Hardware in the loop (HITL)
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
302cb0a285
Subsystem_info status flags & checks: Moved the set_health_flags helper functions out of the /lib/ folder and into the module/commander folder because they are actually only needed there
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
bd2af289f5
Subsystem_info status flags & checks: Code style fixes and cleanup to avoid strcmp() as suggested by @LorenzMeier
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
e4d863b95f
Subsystem_info status flags & checks: Separate the functionality to a) set the health flags inside commander and b) to publish them from external modules
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
075009be2f
Subsystem_info status flags & checks: 1) Set health flags in commander directly instead of publishing via uORB 2) move publish_subsystem_info into lib/ folder"
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
6f1f414b49
Subsystem_info status flags & checks : Initial commit, updating the health flags in a centralized way mostly in commander and the votedSensorsUpdate function.
2018-06-06 18:54:24 +02:00
Daniel Agar
222a91c6be
mathlib delete Matrix, Quaternion, Vector
2018-05-23 17:27:09 -04:00
Daniel Agar
fc74e06341
sensors add conversion library dependency
2018-05-21 01:32:16 -04:00
nathan
59c1d3fc92
remove unnecessary param_find for mag and baro
...
in parameters.cpp
per @dagar: As soon as commander starts it runs the preflight checks which does the param_find.
2018-05-20 11:54:17 +02:00
Beat Küng
f2516bbf5f
system_params: add SYS_HAS_MAG and SYS_HAS_BARO params
...
This allows to use PX4 on systems that do not have a mag or a baro,
such as the Omnibus F4 SD.
2018-05-20 11:54:17 +02:00
Daniel Agar
4e32cb17df
clang-tidy modernize-use-equals-default
2018-05-18 22:48:55 +02:00
alessandro
3ed093ba59
Add baro temperature to sensor voter observation ( #9411 )
...
When determining the confidence of a barometer sensor, we should
consider the temperature as well, alongside the pressure.
Low-noise baros can show the same pressure reading for a second
or two when not moving and in an indoor location.
2018-05-04 12:40:10 -04:00
Daniel Agar
2e92484325
ecl update to latest master with separate libraries ( #9406 )
2018-05-03 23:48:09 -04:00
Daniel Agar
8404889098
delete unused ADCSIM
...
- set BOARD_NUMBER_BRICKS to 0 for boards without analog power bricks
2018-04-29 21:48:54 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Daniel Agar
3b5b12e1d1
move baro and magnetometer data out of sensor_combined
2018-04-11 23:26:58 -04:00
Daniel Agar
5dc23def2a
move pressure altitude from baros to sensors module
2018-04-11 23:26:58 -04:00
Beat Küng
a8645b51d5
voted_sensors_update: reduce flash usage by allowing compiler to dedup equal strings
...
reduces roughly 130 bytes. Almost enough to pass CI.
2018-04-11 07:47:06 +02:00
Daniel Agar
fda2edb7c4
sensors only publish airspeed if finite
2018-03-26 09:42:50 -04:00
Daniel Agar
a48e3bf68d
sensors fix uninitialized diffferential_pressure message
...
- fixes coverity CID 260383
2018-03-24 13:39:31 -04:00
stmoon
ed261c76da
add timestamp for sensor_preflight
2018-03-24 07:57:04 +01:00
Beat Küng
7937f9e82c
refactor Battery: replace BlockParam* with Param* classes
2018-03-22 08:19:08 +01:00
Daniel Agar
3a0a896a9c
sensors move to matrix lib
2018-03-22 08:17:32 +01:00
Beat Küng
2bcc5cf3e5
imu filter defaults: set IMU_GYRO_CUTOFF to 80 and MC_DTERM_CUTOFF to 30
...
tested on at least 5 different vehicles, including AeroFC. The values
should be conservative, good setups (with low vibrations) can increase
these values even further.
increasing IMU_GYRO_CUTOFF allows for better tuning gains (increased P).
2018-03-13 20:54:49 +01:00
Andreas Antener
198708ba2e
rotation: updated board rotation meta data
2018-02-28 10:08:58 +01:00
Beat Küng
54d1395206
IMU_GYRO_CUTOFF, IMU_ACCEL_CUTOFF: reduce minimum to 0, allowing to disable filtering
2018-02-19 17:02:31 +01:00
Beat Küng
8d9e9d3a7b
RC input: allow disabling the RC filtering via RC_FLT_CUTOFF
...
The default value of 10 Hz adds noticeable lag.
2018-02-19 09:29:46 -05:00
Daniel Agar
232b38a669
RCX_REV params add enum metadata
2018-02-10 20:37:47 -05:00
Daniel Agar
f621c334a8
sensors don't find parameters that are unused by QGC
2018-02-10 20:37:47 -05:00
Daniel Agar
5b80adeadb
move SENS_EN_MB12XX to mb12xx driver
2018-02-10 20:37:47 -05:00
Daniel Agar
dbb3621bdb
move SENS_EN_TFMINI to tfmini driver
2018-02-10 20:37:47 -05:00
Daniel Agar
3e2c9d1113
move SENS_EN_LEDDAR1 to leddar_one driver
2018-02-10 20:37:47 -05:00
Daniel Agar
23be7d4f96
move SENS_EN_SF1XX to sf1xx driver
2018-02-10 20:37:47 -05:00
Daniel Agar
fb29ea0079
move SENS_EN_TRANGER to teraranger driver
2018-02-10 20:37:47 -05:00
Daniel Agar
8a67b5b447
move SENS_EN_SF0X to sf0x driver
2018-02-10 20:37:47 -05:00
Daniel Agar
f6a37d8c74
move SENS_EN_LL40LS to ll40ls driver
2018-02-10 20:37:47 -05:00
José Roberto de Souza
d0baf95df3
drivers: Add LeddarOne lidar driver
...
More information: https://leddartech.com/modules/leddarone/
2018-02-08 11:26:26 +01:00
Beat Küng
2577eb7527
sensors: adc_poll: remove unneeded argument
2018-01-31 07:57:52 +01:00
Paul Riseborough
1e9361572f
sensors: Add parameter for flow sensor minimum range
2018-01-29 22:30:34 +01:00
Lorenz Meier
d6a2002505
Sensors: Update param metadata
...
This hides these parameters by default from the user.
2018-01-08 09:27:22 +01:00
Daniel Agar
ec65ff7c5e
sensors remove unnecessary param set notification
2018-01-04 09:21:17 +01:00
Daniel Agar
45441d62b1
sensors thermal calibration only get params if enabled
2018-01-04 09:21:17 +01:00
Daniel Agar
7af3cb9df8
param group "Sensors Thermal Calibration" shorten
2018-01-04 09:21:17 +01:00
Ayush
9f2bb6c7f9
Added support for TFmini-LiDAR
2018-01-01 17:38:41 +01:00
Daniel Agar
cbc8b50aa1
sensors don't store diff_pres in class
2017-12-30 11:30:34 +01:00
Daniel Agar
4445ffc70e
sensors don't store airspeed in class
2017-12-30 11:30:34 +01:00
Daniel Agar
6623fd0212
sensors don't keep battery_status messages
2017-12-30 11:30:34 +01:00
Lorenz Meier
c31e31bf5e
Voted sensors: Better error messages
2017-12-30 11:24:22 +01:00
Daniel Agar
42e01cde43
RC params delete incorrect comment
2017-11-27 20:05:12 -05:00