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

Run on separate sitl configs with firmware #576

Merged
merged 7 commits into from
Aug 20, 2020
Merged

Conversation

Jaeyoung-Lim
Copy link
Member

@Jaeyoung-Lim Jaeyoung-Lim commented Aug 18, 2020

This enables running SITL tests on a different config than the firmware.

I also noticed that the make px4_sitl_default gazebo needs to be run before changing the submodule branch in order to be on the correct branch. Therefore, this PR includes a workaround of building twice
(@bkueng Any idea why this is happening?)

Models running tests

  • iris
  • standard_vtol

Models with intermittent failures

  • tailsitter

Models that have been tested, but that do not pass the test (therefore not added)

  • px4vision, solo, typhoon_h480, tiltrotor

@Jaeyoung-Lim
Copy link
Member Author

@dagar @julianoes I am not sure if the SITL failures here are related to the intermittent failures upstream. Could you shed any light if I need to fix this in the submodule layer?

@Jaeyoung-Lim
Copy link
Member Author

Jaeyoung-Lim commented Aug 19, 2020

Fix for the comment above was to have GIT_SUBMODULES_ARE_EVIL: 1

Thanks @dagar for the pointers!

@TSC21
Copy link
Member

TSC21 commented Aug 19, 2020

Tests are failing

@Jaeyoung-Lim
Copy link
Member Author

@TSC21 Yes, but not because the PR is incorrect, but this better reflects reality!

@Jaeyoung-Lim
Copy link
Member Author

Jaeyoung-Lim commented Aug 19, 2020

@dagar This seems to be much more reliable than before

@TSC21 I reverted #567 since it was making the tests quite unstable.

@jkflying jkflying merged commit 12ad143 into master Aug 20, 2020
@jkflying jkflying deleted the pr-run-sitl-test branch August 20, 2020 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants