From 627ca99d0953c0803a7437ef0601c63980f119e8 Mon Sep 17 00:00:00 2001 From: satoshi-ota Date: Thu, 21 Mar 2024 19:08:00 +0900 Subject: [PATCH] docs(planning_debug_tools): fix reactive script example Signed-off-by: satoshi-ota --- planning/planning_debug_tools/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/planning/planning_debug_tools/README.md b/planning/planning_debug_tools/README.md index a89cec28..e7b86638 100644 --- a/planning/planning_debug_tools/README.md +++ b/planning/planning_debug_tools/README.md @@ -89,8 +89,8 @@ function PlotValue(name, path, timestamp, value) new_series = ScatterXY.new(name) index = 0 while(true) do - series_k = TimeseriesView.find( string.format( "%s/"..value..".%d", path, index) ) - series_s = TimeseriesView.find( string.format( "%s/arclength.%d", path, index) ) + series_k = TimeseriesView.find( string.format( "%s/"..value.."[%d]", path, index) ) + series_s = TimeseriesView.find( string.format( "%s/arclength[%d]", path, index) ) series_size = TimeseriesView.find( string.format( "%s/size", path) ) if series_k == nil or series_s == nil then break end