David Sidrane
edd9f91a19
board:Set larger stack margin
6 years ago
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.
6 years ago
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
6 years ago
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.
6 years ago
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
6 years ago
bresch
684e2974ac
mc_pos_control_main - Re-add updateVelocityControllerIO for glitch-free position unlock
6 years ago
mcsauder
1eced05359
Rename Simulator class private methods names to match snake case of other private class methods.
6 years ago
mcsauder
b0a79996ae
Cut case MAVLINK_MSG_ID_HIL_STATE_QUATERNION content and paste into handle_message_hil_state_quaternion() method.
6 years ago
mcsauder
8b42045546
Cut case MAVLINK_MSG_ID_HIL_OPTICAL_FLOW content and paste into handle_message_hil_optical_flow() method.
6 years ago
mcsauder
24e55e4d4d
Cut case MAVLINK_MSG_ID_DISTANCE_SENSOR content and paste into handle_message_distance_sensor() method.
6 years ago
mcsauder
411db781eb
Cut case MAVLINK_MSG_ID_LANDING_TARGET content and paste into handle_message_landing_target() method.
6 years ago
Daniel Agar
0df34af181
Jenkins hardware test temporarily disable px4_fmu-v5_stachcheck tests
6 years ago
Daniel Agar
e7dfb375be
create jlink gdb upload script and use in Jenkins Hardware pipeline
6 years ago
TSC21
12d29fd093
navigator: mission_feasibility_checker: remove lazy comparison
6 years ago
TSC21
c9c86ae2ff
navigator: mission feasibility checker: minor cleanup
6 years ago
TSC21
9fa7f341e4
mission_feasibility_checker: takeoff: fix init of mission item
6 years ago
TSC21
8bf9ec32dc
mission_feasibility_checker: takeoff: add a different log message when there's a takeoff item but it's not the first waypoint
6 years ago
TSC21
468a002355
mission_feasibility_checker: takeoff: minor spelling mistakes fixing
6 years ago
TSC21
f6ab40d2dd
mission_feasibility_checker: takeoff: fix logic to return as valid
6 years ago
TSC21
676e1eb224
mission_feasibility_checker: takeoff: accept mission when takeoff is not the first item but the previous items are not waypoints
6 years ago
TSC21
6bb84af1db
mission_feasibility_checker: takeoff: change warning message
6 years ago
TSC21
5b151a5df7
navigator: mission feasibility checker: check for a takeoff waypoint on mission on specific conditions
6 years ago
Daniel Agar
26811978e1
Jenkins hardware test add px4_fmu-v2 and px4_fmu-v5
6 years ago
Daniel Agar
f5a1146517
Jenkins hardware test add px4_fmu-v3 and px4_fmu-v4pro
6 years ago
Daniel Agar
aec3ad5417
Jenkins hardware testing update to new configuration
...
- the Jenkins slave now has the gdb server already started in the background
6 years ago
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.
6 years ago
David Sidrane
477152a96d
Commander:Support BOARD_INDICATE_ARMED_STATE for HW that supports external armed indiction
6 years ago
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.
6 years ago
Mark Sauder
c04147c53c
Mavlink receiver: Move most variable initializations out of the constructor to the variable declarations
6 years ago
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
6 years ago
Matthias Grob
e8cbfab670
Makefile: help cleanup
6 years ago
Matthias Grob
e7651c9c52
Makefile: streamline cmake-build and
...
cleanup nuttx_, _default targets
6 years ago
mcsauder
ca92b8016d
Move member variable initialization out of the constructor list to variable declarations, format whitespaces/tabs in sf1xx.cpp.
6 years ago
bresch
f229444722
ManualSmoothVel - Split position lock condition and flag action
6 years ago
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.
6 years ago
Matthias Grob
93ef70c43d
vmount: add missing yaw wrap at the end of a ROI update
6 years ago
Matthias Grob
35409b4079
vmount: refactor ROI position update for readability
6 years ago
fpvaspassion
cefffe652f
Correted list of serial ports for lpe target for fmu v2 board
6 years ago
Mohammed Kabir
20e44aa320
Analog Device ADIS16497 IMU initial support
6 years ago
Alessandro Simovic
d5aad58c92
navigator: reset vehicle_roi on mission update
6 years ago
sfalexrog
9355324209
mavlink/MavlinkReceiver: Use hrt_absolute_time for distance_sensor timestamps
6 years ago
Hamish Willee
5132368378
Flying Wing init files: Fix up main output docs
6 years ago
Hamish Willee
e5dbd39ca6
Fx79 Frame: Reverse aileron outputs
6 years ago
bresch
8f584a1496
smooth takeoff - Support smooth takeoff triggered by jerk setpoint
6 years ago
Daniel Agar
0d170a0eaf
FlightTasks VelocitySmoothing initialize member
...
- fixes Coverity CID 328485
6 years ago
Daniel Agar
7eca2769a7
FlightTasks AutoLineSmoothVel initialize member
...
- fixes Coverity CID 328492
6 years ago
Daniel Agar
b2739d946c
FlightTasks ManualPositionSmoothVel initialize member
...
- fixes Coverity CID 332544
6 years ago
Daniel Agar
703e28f7a8
Jenkins increase history retention
6 years ago
Carl Olsson
447e0be250
gpssim: populate s_variance_m_s with 0.25 ( #11521 )
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
6 years ago
Matthias Grob
bee1835831
Tools: fix style consistency in shell scripts "if [...]; then"
6 years ago