Morten Fyhn Amundsen
951f33145f
Fix link to code style guide
...
In CONTRIBUTING.md, the current link to the coding style leads to a
404 error. I've replaced it with a link to the Source Code Management
part of the developer documentation, which is where the style guide
seems to be now.
2019-03-02 23:40:09 -05:00
mcsauder
9f3937e2d2
Formatted and edited a few comments in mavlink_receiver.h.
2019-03-02 23:39:25 -05:00
mcsauder
d60d802194
Correct board-config PIN1/PIN0 typo in fmu-v5/src/board_config.h.
2019-03-02 14:31:02 -08:00
mcsauder
d42bb01e0c
Standardize method definition newlines in mavlink_receiver.cpp.
2019-03-02 13:09:41 -05:00
David Sidrane
dc50a564dd
Revert "Jenkins hardware test temporarily disable px4_fmu-v5_stachcheck tests"
...
This reverts commit 0df34af181ceb60a164b332d203a84f56c4da3bc.
2019-03-01 23:45:48 -05:00
David Sidrane
edd9f91a19
board:Set larger stack margin
2019-03-01 23:45:48 -05:00
David Sidrane
12d442e8dd
px4_fmuv5:Stack Check build Increase to 2624
...
The cause of the stack detection fault is because of the
level of nesting in the start up script. We need to
determine the worst case configuration and set the
bar there.
This fault occurred some 42 calls deep due to script
calling script (repeat).
The HW stack check requires as a margin of 204 bytes. That is
ISR HW stacking of CPU(8) FPU(18) registers and SW stacking of
CPU(11) and FPU(16) registers. Total CPU(19) registers is
68 bytes and the total FPU(34) registers is 136 bytes. On
a system with a separate ISR stack This only needs to be 104
so there is 100 bytes of headroom. But as coded the detection
will give a false positive detection and fault. This does not
mean that the stack will be corrupted.
Adjustments to that stack can have no effect due to rounding.
A stack size of 2608 and 2616 can yield the exact same size stack.
So even when the failure is due to a 4 byte overflow, it can take
greater than a 16 bytes increase to fix it. Because the final
stack size is calculated with an 8 byte alignment after a 4 byte
decrease. So 2624 becomes 2620 at runtime and will boot
with SYS_AUTOSTART=4001.
2019-03-01 23:45:48 -05:00
Daniel Agar
e2bf4b1894
List container improvements and testing
...
- support range based for loops
- add remove() method to remove a node
- add clear() to empty entire list and delete nodes
- add empty() helper
2019-03-01 21:01:04 -05:00
Beat Küng
6c3e79f361
mc airframes: reduce I gains a bit
...
A side-effect of the previous commit is that the integral is loaded up
during a flip, which leads to visible bounce-backs after a flip.
Reducing the I helps, but there's a trade-off and we'll need a better
solution.
2019-03-01 07:42:18 +01:00
Beat Küng
2f72e93d6f
fix mixer multicopter: do not clip for max/min throttle
...
Except for the lower end with disabled airmode.
Otherwise the rate controller would disable the integrals, which can lead
to severe tracking loss in acro.
It is noticeable when flying in FPV, e.g. simply when throttling straight
up.
Relevant part in the rate controller:
https://github.com/PX4/Firmware/blob/master/src/modules/mc_att_control/mc_att_control_main.cpp#L702
2019-03-01 07:42:18 +01:00
bresch
684e2974ac
mc_pos_control_main - Re-add updateVelocityControllerIO for glitch-free position unlock
2019-02-28 21:26:13 +01:00
mcsauder
1eced05359
Rename Simulator class private methods names to match snake case of other private class methods.
2019-02-28 19:26:45 +01:00
mcsauder
b0a79996ae
Cut case MAVLINK_MSG_ID_HIL_STATE_QUATERNION content and paste into handle_message_hil_state_quaternion() method.
2019-02-28 19:24:50 +01:00
mcsauder
8b42045546
Cut case MAVLINK_MSG_ID_HIL_OPTICAL_FLOW content and paste into handle_message_hil_optical_flow() method.
2019-02-28 19:24:50 +01:00
mcsauder
24e55e4d4d
Cut case MAVLINK_MSG_ID_DISTANCE_SENSOR content and paste into handle_message_distance_sensor() method.
2019-02-28 19:24:50 +01:00
mcsauder
411db781eb
Cut case MAVLINK_MSG_ID_LANDING_TARGET content and paste into handle_message_landing_target() method.
2019-02-28 19:24:50 +01:00
Daniel Agar
0df34af181
Jenkins hardware test temporarily disable px4_fmu-v5_stachcheck tests
2019-02-28 04:07:05 -08:00
Daniel Agar
e7dfb375be
create jlink gdb upload script and use in Jenkins Hardware pipeline
2019-02-27 18:42:54 -05:00
TSC21
12d29fd093
navigator: mission_feasibility_checker: remove lazy comparison
2019-02-27 13:25:47 +01:00
TSC21
c9c86ae2ff
navigator: mission feasibility checker: minor cleanup
2019-02-27 13:25:47 +01:00
TSC21
9fa7f341e4
mission_feasibility_checker: takeoff: fix init of mission item
2019-02-27 13:25:47 +01:00
TSC21
8bf9ec32dc
mission_feasibility_checker: takeoff: add a different log message when there's a takeoff item but it's not the first waypoint
2019-02-27 13:25:47 +01:00
TSC21
468a002355
mission_feasibility_checker: takeoff: minor spelling mistakes fixing
2019-02-27 13:25:47 +01:00
TSC21
f6ab40d2dd
mission_feasibility_checker: takeoff: fix logic to return as valid
2019-02-27 13:25:47 +01:00
TSC21
676e1eb224
mission_feasibility_checker: takeoff: accept mission when takeoff is not the first item but the previous items are not waypoints
2019-02-27 13:25:47 +01:00
TSC21
6bb84af1db
mission_feasibility_checker: takeoff: change warning message
2019-02-27 13:25:47 +01:00
TSC21
5b151a5df7
navigator: mission feasibility checker: check for a takeoff waypoint on mission on specific conditions
2019-02-27 13:25:47 +01:00
Daniel Agar
26811978e1
Jenkins hardware test add px4_fmu-v2 and px4_fmu-v5
2019-02-26 23:03:24 -05:00
Daniel Agar
f5a1146517
Jenkins hardware test add px4_fmu-v3 and px4_fmu-v4pro
2019-02-26 19:22:16 -05:00
Daniel Agar
aec3ad5417
Jenkins hardware testing update to new configuration
...
- the Jenkins slave now has the gdb server already started in the background
2019-02-26 18:33:42 -05:00
David Sidrane
0846059646
fmuv5:Repurpose TIM5_SPARE_4 as nARMED
...
nARMED is a Digital OUTPUT. GPIO will be set as input while not
armed HW will have Pull UP. While armed it will be configured
as a GPIO OUT set LOW.
2019-02-26 15:34:10 -05:00
David Sidrane
477152a96d
Commander:Support BOARD_INDICATE_ARMED_STATE for HW that supports external armed indiction
2019-02-26 15:34:10 -05:00
David Sidrane
bf8a5e9652
board_common:Add BOARD_INDICATE_ARMED_STATE
...
This adds an optional default support for HW that does not
have and external armed indiction.
2019-02-26 15:34:10 -05:00
Mark Sauder
c04147c53c
Mavlink receiver: Move most variable initializations out of the constructor to the variable declarations
2019-02-26 11:48:02 -05:00
Matthias Grob
20c2d66ba3
Makefile: add function to check if cmake rerun is necessary
...
by comparing the configuration options that cmake reports
from the cache with the ones from the current build
2019-02-26 10:45:46 -05:00
Matthias Grob
e8cbfab670
Makefile: help cleanup
2019-02-26 10:45:46 -05:00
Matthias Grob
e7651c9c52
Makefile: streamline cmake-build and
...
cleanup nuttx_, _default targets
2019-02-26 10:45:46 -05:00
mcsauder
ca92b8016d
Move member variable initialization out of the constructor list to variable declarations, format whitespaces/tabs in sf1xx.cpp.
2019-02-26 10:42:00 -05:00
bresch
f229444722
ManualSmoothVel - Split position lock condition and flag action
2019-02-25 21:41:04 +01:00
Matthias Grob
db0283ef21
mc_pos_control: fix altitude limitation
...
Before if you were above the maximum altitude you could not command to
go down anymore until the position controller had overshoot to under the
maximum altitude again.
2019-02-25 18:53:05 +01:00
Matthias Grob
93ef70c43d
vmount: add missing yaw wrap at the end of a ROI update
2019-02-25 11:03:04 -05:00
Matthias Grob
35409b4079
vmount: refactor ROI position update for readability
2019-02-25 11:03:04 -05:00
fpvaspassion
cefffe652f
Correted list of serial ports for lpe target for fmu v2 board
2019-02-25 10:41:05 -05:00
Mohammed Kabir
20e44aa320
Analog Device ADIS16497 IMU initial support
2019-02-25 09:34:58 -05:00
Alessandro Simovic
d5aad58c92
navigator: reset vehicle_roi on mission update
2019-02-25 09:11:24 -05:00
sfalexrog
9355324209
mavlink/MavlinkReceiver: Use hrt_absolute_time for distance_sensor timestamps
2019-02-25 12:07:53 +01:00
Hamish Willee
5132368378
Flying Wing init files: Fix up main output docs
2019-02-25 12:01:27 +01:00
Hamish Willee
e5dbd39ca6
Fx79 Frame: Reverse aileron outputs
2019-02-25 12:01:27 +01:00
bresch
8f584a1496
smooth takeoff - Support smooth takeoff triggered by jerk setpoint
2019-02-25 08:07:33 +01:00
Daniel Agar
0d170a0eaf
FlightTasks VelocitySmoothing initialize member
...
- fixes Coverity CID 328485
2019-02-24 17:10:15 -05:00