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

Implementing test cases for Artery scenarios #366

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AshFungor
Copy link
Contributor

@AshFungor AshFungor commented Feb 16, 2025

Hey!

This is my PR for initial testing. The goal here is to create a framework for testing scenarios and implement a couple of them to demonstrate how to use it.

Part of this job is to wrap some CLI tools with Python, namely:

  • scavetool to generate .csv data from scalars & vectors
  • opp_run for actual scenario running

sim-runner relies upon run_artery.sh to provide necessary shared libraries & NED folders for simulation. It creates temporary config file which adds verbosity to scenario output for further analysis in tests.

@riebl
Copy link
Owner

riebl commented Feb 16, 2025

I am a little bit surprised about the usage of scavetool. Since vectors and scalars are recorded in SQLite format, I think it is much easier (and less error-prone) to read the database files directly via Python's sqlite3 module.

@AshFungor
Copy link
Contributor Author

It seems that pandas can read sqlite3 as well. I will test this and avoid using scavetool then :)

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.

2 participants