Andrew Tridgell
6f59c4ae53
DataFlash: added GPSAlt to CAM and TRIG log messages
...
useful for people with RTK GPS
2016-01-29 10:01:51 +11:00
Andrew Tridgell
dc998a2eaf
AP_Camera: make AP_Camera::control() return bool for picture trigger
...
this allows a picture to be logged if it is requested
2016-01-29 09:31:40 +11:00
Andrew Tridgell
2099f40d89
AP_Camera: added CAM_FEEDBACK_POL option
...
allows selection of trigger polarity
2016-01-29 09:19:44 +11:00
Andrew Tridgell
0be28999ea
AP_Camera: updated docs for timing of trigger pin
2016-01-29 09:19:44 +11:00
Andrew Tridgell
061ee5e4fd
AP_Camera: use timer for faster camera trigger pin detection
2016-01-29 09:19:43 +11:00
Jaime Machuca
1001e53140
DataFlash: added TRIGGER message to Logs
...
DataFlash.h: added support for Trigger MSG, supressed TAB separations
and file reorganized LogFile.cpp: included Trigger packet
2016-01-29 09:19:43 +11:00
Dario Lindo Andres
2f3510023d
AP_Camera: Support for camera feedback signal
...
Added _feedback_pin;
Added _camera_triggered;
Included FEEDBACK_PIN parameter and his default definition
2016-01-29 09:19:43 +11:00
mirkix
b5cb48ba6d
AP_BattMonitor: Add BBBMINI defaults
2016-01-28 13:44:44 -02:00
mirkix
c622ff1539
AP_HAL_Linux: Enable AnalogIN_IIO for BBBMINI
2016-01-28 13:44:43 -02:00
mirkix
fe404c8a5d
AP_HAL_Linux: AnalogIIO: Remove unused code, add scaling for BBBMINI, rework
2016-01-28 13:44:43 -02:00
Jonathan Challinger
9a09a86bb8
AP_Motors: add AP_MOTORS_DENSITY_COMP_DISABLED option
2016-01-27 09:18:09 +09:00
Andrew Tridgell
68cf1b6956
HAL_QURT: automatically find broadcast address for UDP network
2016-01-25 19:43:55 +11:00
Jonathan Challinger
ac3b5a4400
GCS_MAVLink: add messages to routing switch statement
2016-01-23 10:35:44 +09:00
Jonathan Challinger
5b834330cb
AP_Mount: merge SoloGimbal from solo master
2016-01-23 10:35:40 +09:00
Jonathan Challinger
eabede692e
AP_SmallEKF: move to AP_Mount/SoloGimbalEKF and merge solo version
2016-01-23 10:35:38 +09:00
Jonathan Challinger
02d8b28fa3
DataFlash: add GMB1, GMB2, GMB3
2016-01-23 10:35:37 +09:00
Jonathan Challinger
cbf2309023
AP_AHRS: add get_mag_field_NED and get_mag_field_correction
2016-01-23 10:35:36 +09:00
Jonathan Challinger
4c2e6af6ee
AP_InertialSensor: statically register with AP_AccelCal
2016-01-23 10:35:34 +09:00
Jonathan Challinger
49ad2d26c6
AP_AccelCal: make client list static
2016-01-23 10:35:33 +09:00
Randy Mackay
081beacb8d
AP_InertialSensor: replace sqrt with safe_sqrt to resolve compiler warning
...
Also add suppressing comment for missing break at end of switch
2016-01-23 10:10:17 +09:00
Gustavo Jose de Sousa
c2e3f05dbf
waf: ardupilotwaf: prefix build context methods with ap_
...
It helps to distinguish between things from waf and things from ardupilotwaf.
2016-01-22 20:10:29 -02:00
Gustavo Jose de Sousa
a2d2661765
waf: use methods from bld instead of ardupilotwaf for the remaining
2016-01-22 20:10:29 -02:00
Gustavo Jose de Sousa
3d22490397
waf: examples: use methods from bld instead of ardupilotwaf
2016-01-22 20:10:29 -02:00
mirkix
2d9b230be1
AP_RangeFinder: Load .data section for HC-SR04 PRU driver used by BBBMINI
...
This adds .data section loading to the HC-SR04 range finder driver used by
BBBMINI. The firmware is running inside a PRU. It is necessary to develop more
complex driver software inside the PRU.
2016-01-21 14:02:41 -02:00
Andrew Tridgell
5da6082d78
GCS_MAVLink: raise the waypoint receive timeout to 8s
...
this fixes a timeout in autotest
2016-01-20 17:23:36 +11:00
Andrew Tridgell
6baae735de
SITL: updated fixed wing model based on last_letter skywalker_2013
...
many thanks to Georacer for this code!
2016-01-20 17:23:36 +11:00
Andrew Tridgell
bc5210d6f2
AP_Arming: don't reporting IMU inconsistencies if IMU not enabled
2016-01-19 18:05:08 +11:00
Andrew Tridgell
24d8610013
AP_InertialSensor: use SIM_GYR_SCALE in SITL
2016-01-19 15:29:08 +11:00
Andrew Tridgell
a828db792e
SITL: added SIM_GYR_SCALE_{X,Y,Z}
...
allows testing of gyro scale factor learning in EKF2
2016-01-19 15:28:53 +11:00
mirkix
86e335b6b6
AP_HAL_Linux: Prevent buffer overflow
2016-01-19 00:14:48 -02:00
Víctor Mayoral Vilches
5d28fbfa1b
Compass: Erle-Brain 2 and PXFmini fix
2016-01-18 23:59:25 -02:00
Andrew Tridgell
640332113c
AP_L1_Control: calculate dt for crosstracking
2016-01-19 11:05:56 +11:00
Andrew Tridgell
4f9927beda
AP_TECS: added set_pitch_max_limit() API
2016-01-19 11:05:56 +11:00
Andrew Tridgell
acb4885989
AP_NavEKF2: use get_delta_angle_dt() API
2016-01-19 09:50:22 +11:00
Andrew Tridgell
ee453783eb
AP_InertialSensor: added get_delta_angle_dt() API
2016-01-19 09:50:21 +11:00
Lucas De Marchi
2d3a62eae3
AP_HAL_Linux: RCInput_RPI: revert PWM support
...
This reverts support for RCInput via PWM. This is causing trouble in
some RPI-based boards, receiving a SIGSEGV. Let's revert it for now and
retry this later.
This reverts commit 5629f38b2c
.
This reverts commit 51fd0b3d55
.
This reverts commit 79d56073f7
.
2016-01-18 20:07:42 -02:00
Lucas De Marchi
c8947c3e9c
AP_HAL_Linux: RCInput_RPI: provide signal information
...
Otherwise it's difficult to know what signal is causing the program to
exit.
2016-01-18 19:20:44 -02:00
Lucas De Marchi
5629f38b2c
AP_HAL_Linux: RCInput_RPI: fix use of uninitiliazed value
...
../../libraries/AP_HAL_Linux/RCInput_RPI.cpp: In member function ‘virtual void Linux::RCInput_RPI::_timer_tick()’:
../../libraries/AP_HAL_Linux/RCInput_RPI.cpp:489:127: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
counter = circle_buffer->bytes_available(curr_pointer, circle_buffer->get_offset(circle_buffer->_virt_pages, (uintptr_t)x));
^
2016-01-18 19:19:36 -02:00
Julien BERAUD
45d668df47
AP_Compass_AK8963: support for timesliced timers
...
fallback in case the current scheduler doesn't support it
2016-01-18 16:57:48 -02:00
Julien BERAUD
d15097f3fc
AP_Baro_MS5611: Support for timesliced timers
...
fallback if current scheduler doesn't support it
2016-01-18 16:57:48 -02:00
Julien BERAUD
4acc121bd6
AP_HAL_Linux: support for timesliced timers
...
In order for lower frequency timers not to be called at the same iteration
of the main timer loop. This improves scheduling.
2016-01-18 16:57:48 -02:00
Julien BERAUD
d5c4917bcd
AP_HAL: add default support for timesliced timers
...
To keep compatibility
2016-01-18 16:57:48 -02:00
Don Gagne
c13cf70163
GCS_MAVLink: system id output as severity INFO
2016-01-18 09:40:00 +09:00
Gustavo Jose de Sousa
d281067bcc
waf: make example binaries be placed in 'examples' dir
...
This commit makes examples' wscripts use ardupilotwaf.example() instead of
ardupilot.program().
2016-01-15 16:46:41 -02:00
Ricardo de Almeida Gonzaga
4c60dd5e44
AP_HAL_Linux: improve yuyv_to_grey() performance
...
Based on gbenchmark metrics.
Before:
Benchmark Time(ns) CPU(ns) Iterations
----------------------------------------------------
BM_YuyvToGrey/4k 3109 3114 233334
BM_YuyvToGrey/75k 55777 55857 12353
BM_YuyvToGrey/300k 231829 232227 3043
After:
Benchmark Time(ns) CPU(ns) Iterations
----------------------------------------------------
BM_YuyvToGrey/4k 1713 1716 411765
BM_YuyvToGrey/75k 32124 32152 21875
BM_YuyvToGrey/300k 128530 128753 5385
2016-01-15 16:43:52 -02:00
Ricardo de Almeida Gonzaga
3748760ead
AP_HAL_Linux: improve crop_8bpp() performance
...
Based on gbenchmark metrics.
Before:
Benchmark Time(ns) CPU(ns) Iterations
----------------------------------------------------
BM_Crop8bpp/64/64 3206 3197 198113
BM_Crop8bpp/240/240 38166 38181 18421
BM_Crop8bpp/640/480 193589 193317 3621
After:
Benchmark Time(ns) CPU(ns) Iterations
----------------------------------------------------
BM_Crop8bpp/64/64 2652 2657 232103
BM_Crop8bpp/240/240 33532 33506 20792
BM_Crop8bpp/640/480 187848 188201 3684
2016-01-15 16:43:52 -02:00
Ricardo de Almeida Gonzaga
210c90e784
AP_HAL_Linux: add benchmark for crop_8bpp() and yuyv_to_grey()
...
We had to check for board subtypes in the benchmark since VideoIn.cpp
does these checks.
2016-01-15 16:43:52 -02:00
Julien BERAUD
43307d95c8
OpticalFlow_Onboard: fix body rate calculation
...
The correct integral of the body rate is (rate + last_rate)/2*dt
and not rate * dt
2016-01-15 16:11:19 -02:00
Ricardo de Almeida Gonzaga
753f7d864a
AP_HAL_Linux: add a shrink by software option in OpticalFlow
...
This shrink must be used when the output camera sizes doesn't fit
the expected output.
We don't need to crop it even when the camera sizes aren't squared since
the shrink_8bpp() function shrinks a selected area.
2016-01-15 16:05:47 -02:00
Ricardo de Almeida Gonzaga
553d36c860
AP_HAL_Linux: add shrink_8bpp() to VideoIn
...
This function shrinks a selected area on a 8bpp image.
The focus in this function was the performance, so this may not be the
clearer or the most understandable way to write it. The performance
was measured using GoogleBenchmark[1].
[1] - https://github.com/google/benchmark.git
2016-01-15 16:05:47 -02:00