-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Jenkins: add iris optical flow SITL test #11665
Conversation
Yes, I was hoping to find a non-terrible way to keep them in sync (or a single source). |
There are a few issues to fix that are known so far:
If I work around all that, the position control test passes when I run this locally. However, the attitude test fails:
Examples:
I think the dropping altitude is unrelated. I haven't checked the mass associated with the sensor. I see this regarding the x, y local position:
|
7ce8c41
to
0f1b530
Compare
Getting Jenkins to have access that that optical flow lib broke other stuff with the package. Number two above is fixed so far. |
# sitl_gazebo built optical flow plugin | ||
install( | ||
FILES | ||
${PROJECT_SOURCE_DIR}/build/px4_sitl_default/build_gazebo/OpticalFlow/libOpticalFlow.so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that makes it in the path for our test
3f34198
to
d3d2a5b
Compare
Number 1 is fixed. |
Number 3 involves waiting on the solution to PX4/PX4-SITL_gazebo-classic#289. |
Because of ports and gzserver not closing quick enough, the For this test, I could split them out in Jenkins, but that doesn't solve the problem with this test file or the make targets. |
Do you know if it's gzserver not closing quickly enough or questionable PX4 SITL shutdown/cleanup? |
That's probably related to PX4/PX4-SITL_gazebo-classic#289. We could try to use |
9fba4c0
to
8e21684
Compare
8e21684
to
86ef3c3
Compare
This would still be nice! |
86ef3c3
to
c7d23b5
Compare
I just rebased. The Jenkins output looks different. I'll try this again. |
So it looks like my 3. above is no longer an issue, but we have that the position control test is no longer passing. Attitude control test still fails. Here are the logs from jenkins: Attitude: https://logs.px4.io/plot_app?log=739b637d-945a-4e7e-a082-3a9984c21bd5 I got similar results when running this locally. Full console output can be found at: https://pastebin.com/jmqqg7U8 For the position test, I saw this locally, which doesn't show up in the logged messages in flight review from the Jenkins run:
|
@lamping7 can we reboot this? |
Yes. I can rebase again and compare. |
c7d23b5
to
75d15a0
Compare
75d15a0
to
e198eeb
Compare
I rebased just now. I'll check Jenkins in a bit and will edit this. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
e198eeb
to
77906db
Compare
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Initial step to get optical flow into CI.
Do we want to add this to ASan and coverage as well @dagar? The same question goes for MC_avoidance that was just merged in.