Commit Graph

12633 Commits

Author SHA1 Message Date
Randy Mackay 47801a6c4d Compass: bug fix to init of device id
Also init members to reduce compiler warnings
2014-07-16 14:29:10 +09:00
LukeMike b6d361a3f7 build: VRBRAIN changed start of new drivers of sensors 2014-07-15 20:42:50 +10:00
LukeMike f1b99036e2 build: VRBRAIN added new module for rotation of sensors 2014-07-15 20:42:33 +10:00
LukeMike 85fc72c57c AP_InertialSensor: VRBRAIN added 3th inertial sensor 2014-07-15 20:42:15 +10:00
LukeMike dd1cab3ab8 HAL_VRBRAIN: updated analog drivers and scheduler driver to latest official version 2014-07-15 20:42:11 +10:00
Andrew Tridgell 9e921719ca HAL_Linux: added bus scanning test 2014-07-15 19:06:11 +10:00
Andrew Tridgell bcc8768358 HAL_Linux: fixed a build warning 2014-07-15 13:56:50 +10:00
Andrew Tridgell 1b85b12738 HAL_Linux: made I2C driver more portable
this uses a typeof() to cope with different kernel data types for I2C
messages
2014-07-15 13:56:50 +10:00
nwind21 485726258b autotest: Add code to detect if a hard link is not allowed (for VM's). 2014-07-15 12:22:48 +10:00
Markus Koetter e06b3f3ff6 Travis-CI: add vrubrain-v51 target (Copter) 2014-07-15 11:50:09 +10:00
Arthur Benemann ef3b503448 tools: Adding support for Travis-CI 2014-07-15 11:49:16 +10:00
Arthur Benemann ff11b13f9c tools: In install-prereqs-ubuntu.sh add support for relative paths
Install the required projects (PX4*) in the same folder from where the script is called.
Install the arm toolchain at /opt
2014-07-15 11:47:01 +10:00
Arthur Benemann b76b090acd tools: Make install-prereqs-ubuntu.sh work with newer versions of Ubuntu
* Install libraries for 64bit Ubuntu systems.
* Less noise apt-get output
* Install packages required for SITL simulation
* Install pymavlink, MAVProxy and droneapi
* Remove modemmanager package
* Add autotest/ to the path
2014-07-15 11:46:58 +10:00
Markus Koetter 1edf7ef05f AP_HAL: use VRBRAIN INS/BARO/COMPASS for VRBRAIN boards 2014-07-15 11:43:00 +10:00
Markus Koetter 701aa9ac4c AP_Compass: DEVIOCGDEVICEID is (currently) not defined in VRNuttX 2014-07-15 11:42:37 +10:00
Randy Mackay ba25f051e7 AutoTest: reduce fence radius to 150m for testing 2014-07-14 11:25:30 +09:00
Randy Mackay cc9c3bb5aa AC_Fence: increase default radius to 300m
300m is still within line of sight and this should reduce the number of
false breaches due to bad GPS positions
2014-07-14 11:25:04 +09:00
Andrew Tridgell 224515f3eb HAL_Linux: fixed indexing of device array for SPI 2014-07-14 11:31:55 +10:00
Andrew Tridgell 3292055af2 HAL_Linux: fixed dataflash SPI 2014-07-14 11:07:41 +10:00
Andrew Tridgell fe475a3561 AP_RangeFinder: removed old PulsedLightLRF example 2014-07-14 10:43:17 +10:00
Andrew Tridgell 5d6ef45662 AP_RangeFinder: removed old MaxSonarXL example 2014-07-14 10:42:20 +10:00
Andrew Tridgell c425e7e060 AP_RangeFinder: fixed example build 2014-07-14 10:41:28 +10:00
Andrew Tridgell e448168ba6 AP_Motors: fixed example build 2014-07-14 10:41:16 +10:00
Andrew Tridgell 2b3d17d955 AP_Baro: fixed APM1 build 2014-07-14 09:50:17 +10:00
Andrew Tridgell 6312b9f8c0 HAL_Linux: allow different SPI and GPIO devices on different boards
this fixes the Replay utility, which uses subtype NONE, and will make
it easier to port to new boards
2014-07-14 09:44:37 +10:00
bugobliterator 003806fcc1 HAL_Linux: pwmpru,HAL_Linux_RCOut code doesn't wait for magic flag to send data
change pwmpru code to remove frequent wrong PWM outputs
Replace pru firmware with new modified pru firmware
2014-07-14 09:44:37 +10:00
bugobliterator 8cf628e780 HAL_Linux_RCoutput:Add handler to catch SIGBUS error 2014-07-14 09:44:37 +10:00
bugobliterator 25e670d0cc HAL_LINUX_RCOutput: Change to reading hilo_read instead of periodhi
use uint instead of int
2014-07-14 09:44:36 +10:00
Andrew Tridgell a46d8dbd51 HAL_Linux: make the spi driver fd part of the manager, not device
it should be one connection to the kernel per bus, not one per device
2014-07-14 09:44:36 +10:00
bugobliterator 2fd165d023 Copter: Add esc_calib to as an app in cli
Usage Notes:
- when in cli mode select setup
- inside setup use esc_calib <chan_mask> to launch esc calibration
  e.g. esc_calib 1010 : enable calibration for Motor 2 and Motor 4
2014-07-14 09:44:36 +10:00
Andrew Tridgell be02f0c34f AP_Baro: work around occasional 0 values from MS5611
this was seen on the PXF board. It isn't yet known why it happens
2014-07-14 09:44:36 +10:00
Andrew Tridgell 1e20f89f90 AP_Compass: use HAL_COMPASS_DEFAULT in example code 2014-07-14 09:44:36 +10:00
Andrew Tridgell 9f8f27090a HAL_Linux: MPU9250 is restricted to 1MHz for setup
(see datasheet)
2014-07-14 09:44:36 +10:00
Andrew Tridgell 0f724c1d7a AP_InertialSensor: removed per-device example code
now can use a single generic test for all boards
2014-07-14 09:44:36 +10:00
Andrew Tridgell b0ab2671cd AP_Baro: removed old device specific example code
not needed any more
2014-07-14 09:44:36 +10:00
Andrew Tridgell 9ebc95b6fd AntennaTracker: converted to new HAL sensor setup 2014-07-14 09:44:36 +10:00
Andrew Tridgell 028e2e34f1 AP_Baro: added generic baro test sketch 2014-07-14 09:44:36 +10:00
Andrew Tridgell 563f516f6b HAL_FLYMAPLE: rename flash_stm32.c to .cpp
this avoids a compiler hang on Ubuntu when not building for flymaple
2014-07-14 09:44:36 +10:00
Andrew Tridgell 273bc230e6 HAL_AVR: renamed pins_arduino_mega.c to .cpp
this fixes a compiler hang on at least one Ubuntu platform. May be a
problem building empty C files?

It also makes our build more consistent
2014-07-14 09:44:36 +10:00
Andrew Tridgell 5a170c6343 AP_InertialSensor: added INS_generic test 2014-07-14 09:44:36 +10:00
Andrew Tridgell d1ba78002d AP_InertialSensor: added paranoid check for DRDY pin 2014-07-14 09:44:36 +10:00
Andrew Tridgell 549e08446a HAL_Linux: use BBB pin names in SPIDriver
easier to find the pins on the board
2014-07-14 09:44:36 +10:00
Andrew Tridgell 6f9965cc22 AP_InertialSensor: fixed setup of DRDY pin on MPU9250 2014-07-14 09:44:36 +10:00
Andrew Tridgell 6a6dbe5790 AP_InertialSensor: added check for WHOAMI on MPU9250 2014-07-14 09:44:35 +10:00
Andrew Tridgell e2822a2d8f Tools: added Makefile for BBB overlays 2014-07-14 09:44:35 +10:00
Andrew Tridgell e24febec1b AP_TECS: avoid a valgrind bug 2014-07-14 09:44:35 +10:00
Andrew Tridgell 8e5915ef7d HAL_Linux: fixed some valgrind errors 2014-07-14 09:44:35 +10:00
Andrew Tridgell 130f831c1c HAL_Linux: use MODE_3 for MPU9250
this fixes the MS5611 (probably due to idle state?)
2014-07-14 09:44:35 +10:00
Andrew Tridgell f73ec95c39 AP_Baro_MS5611: added PROM CRC checking
disabled on APM2 to save flash space
2014-07-14 09:44:35 +10:00
Andrew Tridgell 6c3197cb43 AP_Notify: fixed SITL build 2014-07-14 09:44:35 +10:00