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

End-to-end planner updates #349

Merged
merged 23 commits into from
Nov 24, 2022
Merged

End-to-end planner updates #349

merged 23 commits into from
Nov 24, 2022

Conversation

halil93ibrahim
Copy link
Collaborator

I am creating this PR instead of #286, since it includes updates in the end-to-end planner tool to include the recent work. I have also implemented the ROS1 node here, which publishes the output of the planner as a target waypoint.

@tsampazk tsampazk self-requested a review November 14, 2022 10:32
Copy link
Collaborator

@tsampazk tsampazk left a comment

Choose a reason for hiding this comment

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

Thanks @halil93ibrahim for the new node and the updates! As this tool seems more involved and different in nature, i don't think we need to force the ROS node format that is followed in other packages, what do you think @ad-daniel?

Changes are good from my perspective, most comments are about minor stuff; some broken links in the docs and leftover comments.

halil93ibrahim and others added 3 commits November 14, 2022 15:56
Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
Copy link
Collaborator

@ad-daniel ad-daniel left a comment

Choose a reason for hiding this comment

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

Yes, I think this tool is a bit of an exception and it doesn't make much sense to enforce the same constraints as the others

@halil93ibrahim
Copy link
Collaborator Author

Hello, I have implemented your comments. Please let me know If there is further.
For tests to run successfully, preferably roscore and the Webots world provided are expected to run. What should I do to perform those?

@tsampazk tsampazk self-requested a review November 18, 2022 08:38
Copy link
Collaborator

@tsampazk tsampazk left a comment

Choose a reason for hiding this comment

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

Thanks @halil93ibrahim! Two very minor comments and it's good to go from my perspective.

For tests to run successfully, preferably roscore and the Webots world provided are expected to run. What should I do to perform those?

I'm not exactly sure how to handle this.

halil93ibrahim and others added 2 commits November 18, 2022 14:11
Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
tsampazk
tsampazk previously approved these changes Nov 18, 2022
Copy link
Collaborator

@tsampazk tsampazk left a comment

Choose a reason for hiding this comment

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

Thank you!

@ad-daniel ad-daniel added the test sources Run style checks label Nov 21, 2022
ad-daniel
ad-daniel previously approved these changes Nov 22, 2022
Copy link
Collaborator

@ad-daniel ad-daniel left a comment

Choose a reason for hiding this comment

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

Thank you

For tests to run successfully, preferably roscore and the Webots world provided are expected to run. What should I do to perform those?

You mean for the integrated tests (CI) ? The CI machines don't have GPU and running simulations CPU-only will likely result in very long tests, and the simulation also relied on a older version of webots (~1.5GB at the time) and required Ardupilot. As such we decided not to go that route and instead have a test that just ensures the tool is functional (i.e. can be installed without dependency conflicts and tests some functionality). An easier approach could be to record locally the simulation data (sensor data) and use that in the test without needing to install webots itself. At the time we opted for the current test, do you think a different approach would be better now?

@ad-daniel ad-daniel added the test tools Test the toolkit methods label Nov 22, 2022
tsampazk
tsampazk previously approved these changes Nov 22, 2022
@halil93ibrahim halil93ibrahim dismissed stale reviews from tsampazk and ad-daniel via 653ae93 November 22, 2022 12:04
@halil93ibrahim
Copy link
Collaborator Author

You mean for the integrated tests (CI) ? The CI machines don't have GPU and running simulations CPU-only will likely result in very long tests, and the simulation also relied on a older version of webots (~1.5GB at the time) and required Ardupilot. As such we decided not to go that route and instead have a test that just ensures the tool is functional (i.e. can be installed without dependency conflicts and tests some functionality). An easier approach could be to record locally the simulation data (sensor data) and use that in the test without needing to install webots itself. At the time we opted for the current test, do you think a different approach would be better now?

I meant the CI tests. Now, the tests are passing similar to the one we did before. The tool does not require Ardupilot in this version, but still needs the old version of Webots. So, I could think of a different approach when I complete the implementations in Webots 2022b.
I believe the PR is now ready to merge. Please let me know if a change is needed.

Copy link
Collaborator

@tsampazk tsampazk left a comment

Choose a reason for hiding this comment

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

Thanks @halil93ibrahim, new changes LGTM!

Copy link
Collaborator

@ad-daniel ad-daniel left a comment

Choose a reason for hiding this comment

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

Ah I see, having webots on the loop would be ideal, but like I mentioned it will depend on the performance. If the tests take too long is not great and without GPU that might be the case. We can explore the option again when the version for R2022b is ready.
Looks good to me as well, thank you!

@ad-daniel ad-daniel merged commit a39eef9 into develop Nov 24, 2022
@ad-daniel ad-daniel deleted the e2e-planner-updates branch November 24, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test sources Run style checks test tools Test the toolkit methods
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants