add command line options and temperature calibration

without temperature calibration 0.3%
with ~5%

model name	: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
This commit is contained in:
devdesk
2024-02-19 21:53:25 +02:00
parent faccc3d20b
commit 2347158093
3 changed files with 43 additions and 6 deletions

13
run_live_debug.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
cd $(dirname $0)
set -e
# Python works but stutters
#sudo ./venv/bin/python ./decode.py --live
cargo build --example live
TARGET=./target/debug/examples/live
# setcap does not work yet (EPERM on socket AF_PACKET)
# sudo setcap cap_net_raw,cap_net_admin=eip $TARGET
#sudo strace -f -o live.strace $TARGET /dev/video0
sudo RUST_BACKTRACE=full $TARGET "$@"