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

Add a py_binary rule specifically for robot diagnostics #3393

Open
2 tasks
itsarune opened this issue Oct 26, 2024 · 0 comments
Open
2 tasks

Add a py_binary rule specifically for robot diagnostics #3393

itsarune opened this issue Oct 26, 2024 · 0 comments
Labels
DevOps For everything related to logistics of code Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Thunderscope

Comments

@itsarune
Copy link
Contributor

Description of the task

Currently, we run thunderscope by running the following command: bazel run //software/thunderscope:thunderscope_main -- --run_diagnostics. However, the definition of the py_binary rule causes us to build FullSystem and the Simulator which slows down compilation time for both mech and elec who only care about robot diagnostics.

We should add a specific rule to launch robot diagnostics without needing these dependencies. We can also use the args tag of the py_binary rule to automatically add --run_diagnostics to the launch of Thunderscope.

(note: you can test robot diagnostics without robots at home with the following command: bazel run //software/thunderscope:thunderscope_main -- --run_diagnostics --interface=lo --disable_communication)

Acceptance criteria

Blocked By

@itsarune itsarune added Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Thunderscope DevOps For everything related to logistics of code labels Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevOps For everything related to logistics of code Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Thunderscope
Projects
None yet
Development

No branches or pull requests

1 participant