cu-rp-balancebot-0.13.1 is not a library.
BalanceBot: this is a full Copper demo robot
with:
- a physical robot implementation
- a simulation implementation
- a resimulation demoing the deterministic replay
- a log export
To run the simulation
See the UI help for the navigation.
To run the resimulation
(you need at least a log in logs for example from a simulation run).
It will recreate the logs from only the inputs of the previous run in logs/balancebot_resim*.copper.
To run on the real robot
You will need to cross compile for Arm:
Be sure you save your log string index:
Deploy on the target:
To export logs
Justfile commands
just balancebot-dump-text-logs— extract human-readable logs fromlogs/balance.copperinto../../target/debug/cu29_log_index/strings.bin.just balancebot-fsck— integrity check oflogs/balance.copper.just balancebot-set-pwm-permissions— fix PWM sysfs permissions on the target (requires appropriate privileges).just dag-logstats— generate logstats and open an annotated DAG SVG for the currentcopperconfig.ron.