pkancir
506db4eaf5
AP_HAL_Linux: add ADC support for PXF cape
2016-01-11 15:44:24 -02:00
Lucas De Marchi
0817fe6033
AP_HAL_Linux: default USE_FRAM to 0 for all boards
...
This disables FRAM usage in PXF and erleboard. The reason is it's
failing and not being used. Right now we get this on startup:
root@beaglebone:~# ./ArduCopter.elf
FRAM: Online
Storage: FRAM is getting reset to default values
Failed to read FRAM
Testing with valgrind also reveals some invalid memory reads. Let's
disable it for now to be common with other boards.
2016-01-11 15:44:24 -02:00
Lucas De Marchi
2a33b6bf33
AP_HAL_Linux: OpticalFlow: remove unneeded panic
...
There's already a panic() below.
2016-01-11 15:34:14 -02:00
Ricardo de Almeida Gonzaga
7adbccac9a
AP_HAL_Linux: add support for OpticalFlow to MinnowBoardMax
...
This commit adds support for OpticalFlow to MinnowBoardMax trying to
leave the OpticalFlow implementation as generic as it already is.
We had to add some format conversion and software crop to the cameras that
do not have this features.
2016-01-11 15:31:27 -02:00
Ricardo de Almeida Gonzaga
8aded390e7
AP_HAL_Linux: add yuyv_to_grey() and crop_8bpp() to VideoIn
...
Most cameras do not support NV12 or GREY formats, we are adding in this commit
a conversion from YUYV format, that seems pretty common in cameras, to GREY
format (since we do not use Cb and Cr data on OpticalFlow).
Also we are adding a software crop for 8bpp images, such as GREY format. For
the same reason, most cameras do not have support for overlaying (crop, resize
and so on).
These functions are being added in order to be used in the next commits,
where we will add support for OpticalFlow on MinnowBoardMax.
2016-01-11 15:31:27 -02:00
Ricardo de Almeida Gonzaga
27f909319e
AP_HAL_Linux: add get_pixel_formats() to VideoIn
...
This function is being added in order to be used in the next commits,
where we will add support for OpticalFlow on MinnowBoardMax.
2016-01-11 15:31:26 -02:00
Julien BERAUD
979184607d
OpticalFlow_Onboard: fix comment
...
Copy-paste mistake
2016-01-11 14:54:51 -02:00
Rustom Jehangir
cfe46acea6
Update BlueROV motors and new manual_control function to output proper motor values to all 6 motors.
2016-01-10 18:41:50 -08:00
Rustom Jehangir
59a5383031
Adjusted forward/strafe channels to not conflict with roll/pitch. Roll and pitch will be hard-coded to zero to stay level.
2016-01-10 16:43:08 -08:00
Peter Barker
f9f6cbaf9e
SITL: use (larger!) font6 as default xterm font
2016-01-11 11:42:07 +11:00
Rustom Jehangir
3e8211e900
Added function to transform MANUAL_CONTROL messages to RC override. This allows MANUAL_CONTROL to work properly without changing much else.
2016-01-10 16:23:03 -08:00
Andrew Tridgell
6e418c2cf5
autotest: always sleep for 3 seconds on starting SITL
2016-01-11 09:31:13 +11:00
Rustom Jehangir
094ff56c57
Added a MAVLink message handler for MANUAL_CONTROL. It currently sends values to override the RC channels for testing. This will change.
2016-01-10 11:32:45 -08:00
Andrew Tridgell
decb6dbab0
autotest: added option of autotest with gdb
2016-01-10 21:26:50 +11:00
Andrew Tridgell
097c2011e1
HAL_SITL: prevent abort on select with -1 fd
2016-01-10 21:26:35 +11:00
Andrew Tridgell
9bb251a3fa
autotest: disable DF log for QuadPlane test
...
it is just too big to be useful
2016-01-10 17:43:02 +11:00
Andrew Tridgell
6cf1fd762b
autotest: don't show line noise in log download
2016-01-10 17:43:01 +11:00
Andrew Tridgell
bd111bd90b
autotest: lower log bitmask for QuadPlane
...
reduce log size
2016-01-10 17:43:01 +11:00
Andrew Tridgell
deb0b9c197
HAL_SITL: read in larger chunks
2016-01-10 17:43:01 +11:00
Andrew Tridgell
655f57ad01
HAL_SITL: cleanup class names
...
remove SITL prefix
2016-01-10 17:43:01 +11:00
Andrew Tridgell
492c733750
HAL_SITL: added RingBuffers to UART driver
...
makes for faster log download
2016-01-10 17:43:01 +11:00
Andrew Tridgell
eabceb34e1
Plane: update release notes for Pixracer support
2016-01-10 17:43:01 +11:00
Rustom Jehangir
16dc7b42ba
Merge branch 'master' of https://github.com/diydrones/ardupilot
2016-01-09 09:06:43 -08:00
Gustavo Jose de Sousa
d6b4e98a88
waf: remove already fixed TODOs
...
The TODOs removed with this patch were already fixed. Below is the explanation
for each.
- TODO: add support for unit tests.
- Supported already added.
- TODO: Check if we should simply use the signed 'waf' "binary" (after
verifying it) instead of generating it ourselves from the sources.
- We're using a submodule for waf.
- TODO: evaluate if we need shortcut commands for the common targets
(vehicles). currently using waf --targets=NAME the target name must contain
the board extension so make it less convenient, maybe hook to support
automatic filling this extension?
- There's no need of adding the extension anymore.
- TODO: Once HAL patches get in, need to filter out the HAL based on the
bld.env.BOARD.
- The board-specific HAL library folders is indicated in
bld.env.AP_LIBRARIES.
2016-01-09 14:08:07 -02:00
Andrew Tridgell
2c617cf8f0
scripts: stop building flymaple for plane
...
it no longer fits in flash
2016-01-09 17:03:41 +11:00
Rustom Jehangir
9e39e25a20
Merge.
2016-01-08 22:03:40 -08:00
Rustom Jehangir
12b18c9204
Fixed the arming process I previously disabled.
2016-01-08 21:59:22 -08:00
Rustom Jehangir
56e3770a06
Change user config file for default options. Eventually these will be moved into the main config file as Sub defaults.
2016-01-08 21:58:09 -08:00
Rustom Jehangir
db3666c284
Rebased.
2016-01-08 21:57:01 -08:00
Andrew Tridgell
62b6057249
autotest: switch QuadPlane mission to full OBC2016 mission in Dalby
2016-01-09 16:50:17 +11:00
Rustom Jehangir
bbca4f723e
Branch ArduPlane into ArduSubsea.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
3e542d4e08
Fixed error in RCMapper for new channel parameters.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
63a866b392
Added control_rov file to hold the two methods needed for simple ROV control and basic testing of this project. Also added the code needed to pass the forward and strafe inputs to the motors class.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
7b8813f1fc
Added forward and strafe channels to the radio. This might not be the best method for this, but it should work for now and will allow the control classes to be changed appropriately.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
c9b60d9d41
Change user config file for default options. Eventually these will be moved into the main config file as Sub defaults.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
ce5530adb1
Added frame type BLUEROV to configure use with the new AP_MotorsBlueROV class.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
1340a2a1ac
Changed the majority of the BlueROV motor library file. Haven't compile tested yet because this commit was made by accident. Whoops. Will commit a fix if it breaks.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
4f9fd8dd6b
Changed class names in new AP_MotorsBlueROV class for compilation. All other code is still identical to the tricopter motor class.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
72469e909c
Copied tricopter Motor library files as the base for the BlueROV motor library. This was done because it doesn't use the Matrix parent class, which is too specific to flying multicopters.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
4a74f623c4
Added forward and strafe setters and getters to AP_Motor_Class to enable a motor class with 6DOF actuators.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
0e978ed99c
Changed to ArduCopter as the base code.
2016-01-08 21:49:55 -08:00
Rustom Jehangir
e6684735fe
Branch ArduPlane into ArduSubsea.
2016-01-08 21:49:54 -08:00
Andrew Tridgell
eec1b95f69
autotest: added quadplane test
2016-01-09 16:27:03 +11:00
Andrew Tridgell
9e43d5a4bb
autotest: added defaults_file option to start_SIL()
2016-01-09 16:26:51 +11:00
Andrew Tridgell
5a24e93cc5
Plane: removed debug code and add quadplane setup checks
2016-01-09 16:26:13 +11:00
Rustom Jehangir
f26e741c6f
Pulled in and merged upstream.
2016-01-08 21:18:45 -08:00
Rustom Jehangir
ee4a714a19
Merge branch 'master' of https://github.com/diydrones/ardupilot
2016-01-08 21:07:48 -08:00
Rustom Jehangir
aad6fcbbf8
Merged Jacob's changes but removed deleted submodules from commit.
2016-01-08 20:33:21 -08:00
Andrew Tridgell
9e3c1fddef
Plane: updated release notes
2016-01-09 15:17:45 +11:00
Rustom Jehangir
e05b0c3929
Merge branch 'Jacob' of https://github.com/jaxxzer/ardupilot into jaxxzer-Jacob
2016-01-08 20:17:26 -08:00