Skip to content

Test for Optical Flow checks correct camera position#23266

Merged
sfuhrer merged 8 commits intoPX4:mainfrom
PavloZMN:feature/optical-flow-test
Jan 22, 2025
Merged

Test for Optical Flow checks correct camera position#23266
sfuhrer merged 8 commits intoPX4:mainfrom
PavloZMN:feature/optical-flow-test

Conversation

@PavloZMN
Copy link
Copy Markdown
Contributor

Solved Problem

OpticalFlow tests coverage improved with additional tests.

Fixes #{Github issue ID}

Solution

New test 'VehicleOpticalFlowTest' which checks camera orientation for Optical Flow.

Changelog Entry

For release notes:

New test 'VehicleOpticalFlowTest' which checks camera orientation for Optical Flow.

Test coverage

VehicleOpticalFlowTest - new test

bresch
bresch previously approved these changes Jul 15, 2024
Comment thread src/modules/sensors/vehicle_optical_flow/test/CMakeLists.txt Outdated
Comment thread src/modules/sensors/vehicle_optical_flow/test/VehicleOpticalFlowTest.cpp Outdated
…owTest.cpp

Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
Comment thread src/modules/sensors/vehicle_optical_flow/test/VehicleOpticalFlowTest.cpp Outdated
Copy link
Copy Markdown
Contributor

@sfuhrer sfuhrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks clean now, thanks for your contribution!

@sfuhrer sfuhrer merged commit ee150a1 into PX4:main Jan 22, 2025
JoelJ18 pushed a commit to microstrain-robotics/PX4-Autopilot that referenced this pull request Jan 27, 2025
…PX4#23266)

* Test for Optical Flow checks correct camera position

* Formatting fixed

* Update src/modules/sensors/vehicle_optical_flow/test/CMakeLists.txt

Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>

* Update src/modules/sensors/vehicle_optical_flow/test/VehicleOpticalFlowTest.cpp

Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>

* Update src/modules/sensors/vehicle_optical_flow/test/VehicleOpticalFlowTest.cpp

Co-authored-by: Silvan Fuhrer <silvan@auterion.com>

* For test GIVEN/WHEN/THEN added

---------

Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants