Add a py_binary
rule specifically for robot diagnostics
#3393
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
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 thepy_binary
rule causes us to buildFullSystem
and theSimulator
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 ofThunderscope
.(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
py_binary
to launch robot diagnostics and verify that it worksBlocked By
The text was updated successfully, but these errors were encountered: