Commit Graph

262 Commits

Author SHA1 Message Date
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
Thomas Gubler 16b9f666e7 Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	src/lib/mathlib/math/Matrix.hpp
	src/modules/mc_att_control/mc_att_control_main.cpp
	src/modules/uORB/topics/vehicle_status.h
	src/platforms/px4_includes.h
2015-01-05 10:02:07 +01:00
Lorenz Meier f3e3565d1b sensors app: Decent error handling / reporting 2015-01-03 17:54:48 +01:00
Lorenz Meier 1f81a8bd61 2nd baro support for common topics 2015-01-02 12:28:23 +01:00
Lorenz Meier a0e1255e28 Merge pull request #1543 from thomasgubler/rcparamtune
RC param tune
2015-01-01 18:15:28 +01:00
Mohammed Kabir 84d724503f Remove invalid params 2014-12-30 18:06:48 +05:30
Thomas Gubler f4e0dc2857 Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	.gitmodules
2014-12-29 08:00:12 +01:00
Thomas Gubler ef8abfbf14 rc2param: min and max values 2014-12-28 22:55:04 +01:00
Thomas Gubler e9b41528dc prototype for changing params by rc 2014-12-28 22:26:39 +01:00
M.H.Kabir d40168dc4b Add support for rotations of PX4flow 2014-12-27 23:01:31 +05:30
Daniel Agar d511e39ea7 turn on -Werror and fix resulting errors 2014-12-22 17:56:59 -05:00
Thomas Gubler b3600e5ee6 manual_control_setpoint as msg 2014-12-08 11:06:56 +01:00
Thomas Gubler e28e8c11bb make default apps compatible with autogenerated attitude and rc_channels message 2014-12-02 12:19:24 +01:00
Lorenz Meier a12c98ba63 Sensors: Optimize for size 2014-11-15 13:52:08 +01:00
Lorenz Meier 127948f32f Remove absolute pressure field as its not useful and confusing anywary 2014-08-24 11:49:45 +02:00