Julian Oes
454cd33a5e
mc_pos_control: move stuff where it belongs
2016-12-15 10:17:03 +01:00
Julian Oes
0b37272d75
mc_pos_control: further reshuffling
...
Should not have any functional change
2016-12-15 10:17:03 +01:00
Julian Oes
61fff54cbe
mc_pos_control: copy triplet in one place only
2016-12-15 10:17:03 +01:00
Julian Oes
432824d603
mc_pos_control: move attitude setpoint to function
...
Again, no functional change, just refactor.
2016-12-15 10:17:03 +01:00
Julian Oes
c200e581c3
mc_pos_control: move control into functions
...
This is only a refactor with no functional change
2016-12-15 10:17:03 +01:00
Julian Oes
3ac056924c
navigator: increase stack
...
The stack size was generally ok but seemed to get exhausted in the case
of a waypoint which is too far away and therefore exercises some more
code in the mission feasability checker.
Generally, we should have more margin in the navigator stack size
because there are a bunch of different code paths that can happen.
2016-12-15 09:05:02 +01:00
Julian Oes
a096b97455
Revert "navigator: increase stack"
...
This reverts commit 6a6e9d02a312bad94cd164ff7928336472576fec.
2016-12-15 09:05:02 +01:00
Julian Oes
6a6e9d02a3
navigator: increase stack
...
The stack size was generally ok but seemed to get exhausted in the case
of a waypoint which is too far away and therefore exercises some more
code in the mission feasability checker.
Generally, we should have more margin in the navigator stack size
because there are a bunch of different code paths that can happen.
2016-12-15 00:12:54 +01:00
Julian Oes
8a6af658f3
navigator: don't omit printf value
...
There was a mismatch between the printf arguments and what was defined
in the fmt.
2016-12-15 00:12:54 +01:00
Julian Oes
f6c573e882
mavlink: don't send uninitialized bytes
...
Valgrind did not approve uninitialized bytes from either home or
vehicle global position to be sent.
2016-12-14 22:08:26 +01:00
Beat Küng
66925bc065
voted_senors_update: fix style after rebase
2016-12-14 19:57:54 +01:00
Beat Küng
d4da626e78
sensors: move sensors with voting into a separate class
2016-12-14 19:57:54 +01:00
Beat Küng
f9b3b5a799
sensors: break off parameters initialization into separate source file
2016-12-14 19:57:54 +01:00
Beat Küng
c5e485bdd7
sensors: break off RC handling into its own class
2016-12-14 19:57:54 +01:00
Beat Küng
4e2d0500a1
sensors: use orb_publish_auto where possible
2016-12-14 19:57:54 +01:00
Lorenz Meier
4b0647d9c0
Condition the GPS check always on the commander GPS prearm check param ( #6055 )
2016-12-14 15:30:24 +01:00
Daniel Agar
17990cf5dc
geofence fix combined simple and polygon logic
...
- require being inside both fences, not either
2016-12-14 08:49:13 +01:00
Daniel Agar
bce7ecb0f6
Iridium driver and support
...
Mavlink module implement HIGH_LATENCY (Iridium)
2016-12-14 08:20:01 +01:00
Lorenz Meier
b2d48f65bf
MC att ctrl: Properly initialize members
2016-12-13 16:14:15 +01:00
Lorenz Meier
c23378e70d
Update heli mixer, not reporting saturation yet
2016-12-13 16:14:15 +01:00
Lorenz Meier
27d5ecaaa9
Fix multirotor code style
2016-12-13 16:14:15 +01:00
Paul Riseborough
8b55c8ec55
systemlib mixer: Add public method for multi_rotor saturation status
2016-12-13 16:14:15 +01:00
Paul Riseborough
eb67686b11
mc_att_control: Improve integrator wind-up protection
...
Use reporting from the motor mixer to only restrict integrator growth when it will result in increased saturation of the control axis concerned.
Enable absolute integrator limits to be set by parameter
2016-12-13 16:14:15 +01:00
Paul Riseborough
57a6faf8a2
px4iofirmware: remove unused defines
2016-12-13 16:14:15 +01:00
Paul Riseborough
c4ccfeae0d
mixer: improve multirotor motor limits reporting
2016-12-13 16:14:15 +01:00
Lorenz Meier
7d0db35e90
Update PWM params to match standard usage in system
2016-12-13 09:18:59 +01:00
Lorenz Meier
4cb9903561
UAVCAN: Be less verbose on boot
2016-12-12 16:11:21 +01:00
Lorenz Meier
4c714f0e46
Load mon: Be less verbose on boot
2016-12-12 16:11:21 +01:00
Matthias Grob
d1a2f52246
fix segmentation fault when running local_position_estimator module without arguments
...
argv[1] was read even if argc < 2 -> segmentation fault when running without arguments
the return saves this
2016-12-12 15:25:05 +01:00
Julian Oes
adc9ed61b8
commander: ignore arm/disarm in DO_SET_MODE cmd
...
According to https://github.com/mavlink/mavlink/pull/629 the mavlink
command DO_SET_MODE should only determine the mode but not the
armed/disarmed state, so the MAV_MODE_FLAG_SAFETY_ARMED bit should be
ignored.
Instead the mavlink command COMPONENT_ARM_DISARM should be used instead.
Therefore, the commander now ignores the arm/disarm bit.
2016-12-11 17:00:09 +01:00
Dennis Shtatnov
f23b5e4699
Syslink bootloader faker
2016-12-11 09:52:24 +01:00
Dennis Shtatnov
1ab6635ffe
ACKs for syslink radio parameters. Fixes #6005
2016-12-11 09:52:24 +01:00
Lorenz Meier
d817d331fd
Add set trim API for helicopter mixer
2016-12-10 14:45:49 +01:00
Bart Slinger
a7c8d77453
Generic helicopter mixer
...
fix code style
2016-12-10 14:45:49 +01:00
Mark Whitehorn
fc906a79b0
delete commented code
2016-12-10 12:56:39 +01:00
Mark Whitehorn
f0b41a0e52
change main trims to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
dbc149c224
change trim units from absolute usec to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
009a413438
fix argument order in pwm_limit_calc call, clean up
...
note that FMU does not update AUX pwm outputs if no RC signal
2016-12-10 12:56:39 +01:00
Mark Whitehorn
257e236c92
add errno to error message
2016-12-10 12:56:39 +01:00
Mark Whitehorn
a0c8a78a14
use trim values to set mixer:scaler.offset
...
clamp mixer output offset to [-.2,.2] ([-2000, 2000] in mixer file)
add 8 main PWM trim parameters
add long desc to parameters and bump minor parameter version
2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz
619efa7b45
[PX4IO/PWM driver] Added trim values to the PWM output drivers
2016-12-10 12:56:39 +01:00
Anton Matosov
a2c0391bcc
Rework TPA to have per-component setup and use more stable and intuitive function
...
This also adds a ZMR250 config.
2016-12-10 12:42:47 +01:00
Andreas Antener
64778b9540
Load monitor: added parameter to disable stack check
2016-12-09 21:12:12 +01:00
Andreas Antener
72f52c920c
Load monitor: reduce scope of scheduler locking
2016-12-09 21:12:12 +01:00
Andreas Antener
806b8d3a67
Load monitor: free counter
2016-12-09 21:12:12 +01:00
Andreas Antener
a0cf938ced
Load monitor: lock scheduler for stack check and added performance counter for stack checking
2016-12-09 21:12:12 +01:00
Andreas Antener
dda0de09dd
Load monitor: optimize performance of stack checking
2016-12-09 21:12:12 +01:00
Andreas Antener
a74269ec60
Load monitor: adding stack logging to logger
2016-12-09 21:12:12 +01:00
Andreas Antener
62103be7ba
Load monitor: report and log processes low on stack
2016-12-09 21:12:12 +01:00
Paul Riseborough
1fbc688757
Commander: Fix pre-flight EKF check errors
2016-12-09 17:58:23 +01:00