Commit Graph

8309 Commits

Author SHA1 Message Date
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 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
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 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 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
Lorenz Meier 0baa7927fa Merge pull request #1162 from PX4/hil_outs_fix
mavlink: use all outputs in HIL mode
2014-07-10 21:49:50 +02:00
Anton Babushkin dca8daeec5 mavlink: use all outputs in HIL mode 2014-07-10 21:37:00 +02:00
Lorenz Meier 5bb8c50112 Fixed the submodule check logic 2014-07-10 16:14:21 +02:00
Lorenz Meier 58cae259e4 Merge pull request #1158 from jean-m-cyr/master
Prevent stack overflow when flashing px4io
2014-07-10 07:22:35 +02:00
Jean Cyr 12da0efbb2 Read the full buffer
sizeof wont work here since file_buf is now a pointer
2014-07-10 00:55:33 -04:00
Jean Cyr 8c6745d53f Prevent stack overflow when flashing px4io
Large local variable causing stack overflow when attempting to flash
IO!!!
2014-07-10 00:41:09 -04:00
Lorenz Meier 8f2340acaf Merge pull request #1148 from PX4/fmu_stack
Reduce excessive FMU stack usage
2014-07-08 20:55:10 +02:00
Lorenz Meier 5270a80edb Merge pull request #1154 from sjwilks/submodule_tool
Make the check for an empty string more compatible with linux distros
2014-07-08 19:43:27 +02:00
Simon Wilks 13b41a2629 Add quotes around the variable. It's safer. 2014-07-08 19:17:25 +02:00
Simon Wilks b4ab31a2ba A more compatible way of checking for an empty string. 2014-07-08 19:11:28 +02:00
Lorenz Meier 855679f610 Merge pull request #1131 from PX4/pr-1131
Fix SPI struct unitialized use warning
2014-07-08 18:02:13 +02:00
Lorenz Meier 0054eb23d8 Update sensors tests 2014-07-08 15:44:33 +02:00
Andrew Tridgell ee92334512 build: fixed running build from external directory 2014-07-08 15:34:47 +02:00
Lorenz Meier 76f82bf237 Updated submodule update instructions 2014-07-08 15:04:01 +02:00
Andrew Tridgell bc06d839ea Tools: skip check_submodules.sh when GIT_SUBMODULES_ARE_EVIL is set
this avoids using submodules when a specific NuttX tree is specified
2014-07-08 15:01:48 +02:00
Lorenz Meier 52713bc0ba Revert "Tools: skip check_submodules.sh when NUTTX_SRC is set"
This reverts commit ac8f179f2d.
2014-07-08 15:00:44 +02:00
Andrew Tridgell ac8f179f2d Tools: skip check_submodules.sh when NUTTX_SRC is set
this avoids using submodules when a specific NuttX tree is specified
2014-07-08 13:56:02 +02:00
Lorenz Meier 02ad0f2b91 Merge branch 'warning_fixes_v5' into sensor_drivers 2014-07-08 13:55:52 +02:00
Lorenz Meier 0b4ff28037 Merge branch 'master' of github.com:PX4/Firmware into warning_fixes_v5 2014-07-08 13:54:43 +02:00
Lorenz Meier e380aa3f62 AT24C: Fix warning due to missing function prototype. 2014-07-08 13:54:33 +02:00
Lorenz Meier ea4de4adc3 param command: fix warnings 2014-07-08 13:54:01 +02:00
Lorenz Meier 83f343f196 LL40LS: Fix initialiser order in class 2014-07-08 13:53:25 +02:00
Lorenz Meier f2cbc7fe27 MB12xx: Fix initialiser order in class 2014-07-08 13:53:10 +02:00
Lorenz Meier 812d326912 L3GD20: Fix usage function call to fit existing structure. 2014-07-08 13:52:42 +02:00
Lorenz Meier 875be65242 MPU6000: Fix usage function call to fit existing structure. 2014-07-08 13:52:28 +02:00
Lorenz Meier 7d15e999f1 LSM303: Fix usage function call to fit existing structure. 2014-07-08 13:52:10 +02:00