Lorenz Meier
d530cbcda2
Ignore battery voltage only when below 2.5V, as we could be still running at that voltage
2015-05-22 21:46:58 +02:00
James Goppert
e1d2c0c5ad
Move more messages to auto-generation, work on C++ code style
2015-05-20 08:57:29 +02:00
Roman Bapst
5c63a2d2f4
fixed sensor board rotation offset
2015-05-19 14:19:03 +02:00
Lorenz Meier
a124bc07aa
Ensure SYS_AUTOSTART param is always selected
2015-05-10 23:58:25 +02:00
Lorenz Meier
1420a0c74c
Sensors: Be less verbose
2015-04-27 09:07:53 +02:00
Lorenz Meier
8e4c78cd2d
Load all GCS-required params
2015-04-27 00:21:25 +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
Lorenz Meier
f1ff61ec4f
sensors app: Move a static member to being a class member
2015-04-26 14:33:57 +02:00
Lorenz Meier
8edbf72bd5
sensors app: Use right lookup function
2015-04-26 14:02:22 +02:00
Don Gagne
638be07c2c
Use new @board attribute for ifdef's
2015-04-21 12:31:30 -07:00
Andreas Antener
9c282cf6d6
added parameters to specify range and channel, caping result
2015-04-21 07:01:58 +02:00
Lorenz Meier
5c44146c1b
sensors app: Be less verbose
2015-04-20 09:14:13 +02:00
Lorenz Meier
1c8e79cbf1
sensors app: Always set a valid rotation, even if sensor is unconfigured
2015-04-18 20:34:18 +02:00
Daniel Agar
2e824bbeea
fix incorrect argc < 1 check for no arguments
...
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Lorenz Meier
c4b98fb47d
Revert "Use new @board attribute for ifdef support"
...
This reverts commit 750b02b4e5 .
2015-04-18 11:39:03 +02:00
Don Gagne
750b02b4e5
Use new @board attribute for ifdef support
2015-04-18 11:13:04 +02:00
Don Gagne
05c351183f
Parameter meta data fixes
2015-04-15 11:29:37 -07:00
Don Gagne
07853fbb58
Fixed warnx messages to show correct sensor #
2015-03-28 13:09:07 -07:00
Lorenz Meier
81546e8f84
sensors app: Log all temperature
2015-03-25 22:58:54 -07:00
Daniel Agar
c2abb0f82a
fix code style if trivial one line difference
2015-03-19 23:49:36 +01:00
Don Gagne
dfd6be78bf
Add RC_CHAN_CNT, RC_TH_USER
...
These are used by ground station software
2015-03-03 09:22:01 -08:00
Lorenz Meier
675b86550f
Sensors: Clear old mag rotation param once new values is present
2015-02-28 20:49:54 +01:00
Lorenz Meier
e4830eb53f
mag detection (sensors / commander): Default all sensors to internal, set the ones which have been found explicitely to zero if they were -1.
2015-02-28 04:01:10 +01:00
Lorenz Meier
2e4c0c3156
sensors app: Comment handling of old param values properly
2015-02-15 19:52:02 +01:00
Lorenz Meier
6fd89aa2bd
Rsensors app: Programming style: rely on logical orr for failed evalution.
2015-02-15 19:52:02 +01:00
Lorenz Meier
4740568446
sensors: Update param name
2015-02-15 19:52:02 +01:00
Lorenz Meier
162814c33e
sensors: Set up mag rotation parameters correctly
2015-02-15 19:52:02 +01:00
Lorenz Meier
bed3eaafa1
Sensor app: Formatting, documentation and cleanup
2015-02-15 19:52:01 +01:00
Lorenz Meier
12ae984198
sensors app: Use -1 in rotation parameter to indicate that a sensor cannot be rotated as it is internal.
2015-02-15 19:52:01 +01:00
Lorenz Meier
3d195bc7cc
Proper mag rotation handling
2015-02-15 19:52:01 +01:00
Lorenz Meier
81c9b9fd95
Get secondary mag to work, but only if internal
2015-02-10 22:01:31 +01:00
Lorenz Meier
df2ad183e3
Initialize error counts high enough
2015-02-09 22:56:26 +01:00
Lorenz Meier
3a43649850
sensors app: Fix loading of calibration params
2015-02-09 22:56:25 +01:00
Lorenz Meier
bd90700f59
Sensors app: Improve sensor config handling
2015-02-09 22:56:24 +01:00
Lorenz Meier
ddb7d49354
Sensors: Move to 0 based indices
2015-02-09 22:56:23 +01:00
Lorenz Meier
dc46736ead
Merge ROS into master
2015-02-03 20:07:55 +01:00
Thomas Gubler
2252a9696d
fix codestyle in sensors.cpp
2015-02-03 18:13:01 +01:00
Thomas Gubler
f53aa5628e
sensors: init accel and gyro with default rates
2015-02-03 18:13:01 +01:00
Lorenz Meier
23e7823b51
sensors app: Use indexed param names
2015-02-03 08:55:16 +01:00
Thomas Gubler
84ff3c671d
Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
...
Conflicts:
src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
hauptmech
0b784c20c8
Save and check device id for acc and gyro calibration parameters.
...
Fix config utility to work with all devices of each type.
Accel, gyro and mag devices correctly set their device_id devtype.
Combo devices (mpu6000 lsm303d) now correctly return their devtype.
config util shows device id for all sensor types.
Add, save during calibration and check during preflight ID parameters for accelerometer and gyro
2015-01-31 15:53:34 +01:00
Lorenz Meier
9190d59791
Move sensors app to multi pub/sub
2015-01-29 16:33:53 +01:00
Lorenz Meier
c3eb10560b
Move sensors to new mag interface
2015-01-29 16:33:53 +01:00
Thomas Gubler
2d124852c1
propagate uorb contants change through all modules/drivers
2015-01-28 16:31:41 +01:00
Thomas Gubler
dcdde8ea88
Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge
...
Conflicts:
src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
src/modules/uORB/topics/vehicle_attitude.h
2015-01-21 14:41:03 +01:00
Lorenz Meier
9a40fe4ede
Sensors: Fix corner case on FD leak (not a real leak)
2015-01-21 08:58:47 +01:00
hauptmech
e18e5ca5b5
Add SENS_MAG_ID parameter
...
Record devid to SENS_MAG_ID during mag calibration
Verify devid matches SENS_MAG_ID during preflight_check
2015-01-17 18:41:43 +01:00
Thomas Gubler
f960bbf529
bring back switch_pos_t
2015-01-08 10:54:09 +01:00
Thomas Gubler
7507e4a4b5
sensors: argument is not an enum anymore
2015-01-05 15:31:28 +01:00
Thomas Gubler
88a498d8f8
sensor: fix variable names
2015-01-05 15:23:49 +01:00