Peter Barker
dbdfce570a
Rover: move try_send_message compass message handling up
8 years ago
Peter Barker
5b4d968887
Tracker: move try_send_message compass message handling up
8 years ago
Peter Barker
dce947b54f
Sub: move try_send_message compass message handling up
8 years ago
Peter Barker
a740c10dfe
Plane: move try_send_message compass message handling up
8 years ago
Peter Barker
2a62b57e11
Copter: move try_send_message compass message handling up
8 years ago
Peter Barker
b8cb758fac
GCS_MAVLink: move try_send_message compass message handling up
8 years ago
Peter Barker
4b63443633
Copter: correct misleading comment
8 years ago
Lucas De Marchi
e98fe2d7d5
AP_HAL: RingBuffer: add missing include
8 years ago
Lucas De Marchi
61aed0f0d7
RingBuffer: example: integrate with build system
...
It's only compatible with Linux so for now disable the other boards.
8 years ago
Murilo Belluzzo
641671a366
AP_HAL: Add simple stress test for RingBuffer class
...
It runs a Producer/Consumer thread pair endless reading and writing a
ByteBuffer. Producer writes a number sequence that is twice the
ByteBuffer size so a given position have a different data on each write
pass. Consumer makes sure that this pattern is not broken and aborts the
program if it is.
It is possible to spawn more pairs by informing a number as argument of
the program.
8 years ago
Lucas De Marchi
dbd074b250
AP_HAL: remove register_timer_process with extra arg
8 years ago
Lucas De Marchi
c170c2a847
AP_HAL_Linux: remove register_timer_process with extra arg
...
This is not used anymore.
8 years ago
Lucas De Marchi
6bab28397a
AP_Compass: remove user of timesliced logic
8 years ago
Lucas De Marchi
0a158f6d3f
AP_HAL_Linux: remove support for timesliced timer
...
This has long been replaced by the bus per thread scheme.
8 years ago
Lucas De Marchi
13dbc306e1
PX4Firmware: update submodule
...
Allow FPGA to reset stm32 allowing to unstuck a bad firmware without
needing to flash a special FPGA firmware and reboot the board.
8 years ago
ljwang
5a7ec7d429
Delete write registers at start,using another way to repair
8 years ago
ljwang
648871a388
Fixed the QMC5883 identification,add check ID
8 years ago
Peter Barker
4865aef9e4
Sub: base SYS_STATUS load average on variable loop rate
8 years ago
Peter Barker
50cbbc324b
Plane: base SYS_STATUS load average on variable loop rate
8 years ago
Peter Barker
31b33b2232
Copter: base SYS_STATUS load average on variable loop rate
8 years ago
Peter Barker
d44c7f0886
Rover: base SYS_STATUS load average on variable loop rate
8 years ago
Peter Barker
b445313bf1
AP_Scheduler: remove loop-period argument from load_average
...
This now comes from a parameter rather than being hard-set
in the vehicle code
Also adds a method returning the max loop period based on the
loop rate
8 years ago
Michael du Breuil
efe70c8d3a
AP_NavEKF3: Fix possible compass nullptr dereference
8 years ago
Michael du Breuil
dffa3d3b40
AP_NavEKF2: Fix possible compass nullptr dereference
8 years ago
Andrew Tridgell
78f6a5a177
Tools: improve devid decode
8 years ago
Andrew Tridgell
9b16836da5
Plane: cope better with more RC trim/min/max values
...
when min > trim we need to do RC scaling via rc_config. This loses the
ability to go beyond RC limits, but that can be coped with using
MANUAL_RCMASK
8 years ago
Andrew Tridgell
99df31f6ec
Plane: fixes from review
...
thanks Francisco
8 years ago
Andrew Tridgell
ea1a4bc176
Plane: improve px4_mixer handling of servo trim/min/max
8 years ago
Andrew Tridgell
cff692ca48
Plane: implement MANUAL_RCMASK
...
this replaces the functionality of the old "with input"
aileron/elevator functions, but in a much more flexible way. It means
that people who want to fly in MANAUL mode will have the ability to
have full control of trims and mixing using transmitter mixers if they
need that functionality
8 years ago
Andrew Tridgell
99f5229a34
SRV_Channel: added copy_radio_in_out_mask()
8 years ago
Andrew Tridgell
fedd2c558c
Plane: added AETR log message
...
this makes debugging mixers much easier
8 years ago
Andrew Tridgell
224dc439ab
Tools: updated parameters to remove ELEVON and VTAIL settings
8 years ago
Andrew Tridgell
2fb94597ba
autotest: adjust default params for new mixing
8 years ago
Andrew Tridgell
5d91e29cea
Plane: fixed px4_mixer for new function based mixing
...
this fixes the OVERRIDE_CHAN functionality to work correctly with the
new function based mixing code
It isn't a perfect match for ArduPilot mixing, but it is very close
for the key control surfaces, including mixed surfaces
8 years ago
Andrew Tridgell
0266168e69
Plane: removed old elevon and vtail mixers
...
now only use the function based mixing, and auto-convert on startup
8 years ago
Andrew Tridgell
1f1b4241c3
SRV_Channel: added get/set for reversed and function
...
these are needed in plane for auto-conversion of old elevon code
8 years ago
Andrew Tridgell
75999dbb39
SRV_Channel: prevent negative slew rate
...
thanks to Michael for pointing this out
8 years ago
Andrew Tridgell
178e7eca54
Plane: always setup target airspeed
...
this sets up a target airspeed even when flying without an airspeed
sensor. This is needed for quadplanes without airspeed sensors where
we use synthetic airspeed during the transition in TECS
8 years ago
Peter Barker
ee6969939b
Sub: fix underflow in scheduler
...
4eee3b1317
fixed this in Copter
8 years ago
khancyr
23532bf45c
Rover: add reason to set_mode
8 years ago
khancyr
15398f8b0e
AP_Math: correct variable init and remove define in polygon
8 years ago
squilter
f7a00b911e
Copter: minor format fix for motors.cpp
8 years ago
Randy Mackay
f5f6ec5238
AP_Arming: rename _MIN_VOLT to _VOLT_MIN
...
Also _MIN_VOLT2 to _VOLT2_MIN
8 years ago
Randy Mackay
2f3a57e0aa
AP_Arming: minor variable type change
...
no functional change
8 years ago
Randy Mackay
330a6065ca
AP_Arming: Copter gets MIN_VOLT parameters
8 years ago
Randy Mackay
167ced1279
Copter: battery arming checks call parent AP_Arming
8 years ago
Randy Mackay
9cbab6ed4b
Copter 3.5.1 release notes
8 years ago
Michael du Breuil
2894b7cbea
L1_Control: Ensure that LIM_BANK passes a sea level sanity check
...
This fixes #6637 where the LIM_BANK can be set such that the vehicle demands a radius at sea level that is much higher then the loiter radius was configured to be. This effectively feels like a fly away and is due to bad parameters usually. If this happens just fall back to the simple EAS2TAS scaling of the radius.
8 years ago
Andrew Tridgell
909f109b3f
Plane: don't start a transition while disarmed
...
this can caused flooding of the GCS console while disarmed in FBWA
mode
8 years ago
Peter Barker
975d2fd0d1
DataFlash: add debug for io thread failure
8 years ago