Commit Graph

13383 Commits

Author SHA1 Message Date
bugobliterator ac11d282b5 HAL_Linux: Add support for PPM input to HAL_Linux
rcin thread continuously scans for values inside ring buffer maintained by pru with rcinpru0 firmware.
2014-08-19 10:08:16 +10:00
bugobliterator 5e03df2d9a Tools:HAL_Linux_Essentials: store pin status during pulse instead of status after pulse 2014-08-19 10:08:16 +10:00
bugobliterator 210d3e8c32 Tools:HAL_Linux_Essentials:add rcinput test code
the test code performs continuous reads from ring buffer shared with PRU0
2014-08-19 10:08:16 +10:00
bugobliterator d8e36fee41 Tools:HAL_Linux_Essentials: Add PRU side of code for RCinput to run on PRU0
PRU0 with rcinpru0 firmware will be timing pin state changes and loading it inside ring buffer maintained inside SHARED_RAM at 0x12000 offset
2014-08-19 10:08:16 +10:00
bugobliterator 072c39ea6a AP_HAL: Add option to select Storage type AP_HAL_Boards.h
user can set HAL_STORAGE as USE_FS or USE_FRAM inside AP_HAL_Boards.h as per his/her choice or board setup
2014-08-19 10:08:16 +10:00
bugobliterator 4b2f7cd163 HAL_Linux: Add FRAM HAL driver support for non-volatile storage
Support for File System starage mode is retained, appropriate Storage
mode can be set by defining USE_FS_STORAGE for File System storage
aand US_FRAM_STORAGE for FRAM storage.  Note: FS storage and FRAM
storage are never synced as of now.
2014-08-19 10:08:16 +10:00
Victor Mayoral Vilches 04a8377462 Tools: Change sensor configurations easily.
This shell script allows to change the sensor configuration
(for now just supports IMU changes) so that the autopilot is
compiled for different combinations of sensors. This has probed
to be useful with Linux-based boards (e.g.: PXF, Erle-board)
that include serveral, different sensors for each kind.
2014-08-19 10:08:16 +10:00
Victor Mayoral Vilches 8a71fdf092 HAL_Linux: minor syntax fix in UARTDriver
Typo noticed by @hcervino.
2014-08-19 10:08:16 +10:00
Silvia b6baf78e73 HAL_Linux:duplicate `#include <sys/types<`deleted 2014-08-19 10:08:16 +10:00
Silvia 7fd0e8345d HAL_Linux: Duplicate `#include <unistd.h>`deleted 2014-08-19 10:08:16 +10:00
Víctor Mayoral Vilches 37793cd7fa AP_HAL_Namespace: Change LSM9DS0 into two different devices. 2014-08-19 10:08:15 +10:00
Víctor Mayoral Vilches df1de4efd6 AP_InertialSensor: Driver added for the LSM303D 2014-08-19 10:08:15 +10:00
Víctor Mayoral Vilches 8968647873 AP_InertialSensor: INS_generic example, add support L3GD20 2014-08-19 10:08:15 +10:00
Víctor Mayoral Vilches 0f908a8ccd HAL_Linux: Add L3GD20 to the AP_InertialSensor header 2014-08-19 10:08:15 +10:00
Víctor Mayoral Vilches e272ed8d96 AP_HAL: Add support for L3GD20 2014-08-19 10:08:15 +10:00
Víctor Mayoral Vilches 556d46a4ef AP_InertialSensor: L3GD20 driver added
L3GD20 gyro userspace sensor added. The driver constructs
over the implementation of the PX4 Dev Team at
https://github.com/diydrones/PX4Firmware.
2014-08-19 10:08:15 +10:00
Víctor Mayoral Vilches bfacf08c30 HAL_Linux: LSM9DS0 legacy driver moved to AP_InertialSensor/LSM9DS0/
The new LSM9DS0 driver will consist of the AP_InertialSensor_L3GD20 and
the AP_InertialSensor_LSM303D. For that reason the old LSM9DS0
(consisting of gyro and accel+mag implemented on a single class) has
been moved to a folder.

