diff options
| author | Omar Rizwan <omar@omar.website> | 2023-07-01 02:39:49 +0000 |
|---|---|---|
| committer | Omar Rizwan <omar@omar.website> | 2023-07-01 02:39:49 +0000 |
| commit | 65672ef475755cb89d25a46ecee26d25c30d1be1 (patch) | |
| tree | 0bf9a14c43522d9e9f9745dad21196fe08008e3f /virtual-programs | |
| parent | Fix small memory leak (diff) | |
| download | folk-65672ef475755cb89d25a46ecee26d25c30d1be1.tar.gz folk-65672ef475755cb89d25a46ecee26d25c30d1be1.zip | |
New metrics
Diffstat (limited to 'virtual-programs')
| -rw-r--r-- | virtual-programs/archive/metrics.folk | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/virtual-programs/archive/metrics.folk b/virtual-programs/archive/metrics.folk index b4f76fa0..fe6baebd 100644 --- a/virtual-programs/archive/metrics.folk +++ b/virtual-programs/archive/metrics.folk @@ -1,11 +1,14 @@ -When $::nodename has step count /c/ { - Wish $this is labelled [string trim " +When $::thisNode has step count /c/ & the camera time is /cameraTime/ & the AprilTag time is /aprilTime/ { + Wish $this is labelled [string trim " + +Metrics +---- step count: $c step time: $::stepTime -camera time: [expr {[namespace exists ::Camera] ? [lindex $::Camera::statements 0 end] : {none}}] +camera time: $cameraTime +AprilTag time: $aprilTime display time: $::Display::displayTime -statement count: [Statements::size] -logsize: $::logsize - "] + +"] } -Wish $this is outlined green
\ No newline at end of file +Wish $this is outlined skyblue |
