Matthias Grob
92adc71424
ArmStateMachine: port over unit tests to functional gtests
2022-04-06 10:02:14 +02:00
Beat Küng
1a743e1117
collision_prevention: switch to events
2021-09-11 14:08:41 -04:00
Daniel Agar
3ec40a5956
collision_prevention: fix CP_GO_NO_DATA parameter type
2021-05-04 16:41:32 -04:00
FengShun
eac9a6b68b
Replace PublicationQueued with Publication to automatically configure ORB_QUEUE_LENGTH
2020-10-26 13:01:13 +01:00
Daniel Agar
6ff361479c
uORB: introduce SubscriptionMultiArray for working with multi-instances
2020-09-02 12:46:47 -04:00
Hamish Willee
979243f38f
params: make parameter units more consistent ( #15502 )
2020-08-24 11:33:08 +02:00
Beat Küng
55d06241b3
fix unit tests: do not stub pthread_cond_wait
...
and fix the tests instead.
Some unit tests depend on pthread_cond_wait to work as expected.
2020-06-23 11:53:55 -04:00
Daniel Agar
466b5db36f
uORB::Publication improvements and cleanup ( #14784 )
...
- create common uORB::PublicationBase
- uORB::PublicationQueued types are now type aliases
- ORB_PRIO use enum type everywhere to avoid accidental misuse
- PX4Accelerometer/PX4Gyroscope/etc driver libs explicitly advertise on construction, unadvertise on destruction. This is a workaround for any potential issues that might appear when accel/gyro cdev and uORB indexing doesn't align.
2020-05-04 11:09:30 -04:00
Martina Rivizzigno
678e32caf7
CollisionPrevention remove mavlink_log outputs
2020-03-02 16:49:56 +01:00
Martina
a4acb6b92a
CollisionPrevention: set frame for obstacle_distance_fused topic
2020-03-02 16:49:56 +01:00
baumanta
7801ed129f
Add safety measure and test for missing sensor data
2020-03-02 16:49:56 +01:00
baumanta
67d0f5c5d1
CollisionPrevention: No movement if FOV is zero
2020-03-02 16:49:56 +01:00
Mohammed Kabir
bf9e193062
collision_prevention: fix sensor range float rounding
2020-01-05 20:22:51 +05:30
Matthias Grob
ffff35a597
Unit tests: use EXPECT_FLOAT_EQ for float comparisons
...
as precaution to prevent failing tests because of small potential
rounding errors on certain platforms or compilares.
2019-12-26 12:53:07 +01:00
Daniel Agar
22e4e85eeb
collision_prevention: don't unadvertise mavlink_log in destructor
2019-12-05 07:04:50 +01:00
Tanja Baumann
5d3a6d8213
collision_prevention: improve behavior in case of range data loss
...
* add test for no incoming range data
2019-11-21 11:13:28 -05:00
Beat Küng
a543169f1e
CollisionPrevention: avoid unnecessary cast from uint16_t to int
2019-11-19 09:32:30 +01:00
Daniel Agar
7996ee496c
lib: name folders consistently
2019-11-13 09:29:21 -05:00