Legacy LSM9DS0 didn't probe to receive "correct" data.
2014-08-19 10:08:15 +10:00
Víctor Mayoral Vilches 82186a3961 HAL: Add two new SPI devices
SPIDevice_LSM303D and SPIDevice_L3GD20 added to the enum.
The code has also been formated.
2014-08-19 10:08:15 +10:00
Andrew Tridgell 60e501d5ab AP_GPS: moved UBX log headers to DataFlash
headers were not always being written
2014-08-19 10:08:15 +10:00
Andrew Tridgell 2b02fdbbc9 DataFlash: moved UBX logging headers to DataFlash 2014-08-19 10:08:15 +10:00
Craig Elder 27a7ea2766 Frame Parameters: 3DR Aero RTF 2014-08-18 15:33:34 -07:00
NullVoxPopuli e578fb1615 Copter: add A-Tail to FRAME parameter description 2014-08-18 14:31:03 +09:00
NullVoxPopuli c672b3e324 Copter: Added support for V-Shaped and A-Shaped VTail Quadcopter frames
Signed-off-by: NullVoxPopuli <LPSego3+dev@gmail.com>
2014-08-18 14:31:01 +09:00
priseborough 162b824424 Copter : Distinguish between EKF and INAV errors 2014-08-18 14:17:50 +09:00
Randy Mackay 946de4f644 Tools: build antenna tracker binary 2014-08-18 13:00:16 +09:00
Randy Mackay ccc8068443 Copter: range check ACRO_EXPO to be no more than 1 2014-08-18 12:56:22 +09:00
Randy Mackay fcc5c7c12e Copter: update master firmware ver to AC3.3-dev
Further AC3.2 fixes will appear in the ArduCopter-3.2 branch
2014-08-18 11:45:54 +09:00
Andrew Tridgell cf410f8d12 Plane: prepare for 3.1.0-beta3 2014-08-17 18:25:46 +10:00
Andrew Tridgell 1ce3d1d4a4 Plane: update for AFS API change 2014-08-17 18:07:50 +10:00
Andrew Tridgell d8fe4f366d APM_OBC: added AFS_RC_FAIL_MS, AFS_MAX_GPS_LOSS and AFS_MAX_COM_LOSS 2014-08-17 18:06:42 +10:00
Andrew Tridgell 9fff67ec89 Plane: update for APM_OBC API change 2014-08-17 09:13:29 +10:00
Andrew Tridgell 4e97c98fa1 APM_OBC: removed use of extern function 2014-08-17 09:13:29 +10:00
Randy Mackay d130f0c499 Revert "Rover: use rcmap when sending radio_in to GCS"
This reverts commit fb867f3a06.
2014-08-16 20:31:29 +09:00
Randy Mackay f490a289de Revert "Copter: use rcmap when sending radio_in to GCS"
This reverts commit 716f625924.
2014-08-16 20:31:24 +09:00
Randy Mackay c107f1da69 Revert "Plane: use rcmap when sending radio_in to GCS"
This reverts commit 441f23eed4.
2014-08-16 20:31:21 +09:00
Randy Mackay de747d215a Revert "GCS_MAVLink: send radio_in using rcmap"
This reverts commit 0881ccbee0.
2014-08-16 20:31:14 +09:00
Emile Castelnuovo 0d62b15292 AP_HAL: added missing CONFIG_HAL_BOARD_SUBTYPE #define for HAL_BOARD_VRBRAIN 2014-08-16 20:28:57 +10:00
Emile Castelnuovo 3b53c167a0 AP_Compass: VRBRAIN. Deal with external mag connected on internal I2C on VRBRAIN 4.5
This enables user to set the external parameter to true even if only one compass is connected
2014-08-16 20:28:50 +10:00
Emile Castelnuovo bbb9925c47 DataFlash: Added four more channels for logging 2014-08-16 20:28:46 +10:00
LukeMike bebfbd3fbb VRBRAIN: modified target clean 2014-08-16 20:28:42 +10:00
Andrew Tridgell 8f3dad0d1c APM_Control: increase available range for roll and pitch 2014-08-16 18:07:22 +10:00
Randy Mackay fb867f3a06 Rover: use rcmap when sending radio_in to GCS 2014-08-16 15:28:01 +09:00
Randy Mackay 716f625924 Copter: use rcmap when sending radio_in to GCS 2014-08-16 15:27:49 +09:00
Randy Mackay 441f23eed4 Plane: use rcmap when sending radio_in to GCS 2014-08-16 15:27:35 +09:00
Randy Mackay 0881ccbee0 GCS_MAVLink: send radio_in using rcmap 2014-08-16 15:27:03 +09:00
Randy Mackay 5b114dcad5 Copter: remove unused WP_OPTION definitions
This also kicks off the build for AC3.2-rc5
2014-08-16 12:18:48 +09:00
Randy Mackay 7202aa00da Copter: remove compass learn of offsets
This saves 1k of flash and the interference on most copters makes this
option unusable anyway.
2014-08-16 10:45:11 +09:00
Randy Mackay d6890ce878 Notify: remove ToshibaLED support from APM
This saves about 1k of precious flash
2014-08-16 10:30:30 +09:00
Craig Elder b0d26d9ace * Frame Parameters: 3DR AERO RTF
Updated RLL2SRV_P parameter
2014-08-15 12:18:49 -07:00
Andrew Tridgell b38c9544f9 AP_RangeFinder: make values clearer for APM2 2014-08-15 20:28:22 +10:00