Commit Graph

  • 42ca17ce77 Update submodule v2.0 to latest Thu Sep 19 20:38:28 EDT 2019 PX4 Build Bot 2019-09-19 20:38:28 -04:00
  • 6f3868b5ba ManualVelocitySmoothing - Fix unlock initialization bresch 2019-09-17 13:58:41 +02:00
  • 0153e1b126 Matrix - Explicitly cast array[3] to Vector3f Use .xy() for Vector2 -> Vector3 assignment bresch 2019-09-12 13:54:35 +02:00
  • f405bf506b AltitudeSmoothVel - Use ManualVelocitySmoothingZ class instead of re-implementing the logic bresch 2019-09-12 15:00:46 +02:00
  • ce96d98621 ManualVelocitySmoothing - Cosmetic changes (renaming, indentation,..) Set the classes as final and set destructor to non-virtual bresch 2019-09-12 14:26:20 +02:00
  • 7cdb2364e9 ManualVelocitySmoothingXY - Add simple unit test bresch 2019-09-12 12:19:11 +02:00
  • f5d7eb4d87 Refactor FlightTaskManualPositionSmoothVel bresch 2019-09-11 18:22:23 +02:00
  • 080eedfd02 ManualPositionSmoothVel - Split large function into smaller ones, split XY and Z axes Next step is to move as much as possible to a library in order to reuse the Z axis in the Altitude FlightTask bresch 2019-09-08 21:29:14 +02:00
  • 453b6a39e4 TrajMath: move from FlightTasks/Utility into mathlib library because the function is also used by other libraries Dennis Mannhart 2019-09-18 13:54:46 +02:00
  • e6b7062442 TrajMath: replace type placeholder with floats Dennis Mannhart 2019-09-18 11:53:49 +02:00
  • e9ab6a75ba MC rate control - Scale the integrator with K during the integration part to avoid having to scale its saturation separately. This is required to avoid premature saturation of the integrator when using the K term. Also remove double saturation of the integrator bresch 2019-09-19 09:17:15 +02:00
  • 67e528ec0c Takeoff - allow publishing NAN longitude and latitude A NAN is interpreted in the FlightTaskAuto as a non-valid global coordinate and sets a local position. If a zero is sent instead, the global coordinate is recognized as valid and will be executed. This is a problem when the global position is gained for the first time after takeoff and that a valid global reference did not exist before bresch 2019-09-10 17:28:56 +02:00
  • 549a962553 EKF2: move handling of invalid range into ECL (#12988) Nico van Duijn 2019-09-19 11:29:34 +02:00
  • fa13f63db6 ekf2: temporarily hardcode new quality information to unkown Matthias Grob 2019-09-18 09:25:39 +02:00
  • c8d0eba1d2 Update ecl and matrix to safe matrix access Matthias Grob 2019-09-18 09:21:01 +02:00
  • 1ecbf8efd2 test_matrix: remove duplicate namespace accesses Matthias Grob 2019-09-18 09:19:26 +02:00
  • 2d4ecab3b0 Remove unsafe access to .data() and _data in Matrix Julian Kent 2019-09-16 11:12:23 +02:00
  • 78bf12f0db px4_tasks: reduce POSITION_CONTROL priority Daniel Agar 2019-09-18 09:55:06 -04:00
  • 494f35d5f4 Mavlink: wait for boot complete before sending or receiving anything Daniel Agar 2019-09-18 09:07:55 -04:00
  • c34e8dc98f helper: consider matrices with the same NANs and INFINITYs equal Matthias Grob 2019-09-17 21:02:21 +02:00
  • bbaa93880b helper: consider NAN equal to NAN such that vectors can be compared exactly Matthias Grob 2019-09-17 17:53:54 +02:00
  • 33a629105c Matrix: add proper print function testing Matthias Grob 2019-09-17 17:37:41 +02:00
  • b0b7d7229a Multiplication test: fix division resulting in NAN Matthias Grob 2019-09-17 07:41:49 +02:00
  • 3747232724 LeastSquaresSolver: Fix nasty GCC compile optimization error Matthias Grob 2019-09-17 06:49:36 +02:00
  • 5844b0e46e Implement one float equality check and use it everywhere Matthias Grob 2019-09-16 16:07:50 +02:00
  • 1e80807e8e test: Add uncovered equality checks with NAN and INFINITE Matthias Grob 2019-09-16 15:54:55 +02:00
  • a374f37a54 Include helper_functions like all other library components Matthias Grob 2019-09-16 15:30:37 +02:00
  • 62a1e07512 ecl_EKF: Do not include SquareMatrix from Matrix library Matthias Grob 2019-09-18 08:23:33 +02:00
  • eddee193d1 update matrix git tag to latest Daniel Agar 2019-09-17 21:18:45 -04:00
  • 4c4c1f2984 Use copyTo for writing to memory blocks Julian Kent 2019-09-17 11:54:19 +02:00
  • 8cc8db211c Fix copy_quaternion reference in code generation Julian Kent 2019-09-16 11:35:35 +02:00
  • 8d60f8ba8f Remove direct unsafe access to matrix internal data Julian Kent 2019-09-16 10:38:17 +02:00
  • be61d93d64 tfmini split out header and main Daniel Agar 2019-09-11 16:37:00 -04:00
  • 9b7ef7141f tfmini cleanup and use PX4Rangefinder Daniel Agar 2019-09-11 16:34:35 -04:00
  • c446ee444a EKF: fake rng if faulty on ground Nico van Duijn 2019-09-12 17:22:52 +02:00
  • 4f19d457c4 ekf, control: make sure mag fusion doesn't start anymore when we have GPS heading fusion active Andreas Antener 2019-07-31 17:41:56 +02:00
  • 93eb1266f6 EKF: reset position when stopping GPS use and EV is active Jan Brehmer 2019-07-30 19:23:56 +02:00
  • 60c9c99dcc Fix type for division. James Goppert 2019-09-17 09:46:55 -04:00
  • 18eaeb564d PMW3901 improvements (#12977) Nico van Duijn 2019-09-17 16:54:56 +02:00
  • b4714e2ed2 Don't lose array sizes in copyTo Julian Kent 2019-09-17 12:21:20 +02:00
  • 72e93a9c36 fixed total flight time counting bug Maximilian Laiacker 2019-09-11 11:24:57 +02:00
  • c13835c0f0 replay module split replay_main.cpp into separate compilation units Daniel Agar 2019-09-11 20:26:00 -04:00
  • 270e12a4df VelocitySmoothing: refactor local scope t variables instead of array Matthias Grob 2019-09-17 09:07:24 +02:00
  • da8ac8cafb VelocitySmoothing - Clean up updateTraj function based on Matthias' comments bresch 2019-09-16 14:56:19 +02:00
  • b82fa68893 VelocitySmoothingTest - Fix typo and use "zero" instead of "null" bresch 2019-09-16 14:14:14 +02:00
  • 42cedb7fda VelocitySmoothing - Change direction of "brake" as braking means that only the T3 part is required and that the jerk applied during T3 is the opposite of the one defined by "_direction". bresch 2019-09-13 10:35:19 +02:00
  • 8490266be8 VelocitySmoothing - (Re)set _state_init every time _state is (re)set bresch 2019-09-12 17:08:48 +02:00
  • 654938f6a1 VelocitySmoothing - Cosmetic changes (new lines, reorganize functions), regroup both updateTraj functions and edit some comments bresch 2019-09-11 13:52:20 +02:00
  • 0b765a1642 AltitudeSmoothVel - Update to use new implementation of VelocitySmoothing Remove jerk reduction (not needed in the new implementation) bresch 2019-09-11 10:57:07 +02:00
  • 862454827e VelocitySmoothingTest - Test that the trajectory is always within the constraints bresch 2019-09-08 21:08:48 +02:00
  • 8cc2a7018e VelocitySmoothing - Re-enable time stretch, integrate dt to get local time. Also split a few functions into smaller ones for readability, fix formatting, use geters to get the current state of the trajectory instead of return arguments. bresch 2019-09-08 15:42:18 +02:00
  • c7696488fe VelocitySmoothing - Improve computation of the direction of the trajectory by predicting the velocity at zero acceleration instead of the current velocity This helps when the current velocity is smaller than the target but that the acceleration is too large such that the velocity will overshoot. Without this check, the algorithm increases the acceleration which leads to an even larger overshoot. bresch 2019-09-02 11:10:01 +02:00
  • 052932fa95 VelocitySmoothingTest - Update unit test to use the same parameters ordering (time, setpoint) as the VelocitySmoothing class bresch 2019-09-02 11:08:13 +02:00
  • c13499e64b test_velocity_smothing - Update test script to use new polynomial evaluation algorithm bresch 2019-09-02 11:03:50 +02:00
  • a03cc495ce VelocitySmoothing - Refactor class to use polynomial evaluation instead of numerical integration This solves many numerical issues when the trajectory is close to the primary NE axes (small velocities). It is also more robust when dt is large and has some jitter. bresch 2019-08-05 11:57:31 +02:00
  • 0c0b261ff2 ubuntu.sh - remove modemmanager Hamish Willee 2019-09-17 13:10:34 +10:00
  • 51d2f9f0dc Remove direct access to internal data Julian Kent 2019-09-16 10:29:48 +02:00
  • 18218c8f9c Test non-square matrix multiplication (#91) Julian Kent 2019-09-16 17:40:25 +02:00
  • b817e8677d Add helpers based on Slice: row(), col(), xy() Julian Kent 2019-09-16 15:55:51 +02:00
  • 82d565f4d9 Add support for Slice to Matrix, SquareMatrix, Vector Julian Kent 2019-09-16 15:55:06 +02:00
  • af1378cc55 Add Slice class Julian Kent 2019-09-16 15:53:15 +02:00
  • 5507f14bb2 Jenkins HIL disable rgbled Daniel Agar 2019-09-15 14:20:36 -04:00
  • ed6c7cc806 cmake remove unused/broken _no_optimization_for_target Daniel Agar 2019-09-15 14:35:31 -04:00
  • 251831f7af cmake px4_add_library remove unused PX4_LIBRARIES property Daniel Agar 2019-09-15 14:34:44 -04:00
  • dc46b6a749 cmake px4_add_module MAIN is always present (required) Daniel Agar 2019-09-15 14:34:22 -04:00
  • fb7521eb5e cmake px4_base -> px4_parse_function_args Daniel Agar 2019-09-15 13:49:51 -04:00
  • d256fb8770 cmake px4_find_python_module move to standalone file Daniel Agar 2019-09-15 13:47:26 -04:00
  • d27dfcd921 NuttX CMakeLists.txt extract helpers (jlink, upload, etc) Daniel Agar 2019-09-15 13:38:17 -04:00
  • f2189dd045 CMakeLists.txt extract top level helpers (ccache, doxygen, metadata, etc) Daniel Agar 2019-09-15 13:37:55 -04:00
  • d4f984fea5 FlightTaskAutoLineSmooth: Fix comment to be style compliant Matthias Grob 2019-09-13 18:10:05 +02:00
  • 47401d1177 AutoLineSmoothVel - Replace min/max absolute constraints with a function named constrainAbs This function constrain the absolute value of some value but keeps the original sign. bresch 2019-09-13 14:56:09 +02:00
  • 3c5b24037a AutoLineSmoothVel - Improve virtual pilot logic that provides velocity setpoints to the trajectory generator. Constrain the generated velocities in the NE inertial frame rather than just constraining the norm. bresch 2019-09-04 14:16:03 +02:00
  • 59f54a7fd8 mathlib - Add FLT_EPSILON deadzone in sign computation bresch 2019-09-05 13:53:38 +02:00
  • 410dd85289 Comment out the ll40ls (LidarLite) driver from the fmu-v2 build. mcsauder 2019-09-11 20:57:23 -06:00
  • a26865c279 drivers: set CM8JL65 signal_quality invalid beyond bounds Nico van Duijn 2019-09-12 10:13:06 +02:00
  • 78279f6587 Unit tests for Obstacle Avoidance interface (#12816) Martina Rivizzigno 2019-09-12 14:37:31 +02:00
  • 267195a11b EKF: remove check for faulty flag in fake rng Nico van Duijn 2019-09-12 09:12:25 +02:00
  • 933189eac0 EKF: fix rng_faulty flag when sensor is stuck Nico van Duijn 2019-09-12 08:04:56 +02:00
  • 640e41cba7 EKF: change rangeSample quality to int8_t Nico van Duijn 2019-09-12 08:04:12 +02:00
  • a12186c285 terrain_estimator: introduce quality metric in rng Nico van Duijn 2019-09-11 14:58:30 +02:00
  • 3e05fd552e EKF: Compensate for bad range finder data when on ground Paul Riseborough 2019-09-11 09:55:16 +10:00
  • 39451b811a Do syscall for time once, outside of loop Julian Kent 2019-09-11 16:01:32 +02:00
  • b27d6a958a Account for the time since range data arrived Julian Kent 2019-09-11 15:50:39 +02:00
  • 94ef585f76 Link to missing params docs Hamish Willee 2019-09-10 18:02:42 -07:00
  • fd10220a34 Ubuntu.sh: check for requirements.txt Hamish Willee 2019-09-11 00:15:35 -07:00
  • 6277710fac Github actions simple cpp build Daniel Agar 2019-09-10 17:07:51 -04:00
  • df01eda550 systemcmds/tests: delete obsolete test_sensors Daniel Agar 2019-09-10 13:33:00 -04:00
  • 702c6f6df4 FW pos C: fix altitude control for VTOL/FW by also publishing attitude sp if in altitude, not only if position or velocity controlled Silvan Fuhrer 2019-09-06 19:08:59 +02:00
  • 92b824e218 VTOL attitude controller: run update_vtol_state only if mc or fw att sp changed, such that pusher support in hover works again Silvan Fuhrer 2019-09-06 14:44:31 +02:00
  • 1b2403a87f VTOL land detector: trigger land detector in fixed-wing mode if disarmed. Silvan Fuhrer 2019-08-22 15:41:51 +02:00
  • a8fbe6bba2 Remove references to pow(x,0.5), use sqrt instead (#12928) Julian Kent 2019-09-10 13:29:39 +02:00
  • 15865b741c Help compiler with name resolution to avoid overload mixups Julian Kent 2019-09-09 19:53:50 +02:00
  • 47e668eb86 simulator and dumpfile fix minor resource leaks Patrick Servello 2019-09-09 12:24:07 -05:00
  • a5e6c880fe Update submodule mavlink v2.0 to latest Mon Sep 9 12:38:36 UTC 2019 Daniel Agar 2019-09-09 12:29:42 -04:00
  • 03ffd696a6 Replace pow with sqrt Julian Kent 2019-09-09 09:37:43 +02:00
  • e4509486e8 Correct a typo and create a #define for the LeddarOne FOV. mcsauder 2019-09-05 10:22:39 -06:00
  • aea139bc1b Correct the LeddarOne FOV and deprecate the unneeded _distance_sensor_topic after migrating to PX4RangeFinder. mcsauder 2019-09-02 14:04:36 -06:00
  • ddd9a97d42 Modify the LeddarOne driver class to utilize the PX4RangeFinder library. mcsauder 2019-09-01 19:01:12 -06:00
  • 94d39e4466 Return from LeddarOne::collect() via LeddarOne::measure() and alphabetize #includes. mcsauder 2019-08-30 12:14:37 -06:00
  • f31ac44289 Const correctness and fix leddar_one::test(). mcsauder 2019-08-29 21:53:53 -06:00