From 65672ef475755cb89d25a46ecee26d25c30d1be1 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Fri, 30 Jun 2023 22:39:49 -0400 Subject: New metrics --- virtual-programs/archive/metrics.folk | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'virtual-programs') 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 -- cgit v1.2.3