24 Commits

Author SHA1 Message Date
Martina Rivizzigno
e6e4d846fb add uORB message obstacle_distance_fused with data from offboard
obstacle_distance and distance sensor
2019-07-15 10:58:00 +02:00
Martina Rivizzigno
a9b1946bea CollisionPrevention: make sure that vehicle tilt compensation is
correct for all sensor orientation
2019-07-15 10:58:00 +02:00
Martina Rivizzigno
2439dc09ae CollisionPrevention: refactor code to make it more readable 2019-07-15 10:58:00 +02:00
Martina Rivizzigno
b6eea508bb CollisionPrevention: make sure that the timestamp is updated for distance
sensors even if they are out of range
2019-07-15 10:58:00 +02:00
Martina Rivizzigno
09bfb00c88 Obstacle_distance: use only one increment in float directly
CollisionPrevention: rename a few variables to make the code more readable
2019-07-15 10:58:00 +02:00
Martina Rivizzigno
5b24f28ac7 CollisionPrevention: map distance_sensor data to obstacle distance 2019-07-15 10:58:00 +02:00
Daniel Agar
90bf26b239 CollisionPrevention move orb subscriptions to uORB::Subscription 2019-06-07 09:22:35 -04:00
baumanta
2320088541 use position controller parameters for limitation instead of acceleration/jerk 2019-06-04 16:47:33 +02:00
baumanta
c497d94616 publish a minimal message for logging/debugging 2019-06-04 16:47:33 +02:00
baumanta
09e1d4888c use velocity component in bin direction instead of norm 2019-06-04 16:47:33 +02:00
baumanta
33cd032c35 camelcase function name, initialize c++11 style 2019-06-04 16:47:33 +02:00
baumanta
e7d17cc265 consider acceleration ramp-up time 2019-06-04 16:47:33 +02:00
baumanta
ab792093e1 fix wrong if clause 2019-06-04 16:47:33 +02:00
baumanta
23c23e3aa5 clean up 2019-06-04 16:47:33 +02:00
baumanta
f50a1d58b0 bugfixes and cleanup 2019-06-04 16:47:33 +02:00
baumanta
4212ae8b87 sign bug fix and clean up 2019-06-04 16:47:33 +02:00
baumanta
60befdce5b change collision prevention algorithm 2019-06-04 16:47:33 +02:00
baumanta
8427cd3051 constant acceleration breaking for collision prevention 2019-06-04 16:47:33 +02:00
baumanta
c0a1f5b72f Collision prevention improvements (#11866)
* match max vel in col-prev to regular pos ctrl
* change warning criterium to avoid float error
* disable push back from obstacles
* use floats consistently
2019-04-17 13:20:29 -04:00
bresch
b14446f0e5 Parameter update - Rename variables in lib
using paramter_update.py script
2019-04-03 15:38:50 +02:00
baumanta
053494c535 use only one parameter and enable parameter change in flight. clean up code 2018-11-20 14:11:33 +01:00
baumanta
efa7e0ba77 clean up 2018-11-20 14:11:33 +01:00
baumanta
f5369db245 Put parameters inside library. Get rid of unnecessary activation logic 2018-11-20 14:11:33 +01:00
baumanta
dd45fa6541 change feature name from CollisionAvoidance to CollisionPrevention 2018-11-20 14:11:33 +01:00