Commit Graph

26325 Commits

Author SHA1 Message Date
Paul Riseborough d26da5fa3b mc_pos_control: Improve maximum height limiter
Implements a better method of determining when to switch from velocity to altitude control to keep height limit from being exceeded.
This method removes the overshoot and transients in height caused by the switching of the previous algorithm.
2018-06-09 13:38:04 +02:00
Paul Riseborough f0a1cd197e mc_pos_control: formatting fixes 2018-06-09 13:38:04 +02:00
Paul Riseborough b77845a3c0 mc_pos_control: Fix bug in calculation of altitude limit
The correction for stopping distance applied to the maximum altitude limiter uses the vertical velocity estimate and gives the same offset for both positive (down) and negative (up) velocity.
This calculation has been corrected and simplified and variable names changes to make the functionality clearer.
2018-06-09 13:38:04 +02:00
Paul Riseborough 967b27f131 ecl: rework optical flow selection logic
Fixes a race condition introduced by use of _is_dead-reckoning.
Only runs flow use logic when there is flow data available
2018-06-09 13:38:04 +02:00
Paul Riseborough e3a6528a80 ecl: include fixes to flow selection logic 2018-06-09 13:38:04 +02:00
Paul Riseborough 366e36a07b ekf2: Update parameter description 2018-06-09 13:38:04 +02:00
Paul Riseborough d46ee571ce ecl: test changes to pr-ekfOptFlowFixes 2018-06-09 13:38:04 +02:00
Mohammed Kabir 9a83f55c6a ecl: test PX4/ecl/pull/452 2018-06-09 13:38:04 +02:00
Mohammed Kabir c1169eb38b mc_pos_control : update to use new navigation limits architechture 2018-06-09 13:38:04 +02:00
Mohammed Kabir 8f5ceac936 ekf2 : use INFINITY when altitude limiting is not needed 2018-06-09 13:38:04 +02:00
Mohammed Kabir 1a2f9dd37a land_detector : use INFINITY when altitude limiting is not needed 2018-06-09 13:38:04 +02:00
Mohammed Kabir 31aa1cbf01 simulator : publish optical flow limits over uORB 2018-06-09 13:38:04 +02:00
Mohammed Kabir e8f1d50758 mavlink : update for compatibility with new navigation limits architechture 2018-06-09 13:38:04 +02:00
Mohammed Kabir 1d1dec0a8b inav : update for compatibility with new navigation limits architechture 2018-06-09 13:38:04 +02:00
Mohammed Kabir 9483885ed9 lpe : update for compatibility with new navigation limits architechture 2018-06-09 13:38:04 +02:00
Mohammed Kabir 6a9377846f ekf2 : update to use new navigation limits architechture 2018-06-09 13:38:04 +02:00
Mohammed Kabir 8299f571c8 msg : add height limits to local position 2018-06-09 13:38:04 +02:00
Mohammed Kabir 7f1686171b sensors : add parameter for maximum flow rate 2018-06-09 13:38:04 +02:00
Mohammed Kabir 32a7097018 px4flow : publish sensor limits over uORB 2018-06-09 13:38:04 +02:00
Mohammed Kabir 230d6c5aa2 msg : add sensor limits to optical flow message 2018-06-09 13:38:04 +02:00
Mohammed Kabir b3c5e53333 Unify optical flow height limiting 2018-06-09 13:38:04 +02:00
Paul Riseborough 0113212b34 mc_pos_control: Update parameter descriptions 2018-06-09 13:38:04 +02:00
Paul Riseborough 9e567cadd6 ekf2: Update parameter description 2018-06-09 13:38:04 +02:00
Paul Riseborough 0dc2377c2f mc_pos_control: format fixes 2018-06-09 13:38:04 +02:00
Paul Riseborough 9fb674929c commander: do not check global position when using flow in POSCTL 2018-06-09 13:38:04 +02:00
Paul Riseborough 2c325414f9 mc_pos_control: limit maximum height when reliant on optical flow data 2018-06-09 13:38:04 +02:00
Paul Riseborough 9028592c5f mc_pos_control: control height above ground when reliant on optical flow 2018-06-09 13:38:04 +02:00
Paul Riseborough 98597dcffc commander: allow position uncertainty to grow when operator can correct for drift 2018-06-09 13:38:04 +02:00
Paul Riseborough e5d428bd65 msg: add definitions for estimator status control mode bit positions 2018-06-09 13:38:04 +02:00
Lorenz Meier aee05d0ac5 FMU: Increase stack space as needed (shown by instrumentation) to retain a 300 bytes buffer. 2018-06-08 08:39:14 +02:00
Beat Küng a62a71f48f gps: reopen the gps port on failed auto-detection
work-around for https://github.com/PX4/Firmware/issues/9461
2018-06-07 22:20:47 +02:00
Lorenz Meier f87fa9131b FMUv5: Fix RGB led usage - these are individual status leds. 2018-06-06 23:03:28 +02:00
Lorenz Meier 02eaf2ce28 FMUv5: Fix safety switch led
Both IO and FMU are connected to the safety switch for default models. This needs later to be broken out to a config option for builds that do not contain an IO.
2018-06-06 22:23:24 +02:00
Philipp Oettershagen 9f414e82f6 Subsystem_info status flags & checks: Add comment to indicate that the IMU+MAG consistency checks need to be performed AFTER the individual checks are complete 2018-06-06 18:54:24 +02:00
Philipp Oettershagen e12b470cac Subsystem_info status flags & checks: Small fixes according to @bkueng's review 2018-06-06 18:54:24 +02:00
Philipp Oettershagen 0b71c52225 Subsystem_info status flags & checks: Suppress sensor failover warnings in Hardware in the loop (HITL) 2018-06-06 18:54:24 +02:00
Philipp Oettershagen 302cb0a285 Subsystem_info status flags & checks: Moved the set_health_flags helper functions out of the /lib/ folder and into the module/commander folder because they are actually only needed there 2018-06-06 18:54:24 +02:00
Philipp Oettershagen bd2af289f5 Subsystem_info status flags & checks: Code style fixes and cleanup to avoid strcmp() as suggested by @LorenzMeier 2018-06-06 18:54:24 +02:00
Philipp Oettershagen e4d863b95f Subsystem_info status flags & checks: Separate the functionality to a) set the health flags inside commander and b) to publish them from external modules 2018-06-06 18:54:24 +02:00
Philipp Oettershagen a807d34a7a Remove distance sensor checks again. These checks should be handled by EKF2 and should thus be added there later 2018-06-06 18:54:24 +02:00
Philipp Oettershagen be4ba32cf0 vl53lxx distance sensor: Remove subsystem_info calls because all sensors are now checked inside commander 2018-06-06 18:54:24 +02:00
Philipp Oettershagen 075009be2f Subsystem_info status flags & checks: 1) Set health flags in commander directly instead of publishing via uORB 2) move publish_subsystem_info into lib/ folder" 2018-06-06 18:54:24 +02:00
Philipp Oettershagen f5847a4a7b Subsystem_info status flags & checks: Switch back to uORB for inter-process communication, handle GPS checks completely inside ekf2, add distance_sensor checks 2018-06-06 18:54:24 +02:00
Philipp Oettershagen 6f1f414b49 Subsystem_info status flags & checks : Initial commit, updating the health flags in a centralized way mostly in commander and the votedSensorsUpdate function. 2018-06-06 18:54:24 +02:00
DanielePettenuzzo 40e6a5a39b fmu-v5: fix ms5611 2018-06-06 17:31:33 +02:00
DanielePettenuzzo 2ab5dc2951 fmu-v5: remove i2c3 as bus expansion because used just for internal mag (ONBOARD) 2018-06-06 17:31:33 +02:00
DanielePettenuzzo 7a760ee501 fmu-v5: add PX4_I2C_BUS_EXPANSION1 and 2 to all drivers that check all the busses 2018-06-06 17:31:33 +02:00
MaEtUgR 01afeed967 cmake nuttx upload: add verbatim parameter
to disable automatic evaluation of /dev/ttyS* expression in cygwin.
On linux verbatim seems to be default anyways. At least it doesn't get
evaluated on linux.
2018-06-06 12:32:03 +02:00
Philipp Oettershagen ba2cf5fa9a fw_att_control: Fix stuttering rudder in manual mode (#9607)
fw_att_control: Fix bug that caused the rudder to stutter when FW_RLL_TO_YAW_FF>0 and aileron input was supplied
2018-06-06 12:31:24 +02:00
PX4 Jenkins 64cf043481 Update submodule sitl_gazebo to latest Tue Jun 5 20:26:27 CDT 2018
- sitl_gazebo in PX4/Firmware (bbc104ad4c): 371e7c36c3
    - sitl_gazebo current upstream: e8b3624b9d
    - Changes: 371e7c36c3...e8b3624b9d

    e8b3624 2018-06-04 Elia Tarasov - tune gimbal pid gains
54c256d 2018-06-05 Poutshi - Update README.md (#211)
1992b0d 2018-06-05 TSC21 - CMakeLists: fix targe msg links
10b0597 2018-06-01 TSC21 - validade_sdf: fix typo
8fee88e 2018-06-01 TSC21 - travis_ci: add catkin build
de983cc 2018-05-31 TSC21 - generate separate protobuff libs for each msg category
6cb9360 2018-05-31 TSC21 - restructure proto msg API (rename, organize list)
5a250a2 2018-05-31 TSC21 - proto msgs: use PascalCase convention
ea6e2da 2018-05-31 TSC21 - remove the rotors_ prefix from plugin names
7989043 2018-05-31 TSC21 - allow building with the most recent C++ compiler available on the host
b819817 2018-05-31 TSC21 - package.xml: update and reorganize package list
a20bf63 2018-05-31 TSC21 - CMakeLists: reorganize build target and dependecies list
ae7df80 2018-05-31 TSC21 - CMakeLists: remove exception for ROS when building gazebo_geotagged_images_plugin (no longer applicable)
0a4e27b 2018-05-31 TSC21 - CMakeLists: fix typo on building gazebo_motor_failure_plugin
27f977b 2018-05-31 TSC21 - gazebo_mavlink_interface: add support for Gazebo 9 for model_param func
eded9b2 2018-05-31 Elia Tarasov - set default pid gains as constants
29b5424 2018-05-31 Elia Tarasov - add default pid control gains to sdf xml
4caf496 2018-05-30 Elia Tarasov - move pid control gains to sdf xml
2018-06-06 08:40:41 +02:00