Skip to content

Comments

Track debug visualization#405

Merged
agheata merged 3 commits intoapt-sim:masterfrom
agheata:trajectory
Jun 30, 2025
Merged

Track debug visualization#405
agheata merged 3 commits intoapt-sim:masterfrom
agheata:trajectory

Conversation

@agheata
Copy link
Contributor

@agheata agheata commented Jun 27, 2025

Added scripts/trajectory.py to visualise debugged tracks.

Compile with -DADEPT_DEBUG_TRACK=2. Debug your app and extract the track number, then rerun your app using:

ADEPT_DEBUG_TRACK=79017435789256 myApplication > output.txt

Run the script like:

python3 trajectory.py --equal-aspect --dir-fraction 0.01 --input-file track_log.txt --min-step 1 --max-step 1000

The options are explained in detail in the script.

track

Compile with -DADEPT_DEBUG_TRACK=2. Debug your app and extract the track number, then rerun your app using: ADEPT_DEBUG_TRACK=79017435789256 myApplication > output.txt

Run the script like: python3 trajectory.py --equal-aspect --dir-fraction 0.01 --input-file track_log.txt --min-step 1 --max-step 1000

The options are explained in detail in the script.
@phsft-bot
Copy link

Can one of the admins verify this patch?

Copy link
Collaborator

@SeverinDiederichs SeverinDiederichs left a comment

Choose a reason for hiding this comment

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

Great addition, thanks!

@agheata agheata merged commit 7644f18 into apt-sim:master Jun 30, 2025
3 checks passed
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.

3 participants