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
Andrew Tridgell
097c2011e1
HAL_SITL: prevent abort on select with -1 fd
2016-01-10 21:26:35 +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
Tom Pittenger
db8a2f7e8b
AP_TECS: changed land_spdwgt to be sliding scale
2016-01-09 13:25:02 +11:00
Tom Pittenger
89ce0b062b
AP_SpdHgtControl: added new path_propportion var
2016-01-09 13:25:02 +11:00
Andrew Tridgell
ef151944b8
GCS_MAVLink: regenerate headers
2016-01-09 07:38:54 +11:00
Andrew Tridgell
ad59cb9f5c
AP_Mission: support VTOL_TAKEOFF and VTOL_LAND
2016-01-09 07:38:53 +11:00
Andrew Tridgell
712a45eb22
GCS_MAVLink: added VTOL_TAKEOFF and VTOL_LAND
2016-01-09 07:38:53 +11:00
Andrew Tridgell
b3bd83b1c6
AP_TECS: no underspeed when in VTOL
2016-01-09 07:38:52 +11:00
Andrew Tridgell
4f70ca22c1
AP_SpdHgtControl: added VTOL flight stage
2016-01-09 07:38:52 +11:00
Andrew Tridgell
b187a0c6eb
AP_Motors: added quadplane frame type
...
this puts the motors on outputs 5 to 8, to leave the first 4 for the
plane
2016-01-09 07:38:51 +11:00
Andrew Tridgell
22e25cc792
HAL_SITL: added Flightaxis support
2016-01-09 07:38:51 +11:00
Andrew Tridgell
7a7bd0607f
SITL: first version of FlightAxis SITL support
2016-01-09 07:38:51 +11:00
Andrew Tridgell
76e3ae190a
GCS_MAVLink: partial merge of common.xml from upstream
2016-01-09 07:38:51 +11:00
Randy Mackay
b742ee9cfb
AP_Motors: fix example sketch
2016-01-08 18:36:47 +09:00
Michael du Breuil
8c9eafeb3c
AP_GPS: Fix param docs that had incorrect spaces
...
The spaces between values aren't stirpped by the autodoc tool that generates the XML files
2016-01-08 20:17:54 +11:00
Randy Mackay
8c7f36563c
AC_AttControl: bug fix to angle_boost reporting
...
Thanks to OXINARF for finding this
2016-01-08 10:48:59 +09:00
Michael Oborne
a42b286c01
AP_GPS_SBF: update logging based on vendor recommendation.
2016-01-08 10:47:05 +11:00
Andrew Tridgell
b54bb757df
AP_Param: fixed flymaple build
2016-01-08 10:33:45 +11:00
mirkix
1744bc0850
AP_Notify: Use display with bbbmini
2016-01-07 14:32:56 -02:00
mirkix
2457558624
AP_Notify: Add display support
2016-01-07 14:32:56 -02:00
mirkix
dee20a31f1
AP_Notify: Add gps_num_sats
2016-01-07 14:32:56 -02:00
Lucas De Marchi
a803cfd1e8
AP_HAL_Linux: RCInput: use GPIO5 for PPMSUM in bhat
2016-01-07 10:28:16 -02:00
Lucas De Marchi
321803919c
Revert "AP_HAL_Linux: support PWM input for BH hat"
...
This reverts commit 8cca0beba9
.
The PWM input using the RPI DMA is causing trouble with RPI boards using
PPMSUM. Let's revert it until the solution is found. We still leave the
ifdef in RCInput for BH hat.
2016-01-07 10:27:07 -02:00
Randy Mackay
c829ec0c2c
AC_PrecLand: add missing parameter description
...
Thanks to Thomas Stone for finding this
2016-01-07 17:35:18 +09:00
Jonathan Challinger
8fdbb36827
AP_BattMonitor: add is_powering_off
2016-01-07 15:14:07 +09:00
Randy Mackay
5ddd332277
AC_AttControl: add ANGLE_BOOST param
...
This allows disabling angle boost
2016-01-07 12:31:52 +09:00
Randy Mackay
6c458b07cb
MotorsHeli_RSC: resolve compiler warning re init order
2016-01-07 12:31:49 +09:00
Randy Mackay
f6b909d0a5
AHRS_NavEKF: resolve compiler warning re signed vs unsigned comparison
2016-01-07 12:31:47 +09:00
Tom Pittenger
70a45680ed
AP_TECS: fixed param desc for TECS_LAND_THR
2016-01-07 09:36:54 +11:00
Andrew Tridgell
415d800957
AP_Param: use get_custom_defaults_file()
2016-01-07 09:09:54 +11:00
Andrew Tridgell
b4cc3d9668
HAL_SITL: implement get_custom_defaults_file()
2016-01-07 09:09:40 +11:00
Andrew Tridgell
5f4bd10477
AP_HAL: added get_custom_defaults_file() to Util
2016-01-07 09:09:09 +11:00
Andrew Tridgell
f8b52c6a67
AP_AHRS: try to start EKF2 slightly before EKF2
...
this gives priority to EKF2 on memory
2016-01-07 08:34:32 +11:00
Andrew Tridgell
a6c39dee84
AP_NavEKF: don't allocate EKF1 unless it will leave 4k free memory
2016-01-07 08:33:33 +11:00
Andrew Tridgell
9188670e03
AP_TECS: added get_height_rate_demand() call
2016-01-06 22:47:38 +11:00
Andrew Tridgell
a07a8aece1
RC_Channel: added pwm_to_angle_dz_trim()
2016-01-06 22:47:21 +11:00
Andrew Tridgell
7c9ee9363b
AP_Motors: added rc_map_mask() function
2016-01-06 22:09:40 +11:00
Andrew Tridgell
dfccf8f713
AP_Motors: also wrap set_freq and enable_ch for motor mapping
2016-01-06 22:09:40 +11:00
Andrew Tridgell
77af00c5e1
AP_Motors: allow arbitrary mapping of channels on multirotors
...
using RCn_FUNCTION with motor1, motor2 etc
2016-01-06 22:09:40 +11:00
Andrew Tridgell
2777ff63ba
SITL: heli-sim: prevent ground rotation and reduced affect of ground impact
2016-01-06 21:59:56 +11:00
Paul Riseborough
e80fb8b3fa
AP_NavEKF2: Improve non-GPS in-flight attitude accuracy
...
The non-GPS mode was not being activated for small height gains - eg indoor flight.
The incorrect innovation consistency check was being applied to the synthetic velocity observations.
2016-01-06 20:49:21 +11:00
Andrew Tridgell
a3d781bf3f
GCS_MAVLink: fixed a valgrind error
2016-01-06 19:54:00 +11:00
Andrew Tridgell
0e8dbe92f0
GCS_MAVLink: fixed string overrun found by asan
2016-01-06 19:53:14 +11:00
Andrew Tridgell
519afc7a06
HAL_PX4: debug code for FRAM corruption
2016-01-06 19:16:16 +11:00