Commit Graph

28679 Commits

Author SHA1 Message Date
Randy Mackay 04863dc2d1 batt_smbus: add ioctl to return batt capacity
Also use full charge capacity instead of design capacity so that an old
battery's capacity will appear as lower than its original capacity but
it will still report 100% charged after charging
2015-04-10 14:17:25 +09:00
Thomas Gubler 747a00d70d simulator repository was renamed 2015-04-09 20:08:11 +02:00
Lorenz Meier 79f6459740 mavlink app: Code style fix 2015-04-09 19:35:14 +02:00
philipoe 309a767c06 mavlink: Allow mavlink_send to take component_ID into account. Still use a default argument in case the user does not supply a component_ID 2015-04-09 19:12:38 +02:00
Andrew Tridgell 219d661888 hmc5883: read the temperature every 10 samples when enabled 2015-04-08 17:45:54 +02:00
Andrew Tridgell 02639411ba hmc5883: added -T option to enable temperature compensation
this also fixes the behaviour of the -C option
2015-04-08 17:45:54 +02:00
Andrew Tridgell e17936e237 hmc5883: try to cope with genuine 5883 parts
if we can't read the temperature registers 10 times then disable the
feature.
2015-04-08 17:45:54 +02:00
Andrew Tridgell 156a7915ae hmc5883: added support for temperature compensation
added "hmc5883 tempon" and "hmc5883 tempoff" to enable/disable
2015-04-08 17:45:53 +02:00
Andrew Tridgell dea97dd277 drv_mag: added ioctl to control temperature compensation 2015-04-08 17:45:53 +02:00
Andreas Antener 9924f5519f update attitude and position setpoint topics 2015-04-08 13:41:40 +02:00
Lorenz Meier f8c8876642 Merge pull request #1819 from PX4/chan16
Support 16 channels on IO via S.BUS
2015-04-07 19:04:19 +02:00
Johan Jansen 891a7af509 UBlox: Only use time and date if flags are valid 2015-04-07 17:15:33 +02:00
Johan Jansen a121f6101f UBlox: Only use fix and velocity if flags are valid 2015-04-07 17:15:17 +02:00
philipoe 9a9efdaaa5 commander: Increase timeout on airspeed sensor for the prearm_check 2015-04-07 15:25:45 +02:00
Lorenz Meier 1219ef8d43 Eigen: Disable tests 2015-04-04 12:39:36 +02:00
Lorenz Meier de29e43ee6 Eigen: Fix logical compare warning 2015-04-04 12:36:27 +02:00
Lorenz Meier bbec741383 Eigen: Simplify tests 2015-04-04 12:07:22 +02:00
Lorenz Meier e5ac953bab Eigen: Attempt to fix unit test 2015-04-04 11:44:15 +02:00
tumbili a530f16518 log quaternion setpoint 2015-04-04 10:21:46 +02:00
Andrew Tridgell a4bece7595 uavcan-baro: use RingBuffer for read() support 2015-04-04 10:20:51 +02:00
Holger Steinhaus d06761bba8 uavcan-baro: add read()-style interface to baro device 2015-04-04 10:20:38 +02:00
Lorenz Meier 26ccac347d commander: Go only into armed error state if on low battery and disarmed 2015-04-04 10:18:40 +02:00
Lorenz Meier 64cdcfc0cc Fix detection of USB connected state. Needs bench test without USB 2015-04-04 10:15:46 +02:00
Don Gagne bb6b30f57a Report alternate side done 2015-04-03 19:51:58 -07:00
Lorenz Meier 8075ff5e0b Eigen: Re-enable tests 2015-04-03 17:01:47 +02:00
Lorenz Meier cc11e8a098 EKF: Sync to upstream repo 2015-04-03 17:01:32 +02:00
Bharat Tak f7bd105340 Shifted the set() function for Matrix3x3, Vector2, Vector3, Vector4 to appropriate derived class. 2015-04-03 11:34:50 +02:00
Bharat Tak a8d4572cfa Fix issue #1972. Tested in gazebo and verified vehicle_status.arming_state on rqt_plot 2015-04-03 11:14:40 +02:00
Lorenz Meier 368a21ddab Fix typo in vector matrix product, fixes #1969, reported by @cat888 2015-04-03 08:54:49 +02:00
Matt Beall fa9f7075fa Changed message staging 2015-03-31 10:52:26 -06:00
Matt Beall ce9f46d4e7 Added ping message handling to mavlink receiver 2015-03-31 10:30:57 -06:00
Ban Siesta 2d19726ee7 rotation: added another missing rotation 2015-03-29 20:17:09 +01:00
Lorenz Meier 17ee20a338 commander: Improve gyro cal 2015-03-28 16:44:26 -07:00
Lorenz Meier cb99467cde commander: Remove unnessary sleep 2015-03-28 14:00:17 -07:00
Lorenz Meier a184aebf0f mavlink: Crank up param transmission rate 2015-03-28 13:54:19 -07:00
Lorenz Meier 8ebf9755e4 commander: Fix battery config 2015-03-28 13:54:05 -07:00
Don Gagne 48e88ec551 Set CAL_MAG_ID correctly 2015-03-28 13:09:07 -07:00
Don Gagne d88916d20e New mag cal changes
- Use new calibrate_from_orientation worker routine to detect
orientaions
- Calibrate all mags at once
- Change to 3-side calibration mechanism
2015-03-28 13:09:07 -07:00
Don Gagne 716fb561aa Include sensor number 2015-03-28 13:09:07 -07:00
Don Gagne 9d61e3a7db Use new calibrate_from_orientation api 2015-03-28 13:09:07 -07:00
Don Gagne fdc053e883 Add sensor number to messages 2015-03-28 13:09:07 -07:00
Don Gagne eff3d9d713 New worker routines for orientation detection 2015-03-28 13:09:07 -07:00
Don Gagne 07853fbb58 Fixed warnx messages to show correct sensor # 2015-03-28 13:09:07 -07:00
Lorenz Meier a098ca4ec6 Move autosave into the 1-second timeout check. 2015-03-28 13:07:01 -07:00
Lorenz Meier f8fd67d3e1 Auto-save parameters on change 2015-03-28 13:07:01 -07:00
Lorenz Meier 78741c87e5 MAVLink app: 1) only transmit active params, 2) send params faster, 3) ensure no overflow occurs on buffer when sending at higher rate. 2015-03-28 13:07:01 -07:00
Lorenz Meier 4c6ddf9372 Param command: Add functionality to view active params 2015-03-28 13:07:01 -07:00
Lorenz Meier d6f7c9b8b4 systemlib: Implement active param list fully 2015-03-28 13:07:01 -07:00
Lorenz Meier fe12bffefa param subsystem: Only send the instantiated parameters via telemetry 2015-03-28 13:07:01 -07:00
Lorenz Meier 23655675d3 PWM command: Fix code style 2015-03-28 19:54:00 +01:00