Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for Camera plugin #39

Merged
merged 6 commits into from
Aug 19, 2023
Merged

add test for Camera plugin #39

merged 6 commits into from
Aug 19, 2023

Conversation

lucapa17
Copy link
Contributor

Fix #36

@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +5.21% 🎉

Comparison is base (a67af92) 80.10% compared to head (469a588) 85.32%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   80.10%   85.32%   +5.21%     
==========================================
  Files          11       14       +3     
  Lines         558      906     +348     
==========================================
+ Hits          447      773     +326     
- Misses        111      133      +22     
Files Changed Coverage Δ
plugins/camera/CameraDriver.cpp 96.75% <100.00%> (ø)
tests/camera/CameraTest.cc 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

<action phase="shutdown" level="5" type="detach" />
</device>
</devices>
</robot>
Copy link
Member

Choose a reason for hiding this comment

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

Missing new line at the end of the file.


set(_env_vars)
list(APPEND _env_vars "GZ_SIM_SYSTEM_PLUGIN_PATH=$<TARGET_FILE_DIR:GazeboYarpCamera>")
list(APPEND _env_vars "LIBGL_ALWAYS_SOFTWARE=1")
Copy link
Member

Choose a reason for hiding this comment

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

I saw that you added this in the Laser tests as well. However, this should only be necessary if you are using WSL2, not in general. Furthermore, it should not be necessary anymore after the release of gz-renderng 7.4.1 , see gazebosim/gz-sim#920 (comment) . However, I will open a separate issue for this.

Copy link
Member

@traversaro traversaro left a comment

Choose a reason for hiding this comment

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

Minor comments.

@GiacomoBisio GiacomoBisio merged commit dc3b5f9 into main Aug 19, 2023
7 checks passed
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.

Write tests for Camera plugin
3 participants