Beat Küng
3bdfd8ce8d
ToneAlarmInterface: move to drivers/drv_tone_alarm
...
It belongs there since it's not a library providing the implementation, but
just declaring the interface.
2019-08-30 07:59:44 +02:00
bresch
fe73cef224
TestVelocitySmoothing - Split time synchronization and final state checks into two different test functions
...
Also improve the comments
2019-08-29 15:20:53 +02:00
bresch
94d15931f2
TestVelocitySmoothing - Remove useless function override, use ceil instead of ceilf and remove line duplicate
2019-08-29 15:20:53 +02:00
bresch
5b82fa3a0f
TestVelocitySmoothing - add check for time synchronization and final acceleration
2019-08-29 15:20:53 +02:00
bresch
f40d571858
VelocitySmoothing - add zero setpoint test
2019-08-29 15:20:53 +02:00
bresch
c59bcc686c
VelocitySmothing - Add gtest script
2019-08-29 15:20:53 +02:00
roangel
1e510f5a44
[FlightTasks] Added class enum for FlightTasks errors ( #12822 )
2019-08-29 14:48:52 +02:00
PX4 Build Bot
511438d6ef
Update submodule matrix to latest Thu Aug 29 00:42:01 UTC 2019
...
- matrix in PX4/Firmware (341c0ae739753db98dcd0711e91f621c1666b16d): 56b069956d
- matrix current upstream: cc084e0791
- Changes: 56b069956d...cc084e0791
cc084e0 2019-08-26 Martina Rivizzigno - matrix: add method to check all values are nan (#82 )
84b3da2 2019-08-22 kritz - Canonical Quaternion with tests (#81 )
2019-08-28 21:45:09 -04:00
Julian Oes
3fa3cbd28a
version: add beta tag
...
This adds the "beta" tag and adds a dash before "rc" or "beta".
2019-08-23 13:18:52 +02:00
Julian Oes
68078795c0
px_update_git_header.py: allow -beta/-rc in tag
...
This changes two things:
- This adds "-beta" as a valid tag suffix.
- This changes "rc" without "-" to "-rc". "rc" without is now described
as deprecated and with "-rc" is preferred.
2019-08-22 18:45:50 +02:00
bresch
f4b40865af
SmoothVel - Fix altitude lock logic.
...
It was broken because _velocity_setpoint is used for input and output
and was assumed to be the input at a place where it was already overwitten
To clarify this, the input setpoint is renamed "target"
2019-08-22 16:43:41 +02:00
Julian Kent
5c68880b56
Reset parameters in test setup, not teardown
2019-08-21 14:53:41 +02:00
Julian Kent
63140f1d61
Do a single setup of uORB/Parameters instead of once every test
2019-08-21 14:53:41 +02:00
Silvan Fuhrer
ab28f1e4f7
Navigator: VTOL: disable weather vane during yaw aligning before front transition
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-21 10:08:04 +02:00
baumanta
af0d63250c
check velocity_setpoint instead of sticks in altitude mode
2019-08-21 10:02:40 +02:00
baumanta
d168d5049f
check vel_setpoint instead of stick input for position lock
2019-08-21 10:02:40 +02:00
Daniel Agar
5d813224c8
PX4 SPI default to thread locking mode
2019-08-20 21:36:21 -04:00
Daniel Agar
5ae408382b
led drivers and controller move to uORB::Subscription
2019-08-20 14:03:23 -04:00
Tanja Baumann
be233f6bc7
Collision Prevention: don't allow moving outside sensor FOV ( #12741 )
...
* don't allow moving outside FOV
* Update parameters in tests
2019-08-20 17:01:13 +02:00
Daniel Agar
dacaabe92e
introduce sensor_gyro_control message for vehicle_angular_velocity ( #12145 )
2019-08-16 13:53:59 -04:00
Julian Kent
d70b024ec7
GTest functional tests that include parameters and uORB messaging ( #12521 )
...
* Add kdevelop to gitignore
* Add test stubs
* Rename px4_add_gtest to px4_add_unit_gtest
* Add infrastructure to run functional tests
* Add example tests with parameters and uorb messages
* Fix memory issues in destructors in uORB manager and CDev
* Add a more real-world test of the collision prevention
2019-08-09 15:10:09 +02:00
bresch
4eb9c7d812
Create TrajMath library and move waypoint speed calculations in it
2019-08-09 12:04:48 +02:00
bresch
b1698b78bc
AutoSmoothVel - scale down acc_hor using traj_p parameter in the computation of the maximum waypoint entrance speed
2019-08-09 12:04:48 +02:00
bresch
de10f1e04d
MC auto - Modify yaw_sp_aligned to take mis_yaw_error tolerance.
...
Add check for this flag in AutoLine
2019-08-09 12:04:48 +02:00
Dennis Mannhart
9e9b2ab9e8
FlightTaskAutoLine/SmoothVel: stop at waypoint if altitude is has not been reached yet
2019-08-09 12:04:48 +02:00
bresch
255c911155
AutoSmoothVel - Compute desired speed at target based on angle between previous-current and current-next waypoints
...
Also remove crosstrack P controller that produces overshoots when the
acceptance radius is large (crosstrack error is suddenly large at
waypoint switch).
2019-08-09 12:04:48 +02:00
Silvan Fuhrer
cedf14e2ba
Airspeed Selector: repurpose wind estimator into an airspeed (selection, validation) module.
...
This new airspeed module does:
-runns an airspeed validator for every airspeed sensor present, which checks measurement validity and estimates an airspeed scale
-selects another airspeed sensor if for the current one a failure is detected
-estimates airspeed with groundspeed-windspeed if no valid airspeed sensor is present
-outputs airspeed_validated topic
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-09 10:55:05 +02:00
Silvan Fuhrer
50dc8aee7a
Airspeed Selector: added airspeed validator class
...
This validator takes measurements from a single airspeed sensor and:
-checks validity of measurement
-can estimate an airspeed scale factor (estimation enabled with parameter setting) to accout for errors in airspeed due due placement of sensor
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-09 10:55:05 +02:00
Silvan Fuhrer
248e1818e2
Airspeed Selector: changes in airspeed library to account for new EAS state (equivalent airspeed)
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-09 10:55:05 +02:00
Claudio Micheli
5fe7992af5
mixer_group: improved get_multirotor_count () code readbility.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
2019-08-09 09:41:17 +02:00
Claudio Micheli
1e04d718f6
uavcan escs: Modified esc_status reporting to have _rotor_count published.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
2019-08-09 09:41:17 +02:00
PX4 Build Bot
34ed454ea9
Update submodule ecl to latest Fri Aug 9 02:59:11 UTC 2019
...
- ecl in PX4/Firmware (e93e676c38bc3ce2e57c20a8dc33ffe377826903): d38164fc8e
- ecl current upstream: 62fa464e4d
- Changes: d38164fc8e...62fa464e4d
62fa464 2019-07-17 RomanBapst - WindEstimator: added support for pre-set airspeed scale factor
a7d9c73 2019-07-09 Silvan Fuhrer - Wind estimator: added wind_estimator_reset state (to indicate if wind estimator was reset in last fusion-cycle)
09f29db 2019-07-02 Silvan Fuhrer - added option to fix airspeed scaling to 1
2019-08-08 23:39:43 -04:00
Daniel Agar
e8a11086eb
create uORB::PublicationMulti for multi publications
2019-08-08 21:01:56 -04:00
baumanta
e91614c791
change angle parmeter to degrees
2019-08-07 15:29:13 +02:00
baumanta
f80a539faa
add unit for coll prev angle
2019-08-07 15:29:13 +02:00
baumanta
14f128b89d
add parameter for detection angle
2019-08-07 15:29:13 +02:00
baumanta
150b5df7cb
change size of reaction angle
2019-08-07 15:29:13 +02:00
baumanta
b26d3ac9d4
no slinding in collision prevention (roll jerk fix)
2019-08-07 15:29:13 +02:00
bresch
50fbb56737
Yaw mode 3 - Add check for minimum distance to target in MPC_YAW_MODE 3 (along trajectory) to be consistent with the other yaw modes
2019-08-07 10:30:34 +02:00
Martina
119e5e3182
Revert "CollisionPrevention only process distance_sensor updates"
...
This reverts commit 839787568c523dad917946322019293eddf6461c.
2019-08-07 04:01:50 -04:00
Martina Rivizzigno
19ad80385e
ObstacleAvoidance: update empty_trajectory_waypoint
2019-08-05 16:05:40 +02:00
Martina Rivizzigno
d29f2ff60c
ObstacleAvoidance: use hysteresis on z to check progress towards the goal
2019-08-05 16:05:40 +02:00
Martina Rivizzigno
39e59d6cc4
add point type (mavlink command associated with wp) in Obstacle Avoidance interface
2019-08-05 16:05:40 +02:00
Daniel Agar
e69398c09f
introduce uORB::PublicationQueued and transition most orb_advertise_queue usage
2019-08-04 10:08:09 -04:00
Daniel Agar
839787568c
CollisionPrevention only process distance_sensor updates
2019-08-04 10:04:09 -04:00
Daniel Agar
6a6bc4be58
drivers helper classes remove empty publication (forced advertise)
...
- this is no longer necessary with all publications outside of ISRs
2019-08-03 14:08:45 -04:00
PX4 Build Bot
5f962401cb
Update submodule DriverFramework to latest Fri Aug 2 08:39:05 EDT 2019
...
- DriverFramework in PX4/Firmware (eda49a4b63a2c228eb65a25cf8b8f7f02e9ce74f): 06277ef49f
- DriverFramework current upstream: c7d2fe2d4f
- Changes: 06277ef49f...c7d2fe2d4f
c7d2fe2 2019-07-23 Andrii Beregovenko - Fix missing symbol from librobotcontrol
2019-08-02 10:36:38 -04:00
Timothy Scott
39a5799e65
Mavlink: fixed temperature for batteries ( #12605 )
2019-08-02 10:09:03 -04:00
Daniel Agar
29c50da1f6
ll40ls: cleanup and create PX4Rangerfinder helper class ( #12567 )
2019-07-31 15:17:35 -04:00
PX4 Build Bot
36534d5bab
Update submodule ecl to latest Fri Jul 26 12:38:35 UTC 2019
...
- ecl in PX4/Firmware (83316cf7b0484e7ba7f9b61201dea7215185da49): e1751188fd
- ecl current upstream: d38164fc8e
- Changes: e1751188fd...d38164fc8e
d38164f 2019-07-21 Jaeyoung-Lim - Fix flag for initialization
2019-07-26 12:04:07 -04:00