bresch
b9cf4dfb6c
VelocitySmoothing - Get rid of math.h, math.cpp and px4_defines dependencies
6 years ago
bresch
ddab0ccdf1
VelocitySmoothing - Protect against division by zero and sqrt of a negative number
6 years ago
Daniel Agar
e4967a9502
vscode minor updates
...
- add cmake language support to recommend extensions
- jlink debug add stm32f427 svd
- gitignore updates for vscode
6 years ago
Mark Sauder
164fe00df7
mc_att_control: replace math::min() and additional limit logic with math::constrain() calls ( #11658 )
6 years ago
Mark Sauder
4c228eaf4a
cmake whitespace fixes to quiet git hook.
6 years ago
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
6 years ago
Daniel Agar
13dba60149
perf counter lib convert to c++
6 years ago
Daniel Agar
471e1bc866
serial/generate_config.py specify full loader ( #11667 )
...
- fixes #11666
6 years ago
Julian Oes
b54ca67de9
lockstep_scheduler: check if mutex is still valid
...
It turns out that we can fix the unit tests of the lockstep_scheduler
just by checking if `passed_lock` is not `nullptr`.
Without this check, the unit tests segfaulted.
6 years ago
Julian Oes
2ebb9d2ab5
mixer_multirotor.py: fixes for Python3
...
This fixed running `make tests` on Arch Linux where Python 3 is the
default.
6 years ago
Beat Küng
bfa0a4a8f1
sitl_gazebo: update submodule (hil fix)
6 years ago
Beat Küng
898664d919
jmavsim: fix HIL, don't add -lockstep by default
6 years ago
Beat Küng
8692d72501
jmavsim: update submodule
...
Brings https://github.com/PX4/jMAVSim/pull/97 .
6 years ago
Hamish Willee
257b90958f
Correct links to example docs
6 years ago
Julien Lecoeur
5f06c6a1aa
VTOL: add parameter to prevent flight if roll direction was not checked
...
Mark V19_VT_ROLLDIR @category system
Throttle down mavlink critical msg
Send 0 actuator_output for safety
VTOL: unset v1.9 roll direction safety check param for builtin airframes
6 years ago
Julien Lecoeur
e28f8a7f2e
VTOL mixers: invert FW roll sign in builtin mixers
...
This inversion matches the fixed sign in the commands generated
by the VTOL attitude controller.
This commit, combined with the previous commit, should have no effect.
For safety, it is recommended to check the direction of roll control
surfaces before flight.
6 years ago
Julien Lecoeur
e1caecc99a
VTOL att control: fix roll sign
6 years ago
bresch
c5706f6283
FlightTaskAuto - Recover position control after local position reset ( #11636 )
...
* FlightTaskAuto - Explicitly check is _triplet_target is finite to decide if the target has to be updated or not. If the _target is NAN, always try to update it to get a valid setpoint.
6 years ago
Martina Rivizzigno
09b795161e
Obstacle Avoidance testing in CI ( #10780 )
6 years ago
Daniel Agar
1083af21e8
mc_pos_control limit to 50 Hz
6 years ago
Daniel Agar
f3533d31f8
mavlink update to latest and enable address-of-packed-member warning
6 years ago
Paul Riseborough
f8ae8ba502
ekf2: Use ecl library with recent bug fixes and enhancements.
...
Bug Fixes:
https://github.com/PX4/ecl/pull/586 - EKF: fix covariance and output filter buffer initialization
https://github.com/PX4/ecl/pull/590 - EKF: Fix innovation in fuseDeclination()
Enhancements:
https://github.com/PX4/ecl/pull/543 - ekf_helper: add more useful methods to interface with the covariances
https://github.com/PX4/ecl/pull/588 - Add unit tests for DataValidator
Note:
https://github.com/PX4/ecl/pull/543 has required a change to how the state variances are accessed .
6 years ago
Daniel Agar
edad4c40c3
containers add IntrusiveQueue and testing
6 years ago
Daniel Agar
23189329a4
Jenkins hardware testing add nxp_fmuk66-v3
6 years ago
mcsauder
2ae2331c15
Delete extra newline character in qmc5883/CMakeLists.txt to quiet git hook.
6 years ago
Beat Küng
509189ea95
uorb top: add 'uorb top -1' to run only once
6 years ago
Beat Küng
6672284871
commander: fix status init & some status update changes
6 years ago
Claudio Micheli
697566177c
Commander: Properly initialized another boolean variable.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
908cdaa574
Onboard controller loss parameter cleanup.
...
Since Timeout from onboard controller is something that does not require a lot of modifications there is no sense to having it parametrized.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
cd47cefb03
Some more code cleanup.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
59cf9a1dd4
telemetry_status: Changed "type" comment.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
fb990d7de3
Removed subscribtion to multiple _telemetry_status instances.
...
Since commander handles all telemetry_status the same there is no need to subscribe to multiple instances.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
a53594135b
Commander: changed "datalink regain" logic.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
ca53217175
removed stm discovery board.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
13f3ee4c82
state_machine_helper: (Critical) Prevent datalink failsafe triggering if not enabled.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
788e28fbb1
Commander: datalink heartbeat variables refactoring.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
32e4baf6a0
Commander: some more cleanup.
6 years ago
Claudio Micheli
a84a1e1b5a
Commander: mavlink messages cleanup. header variables refactoring.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
b85cceebe9
mavlink_receiver: Ignore heartbeats coming from other vehicles.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
14415b29c1
Removed hardcoded onboard controller timeouts thresholds.
...
Added COM_ONB_LOSS_T and COM_ONB_REG_T parameters to specify thresholds that triggers "onboard link lost" and "onboard link regained".
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
156317e546
Fixes for ONBOARD Controller lost & regain.
6 years ago
Claudio Micheli
f44c690b33
Modified COM_DL_REG_T parameter description.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
1fc055a51f
Fixed some issues for datalink loss & regain (GCS HEARTBEAT).
...
Major changes:
- Prevent "HIGH LATENCY DATA LINK LOST" message to appear if iridium telemetry is not used.
- Prevent "DATA LINK LOSS" mavlink messages flooding when QGC is open and then closed.
- Changed "DATA LINK REGAINED" condition (use _datalink_last_heartbeat_gcs insthead of _datalink_lost)
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
baumanta
d8bdc1b367
output a message if a previously lost connection is regained
6 years ago
baumanta
d42b9205f9
Rename parameter MPC_OBS_AVOID to COM_OBS_AVOID and change the location to commander.
6 years ago
baumanta
f42b378b9b
Also activate navigator for 32f4discovery board
6 years ago
baumanta
b0024a1555
activate mc_pos_ctrl module to be able to access MPC_OBS_AVOID parameter
6 years ago
baumanta
a98f5d2ab2
suggestion for treating obstacle avoidance heartbeats
6 years ago
Daniel Agar
6dec451bab
HEARTBEAT and commander failsafe handling cleanup
6 years ago
Matthias Grob
f794ee0c8a
FlightTaskManualAltitude: add slow upwards start
...
when still close to ground
6 years ago