Beat Küng
9ed21afd59
vmount: simplify initialization
2017-04-19 16:59:48 +02:00
Beat Küng
021b808f6c
vmount: fix null-pointer access by iterating only over the used objects
2017-04-19 16:59:48 +02:00
Julian Oes
7c0c97ce03
vmount: added commented output printf
2017-04-19 16:59:48 +02:00
Julian Oes
f4b1623550
vmount: wrong pointer was passed to update
2017-04-19 16:59:48 +02:00
Julian Oes
87d5b41b84
vmount: fixed wrong index
2017-04-19 16:59:48 +02:00
Julian Oes
ec36bdcd10
vmount: always initialize
...
MNT_MODE_IN 0 now means to automatically check all inputs.
2017-04-19 16:59:48 +02:00
Julian Oes
e3d1b7fab4
vmount: _first_time flag wasn't ever reset
2017-04-19 16:59:48 +02:00
Julian Oes
07de797e8d
vmount: correctly set control_data output arg
...
The control_data pointer wasn't correctly set for the cases where there
actually was a change/command.
2017-04-19 16:59:48 +02:00
Julian Oes
e1246063e9
vmount: another try to get abs and types right
2017-04-19 16:59:48 +02:00
Julian Oes
702922e677
vmount: _get_aux_value needs to be re-used
2017-04-19 16:59:48 +02:00
Julian Oes
c33e46167c
vmount: type-promotion fix clang-tidy
2017-04-19 16:59:48 +02:00
Julian Oes
a9523155cf
vmount: small formatting change
2017-04-19 16:59:48 +02:00
Julian Oes
caf69b290a
vmount: refactor to auto-select between all inputs
...
It is not convenient having to change a parameter to change a gimbal
from RC input to mavlink input mode or back. This refactor changes the
behaviour to use whatever is available, RC or mavlink commands.
Once a mavlink command is followed, control can be taken back using RC,
however, this requires a clear stick change.
2017-04-19 16:59:48 +02:00
Daniel Agar
809fec8c05
navigator treat TAKEOFF like POSITION if already flying
2017-04-19 10:45:59 +02:00
crashmatt
304aeddf03
TinyBson - Compatibility with cpp compiler
...
Changed "private" keyword used for argument to "priv"
2017-04-19 08:29:23 +02:00
Daniel Agar
c86185d4be
sensors init CAL_ACC0_ID and CAL_GYRO0_ID for QGC
2017-04-18 10:54:19 +02:00
Lorenz Meier
00158f6e0e
Navigator: Use correct command to start RTL
2017-04-18 08:56:15 +02:00
Don Gagne
96458d3184
Support for RTL and Delay mission commands
2017-04-18 08:56:01 +02:00
Daniel Agar
3721fb9d52
cmake cleanup nuttx dependency handling ( #7007 )
...
- closes #6501
- closes #6820
- closes #6881
2017-04-17 20:57:35 -04:00
Daniel Agar
f460f5b34c
mc_pos_control minor cleanup
2017-04-17 20:31:46 +02:00
Daniel Agar
34058cbc21
mavlink EXTENDED_SYS_STATUS add takeoff and landing ( #7064 )
2017-04-17 09:31:49 -04:00
Chris Lovett
91d2ad17b7
Fix takeoff overshoot (issue #319 ).
2017-04-17 14:35:16 +02:00
Andreas Daniel Antener
18293875b7
Old style switches: changed the loiter switch to have priorit over main switch ( #6764 )
2017-04-16 10:10:31 -04:00
Daniel Agar
4487f06629
fw_pos_ctrl_l1 stop using sensors_combined
2017-04-16 08:19:43 -04:00
Daniel Agar
1b8ed8ab08
add FW to Launch detection param group
2017-04-16 08:19:43 -04:00
Daniel Agar
71004ab897
FW launchdetector only run if armed
2017-04-16 08:19:43 -04:00
Nate Weibley
9038be2d83
Fix EKF velocity innovation limit preflight check
2017-04-15 01:21:10 +02:00
Lorenz Meier
f70b4ef883
Navigator: Fix RTL state handling by enabling auto-continue after descend
2017-04-14 10:02:31 +02:00
davidaroyer
2322a4d232
DF_MS5611_Wrapper: convert baro pressure to mbar
...
Temperature compensation in sensors.cpp calculates Baro Altitude
assuming baro pressure is stored as mbar.
2017-04-14 10:01:58 +02:00
Sander Smeets
128f726cd9
Add paramter to enable rc stick override
2017-04-14 10:01:36 +02:00
David Sidrane
ff3994da1b
mpu6500 Fixed 'test' function causes register checking to find a false faults
...
Added hold off of testing for register faults from the duration
of the test.
2017-04-14 09:58:14 +02:00
David Sidrane
c3c5be3881
mpu9250 Fixed 'test' function causes register checking to find a false faults
...
Diisabled interrupts in reset to make command to reset atomic.
Added hold off of testing for register faults from the duration
of the test.
2017-04-14 09:58:14 +02:00
David Sidrane
15460ade77
Fixed 'test' function causes register checking to find a false faults
...
Added hold off of testing for register faults from the duration
of the test.
2017-04-14 09:58:14 +02:00
Julian Oes
bb168287da
gps: just use termios on QURT
...
QURT has added support for termios calls a while back that we can now
use.
2017-04-14 09:56:42 +02:00
Daniel Agar
a41001354a
FW landingslope delete unused ( #7046 )
2017-04-13 18:18:57 -04:00
ChristophTobler
12505177b6
add killswitch to snapdragon pwm driver
2017-04-14 00:16:50 +02:00
Nate Weibley
9eb0e62787
Support calibration of fast+slow gyros #6998
2017-04-13 20:22:35 +02:00
Mohammed Kabir
5fc20bea5d
camera_trigger : add support for resetting trigger sequence
2017-04-13 20:21:40 +02:00
Mohammed Kabir
7fcb3b4f93
camera_trigger : add support for sending ACKs for trigger commands
2017-04-13 20:21:40 +02:00
Mohammed Kabir
2c0d1c013a
camera_trigger : digicam control command should only shoot once
2017-04-13 20:21:40 +02:00
Mohammed Kabir
e4896a5972
camera_trigger : remove unnecessary constrains for constant values
2017-04-13 20:21:40 +02:00
Mohammed Kabir
ae35bf524d
camera_trigger : enforce a minimum activation time in PWM modes
2017-04-13 20:21:40 +02:00
Mohammed Kabir
24f57b00a6
camera_trigger : consolidate camera power control and fix camelCase
2017-04-13 20:21:40 +02:00
Mohammed Kabir
164e200d8e
camera_trigger : consolidate handling of pins
2017-04-13 20:21:40 +02:00
Mohammed Kabir
0a5ada9e02
stm32 : formatting
2017-04-13 20:21:40 +02:00
Mohammed Kabir
f9862ec5a8
camera_trigger : add default mode for generic PWM triggering
2017-04-13 20:21:40 +02:00
Mohammed Kabir
9be7ad5805
camera_trigger : clean up iterators
2017-04-13 20:21:40 +02:00
Mohammed Kabir
c97226b9da
camera_trigger : add generic pwm interface for servo-like trigger systems (e.g IR trigger)
2017-04-13 20:21:40 +02:00
Mohammed Kabir
c06d1a9dbe
camera_trigger : rename Seagull MAP2 interface
2017-04-13 20:21:40 +02:00
Mohammed Kabir
3dee42b5ca
stm32 : deconflict pwm_get_rate_group from all other timer modes
2017-04-13 20:21:40 +02:00