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

FSF-7164 | Path Planning Integration Tests Creation #380

Open
wants to merge 40 commits into
base: dev
Choose a base branch
from

Conversation

DiogoProPrayer
Copy link
Contributor

Created a script to generate test files
Created code to read from the file, test the pipeline and output a debug file
Created tests for all the test files from rosbags and invented scenarios
Created a script to read the debug files and plot the resulting path along with the given cones

Finally added a README.md file to help understand how the file structure works and how to create new tests in the future

DiogoProPrayer and others added 26 commits November 15, 2024 13:11
* added test to available dashboards

* Added test test to send bucket

* canceled previous change and added change to get dashboard layout

* same as 2nd commit

* Added graph 4

* Fixed errors in code structure and added graph 5

* Fixed errors in code structure and added graph 5

* Tried to add random variables

* Same and Debugging

* Debugging

* Revert "Fixed errors in code structure and added graph 5"

This reverts commit 095fe49.

* Revert "Tried to add random variables"

This reverts commit d05a3f0.
added launch files for more disciplines in pacsim
fixed error in control node due to acos not clamped to [-1, 1], resulting in NaN steering
fixed car model not appearing in foxglove
Copy link

Copy link
Contributor

@Davide64-dev Davide64-dev left a comment

Choose a reason for hiding this comment

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

Overall good. Three Suggestions:

  • Remove the output from results, i think it does not make a lot og sense to save and those values should be on -gitignore
  • I think the ground truth (x1,x2,y1,y2) should be on the .txt file corresponding to the scenario
  • Some test code could be a function and with that, we would increase the code readability

@Davide64-dev
Copy link
Contributor

I think everythink is alright, can you just put the tests in a way relaxed enough to not fail the tests?

Copy link
Contributor

@lourenco31 lourenco31 left a comment

Choose a reason for hiding this comment

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

In addition to the other comments, please create a folder with the scenarios and scenario_generator.py inside integration_tests

Copy link
Contributor

@lourenco31 lourenco31 left a comment

Choose a reason for hiding this comment

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

If doable solve sonarcloud issues, otherwise approved

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.

5 participants