Commit Graph

8601 Commits

Author SHA1 Message Date
Lorenz Meier 0332b79cdf Merge branch 'master' of github.com:PX4/Firmware into airspeed_test_fix 2014-07-12 19:06:12 +02:00
Lorenz Meier 67e3a904b6 fix ms5611 code style for usage call 2014-07-12 19:05:13 +02:00
Andrew Tridgell 005dd206d1 hmc5883: periodically check the config and range registers
this copes with I2C comms errors causing the range or config registers
to become corrupted, leading to bad reading. This is easily
reproducible with a 1.3m I2C cable in the same run of cable as a GPS
UART cable. The error happens every half hour or so.

Conflicts:
	mavlink/include/mavlink/v1.0
	src/drivers/hmc5883/hmc5883.cpp
2014-07-12 19:04:25 +02:00
Lorenz Meier 1bf293270d Merge pull request #1163 from hxxnrx/px4io_i2c_speed_400khz
Set IO PX4_I2C_BUS_ONBOARD I2C speed to 400KHz
2014-07-12 18:44:58 +02:00
Lorenz Meier a962bc7736 Merge pull request #1060 from PX4/dataman_state_nav_rewrite
dataman_state + navigator_rewrite
2014-07-12 18:44:46 +02:00
Lorenz Meier 0144a7dacf mavlink: Optimize to native types where possible, move things to optimize alignment 2014-07-12 18:43:09 +02:00
Lorenz Meier ffebe45c4c mavlink: Handle unhandled enum cases 2014-07-12 18:42:25 +02:00
Lorenz Meier b288b010f1 tests, drive by: Fix double comparison, use reasonable margin based on context of test 2014-07-12 18:42:00 +02:00
Andrew Tridgell 8a3a87331d mpu6000: fixed internal/external mixup in pointers
Thanks to Emile for spotting this!

Conflicts:
	mavlink/include/mavlink/v1.0
2014-07-12 16:27:39 +02:00
Andrew Tridgell 20cd5026d8 device: use bitfields to keep DeviceStructure small
this keeps it small enough to fit in a float, which makes it possible
to see the full value in a MAVLink tlog

Conflicts:
	mavlink/include/mavlink/v1.0
2014-07-12 16:27:19 +02:00
Andrew Tridgell 6cffa948fe device: pass CDev::ioctl() to superclass
this allows DEVIOCGDEVICEID to work.
2014-07-12 16:26:21 +02:00
Andrew Tridgell c6b0dc1ee8 lsm303d: setup device type 2014-07-12 16:26:12 +02:00
Andrew Tridgell 30a6a3d0b6 hmc5883: setup device type 2014-07-12 16:25:57 +02:00
Andrew Tridgell a2739707bb drv_mag: added devtypes for magnetometers 2014-07-12 16:25:50 +02:00
Andrew Tridgell 93d444d1aa device: added a _device_id to all drivers
this device ID identifies a specific device via the tuple of (bus, bus
type, address, devtype). This allows device specific configuration
data to be stored along with a device ID, so the code can know when
the user has changed device configuration (such as removing an
external compass), and either invalidate the device configuration or
force the user to re-calibrate
2014-07-12 16:25:43 +02:00
Lorenz Meier a2f528c5ba Merged master 2014-07-12 16:11:43 +02:00
Lorenz Meier 4dc65d6f09 NuttX I2C fixes 2014-07-12 16:09:49 +02:00
Lorenz Meier 45617e9f43 Airspeed calibration improvement, enforce correct pitot order 2014-07-12 16:09:14 +02:00
Lorenz Meier a0d150332a Add note to param about tubes 2014-07-12 15:39:04 +02:00
Lorenz Meier 7b768d11c3 Improve mission feedback, fix compile errors 2014-07-12 14:31:09 +02:00
Lorenz Meier 629ab5540f Fix severity handling of text messages 2014-07-12 14:30:49 +02:00
Lorenz Meier 5616a07bf3 Final default values and more comments for params 2014-07-12 14:29:56 +02:00
Lorenz Meier 065bf013a4 More obvious error message for mission reject 2014-07-12 14:29:30 +02:00
Lorenz Meier 2fa4434a03 Limit output of driver to positive range 2014-07-12 00:17:50 +02:00
Lorenz Meier 9c63aba9a7 Ensure NaN check is executed before any parts of the filter are run. Fix GPS velocity reset for case of initialized GPS 2014-07-11 22:44:54 +02:00
Lorenz Meier e3afb669ca sensors: Fix usage of offset for measurements 2014-07-11 22:09:47 +02:00
Lorenz Meier 899657613e airspeed cal: Improve user feedback 2014-07-11 22:09:25 +02:00
Lorenz Meier 21ce6676a1 Merged master into airspeed_test_fix 2014-07-11 22:03:05 +02:00
Simon Wilks 4495388a59 Merge remote-tracking branch 'upstream/master' into wingwing 2014-07-11 21:57:37 +02:00
Lorenz Meier 66e840ebd7 Merge pull request #1172 from sjwilks/wingwing_mixer
Wing wing mixer
2014-07-11 21:54:23 +02:00
Simon Wilks f8115e4e2e Renamed mixer file. 2014-07-11 21:51:35 +02:00
Lorenz Meier 38eb64cdeb Merge branch 'master' of github.com:PX4/Firmware into dataman_state_nav_rewrite 2014-07-11 21:41:33 +02:00
Simon Wilks 0a3a13ac70 Updated following flight tests today. 2014-07-11 21:38:12 +02:00
Simon Wilks e4264aad82 The wing wing is too small to have flaps, gimbals, etc. 2014-07-11 21:34:51 +02:00
Simon Wilks a3210f31fe Create a mixer for the Wing Wing. 2014-07-11 21:30:59 +02:00
Lorenz Meier 2c4cf30857 Merge branch 'master' of github.com:PX4/Firmware into stack_reduce 2014-07-11 21:05:14 +02:00
Lorenz Meier c474d2cbf1 FMUv2: Reduce excessive stack sizes 2014-07-11 21:04:34 +02:00
Lorenz Meier aa05582598 FMUv1: Reduce excessive stack sizes 2014-07-11 21:04:09 +02:00
Lorenz Meier f487536caf Merge pull request #1168 from PX4/gps_printing
GPS driver: Print velocity as part of status command
2014-07-11 17:33:38 +02:00
Lorenz Meier 48a614c2cb Merge branch 'master' of github.com:PX4/Firmware into dataman_state_nav_rewrite 2014-07-11 16:59:01 +02:00
Lorenz Meier 11d9724563 Stop warning users just because they shake a bit, be more strict to catch sensor failures or calibration errors in time 2014-07-11 16:03:27 +02:00
Lorenz Meier a118e8dbdd Make commander error message more verbose 2014-07-11 15:17:21 +02:00
Lorenz Meier 79c5d434bd Commander: More hotfixes to prearm check routine 2014-07-11 15:10:11 +02:00
Lorenz Meier a82d4fbb11 Hotfix: fix typo 2014-07-11 14:55:46 +02:00
Lorenz Meier b97c867420 Add a check command and fix error reporting 2014-07-11 14:51:13 +02:00
Lorenz Meier c93936c19b Merge pull request #1169 from PX4/comment-fixes
Better Doxygen for topics, no code changes
2014-07-11 14:31:21 +02:00
Lorenz Meier ee573fea9d GPS driver: Print velocity as part of status command 2014-07-11 14:25:16 +02:00
Lorenz Meier 7ea76336ca Better Doxygen for topics, no code changes 2014-07-11 14:24:07 +02:00
Lorenz Meier 5400ea9815 Merge branch 'master' of github.com:PX4/Firmware 2014-07-11 14:02:38 +02:00
Lorenz Meier 4c13c67504 Hotfix: Close fd before reusing it again 2014-07-11 14:02:22 +02:00