Skip to content

Commit 1e9abeb

Browse files
committed
Show a count of captured joint states instead of individual sample cnt (which is not so meaningful).
1 parent 6ae239b commit 1e9abeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Braccio_Learn_and_Repeat/Braccio_Learn_and_Repeat.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ void loop() {
170170
}
171171
delay(100);
172172
if (state != ZERO_POSITION) {
173-
lv_label_set_text_fmt(counter, "Counter: %d" , sample_cnt);
173+
lv_label_set_text_fmt(counter, "Counter: %d" , (sample_cnt / 6));
174174
}
175175
}

0 commit comments

Comments
 (0)