Skip to content

Commit 1bf5056

Browse files
authored
style: fix typos in PlotJuggler config files (#3618)
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
1 parent 06184cf commit 1bf5056

File tree

9 files changed

+38
-38
lines changed

9 files changed

+38
-38
lines changed

control/control_performance_analysis/config/controller_monitor.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
<plot flip_x="false" style="Lines" flip_y="false" mode="TimeSeries">
288288
<range top="1278.960225" left="0.000000" bottom="-30.937311" right="59.925017"/>
289289
<limitY/>
290-
<curve color="#9467bd" name="iae_longitudina_velocity_error"/>
290+
<curve color="#9467bd" name="iae_longitudinal_velocity_error"/>
291291
</plot>
292292
</DockArea>
293293
<DockArea name="iae_longitudinal_acceleration_error">
@@ -381,15 +381,15 @@
381381
<plugin ID="DataLoad CSV">
382382
<default time_axis="" delimiter="0"/>
383383
</plugin>
384-
<plugin ID="DataLoad ROS2 bags">
384+
<plugin ID="DataLoad ROS 2 bags">
385385
<use_header_stamp value="false"/>
386386
<discard_large_arrays value="true"/>
387387
<max_array_size value="100"/>
388388
<boolean_strings_to_number value="true"/>
389389
<remove_suffix_from_strings value="true"/>
390390
</plugin>
391391
<plugin ID="DataLoad ULog"/>
392-
<plugin ID="ROS2 Topic Subscriber">
392+
<plugin ID="ROS 2 Topic Subscriber">
393393
<use_header_stamp value="false"/>
394394
<discard_large_arrays value="true"/>
395395
<max_array_size value="100"/>
@@ -405,14 +405,14 @@
405405
<scripts/>
406406
</plugin>
407407
<plugin ID="CSV Exporter"/>
408-
<plugin ID="ROS2 Topic Re-Publisher"/>
408+
<plugin ID="ROS 2 Topic Re-Publisher"/>
409409
</Plugins>
410410
<!-- - - - - - - - - - - - - - - -->
411411
<previouslyLoaded_Datafiles/>
412-
<previouslyLoaded_Streamer name="ROS2 Topic Subscriber"/>
412+
<previouslyLoaded_Streamer name="ROS 2 Topic Subscriber"/>
413413
<!-- - - - - - - - - - - - - - - -->
414414
<customMathEquations>
415-
<snippet name="iae_longitudina_velocity_error">
415+
<snippet name="iae_longitudinal_velocity_error">
416416
<global>sum = 0</global>
417417
<function>sum = sum + math.abs(value)
418418

control/control_performance_analysis/config/error_rqt_multiplot.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@
726726
<visible>true</visible>
727727
</legend>
728728
<plot_rate>30</plot_rate>
729-
<title> Measured and Computed Steerings Plot</title>
729+
<title> Measured and Computed Steering Plot</title>
730730
</column_2>
731731
</row_2>
732732
<row_3>

control/pure_pursuit/config/pure_pursuit_lateral_controller_plotjuggler_debug.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@
7777
<plugin ID="DataLoad CSV">
7878
<default time_axis="" delimiter="0"/>
7979
</plugin>
80-
<plugin ID="DataLoad ROS2 bags">
80+
<plugin ID="DataLoad ROS 2 bags">
8181
<use_header_stamp value="false"/>
8282
<discard_large_arrays value="true"/>
8383
<max_array_size value="100"/>
8484
<boolean_strings_to_number value="true"/>
8585
<remove_suffix_from_strings value="true"/>
8686
</plugin>
8787
<plugin ID="DataLoad ULog"/>
88-
<plugin ID="ROS2 Topic Subscriber">
88+
<plugin ID="ROS 2 Topic Subscriber">
8989
<use_header_stamp value="true"/>
9090
<discard_large_arrays value="true"/>
9191
<max_array_size value="100"/>
@@ -98,15 +98,15 @@
9898
<plugin ID="Fast Fourier Transform"/>
9999
<plugin ID="Quaternion to RPY"/>
100100
<plugin ID="Reactive Script Editor">
101-
<library code="--[[ Helper function to create a series from arrays&#xa;&#xa; new_series: a series previously created with ScatterXY.new(name)&#xa; prefix: prefix of the timeseries, before the index of the array&#xa; suffix_X: suffix to complete the name of the series containing the X value. If [nil], use the index of the array.&#xa; suffix_Y: suffix to complete the name of the series containing the Y value&#xa; timestamp: usually the tracker_time variable&#xa; &#xa; Example:&#xa; &#xa; Assuming we have multiple series in the form:&#xa; &#xa; /trajectory/node.{X}/position/x&#xa; /trajectory/node.{X}/position/y&#xa; &#xa; where {N} is the index of the array (integer). We can create a reactive series from the array with:&#xa; &#xa; new_series = ScatterXY.new(&quot;my_trajectory&quot;) &#xa; CreateSeriesFromArray( new_series, &quot;/trajectory/node&quot;, &quot;position/x&quot;, &quot;position/y&quot;, tracker_time );&#xa;--]]&#xa;&#xa;function CreateSeriesFromArray( new_series, prefix, suffix_X, suffix_Y, timestamp )&#xa; &#xa; --- clear previous values&#xa; new_series:clear()&#xa; &#xa; --- Append points to new_series&#xa; index = 0&#xa; while(true) do&#xa;&#xa; x = index;&#xa; -- if not nil, get the X coordinate from a series&#xa; if suffix_X ~= nil then &#xa; series_x = TimeseriesView.find( string.format( &quot;%s.%d/%s&quot;, prefix, index, suffix_X) )&#xa; if series_x == nil then break end&#xa; x = series_x:atTime(timestamp)&#x9; &#xa; end&#xa; &#xa; series_y = TimeseriesView.find( string.format( &quot;%s.%d/%s&quot;, prefix, index, suffix_Y) )&#xa; if series_y == nil then break end &#xa; y = series_y:atTime(timestamp)&#xa; &#xa; new_series:push_back(x,y)&#xa; index = index+1&#xa; end&#xa;end&#xa;&#xa;--[[ Similar to the built-in function GetSeriesNames(), but select only the names with a give prefix. --]]&#xa;&#xa;function GetSeriesNamesByPrefix(prefix)&#xa; -- GetSeriesNames(9 is a built-in function&#xa; all_names = GetSeriesNames()&#xa; filtered_names = {}&#xa; for i, name in ipairs(all_names) do&#xa; -- check the prefix&#xa; if name:find(prefix, 1, #prefix) then&#xa; table.insert(filtered_names, name);&#xa; end&#xa; end&#xa; return filtered_names&#xa;end&#xa;&#xa;--[[ Modify an existing series, applying offsets to all their X and Y values&#xa;&#xa; series: an existing timeseries, obtained with TimeseriesView.find(name)&#xa; delta_x: offset to apply to each x value&#xa; delta_y: offset to apply to each y value &#xa; &#xa;--]]&#xa;&#xa;function ApplyOffsetInPlace(series, delta_x, delta_y)&#xa; -- use C++ indeces, not Lua indeces&#xa; for index=0, series:size()-1 do&#xa; x,y = series:at(index)&#xa; series:set(index, x + delta_x, y + delta_y)&#xa; end&#xa;end&#xa;"/>
101+
<library code="--[[ Helper function to create a series from arrays&#xa;&#xa; new_series: a series previously created with ScatterXY.new(name)&#xa; prefix: prefix of the timeseries, before the index of the array&#xa; suffix_X: suffix to complete the name of the series containing the X value. If [nil], use the index of the array.&#xa; suffix_Y: suffix to complete the name of the series containing the Y value&#xa; timestamp: usually the tracker_time variable&#xa; &#xa; Example:&#xa; &#xa; Assuming we have multiple series in the form:&#xa; &#xa; /trajectory/node.{X}/position/x&#xa; /trajectory/node.{X}/position/y&#xa; &#xa; where {N} is the index of the array (integer). We can create a reactive series from the array with:&#xa; &#xa; new_series = ScatterXY.new(&quot;my_trajectory&quot;) &#xa; CreateSeriesFromArray( new_series, &quot;/trajectory/node&quot;, &quot;position/x&quot;, &quot;position/y&quot;, tracker_time );&#xa;--]]&#xa;&#xa;function CreateSeriesFromArray( new_series, prefix, suffix_X, suffix_Y, timestamp )&#xa; &#xa; --- clear previous values&#xa; new_series:clear()&#xa; &#xa; --- Append points to new_series&#xa; index = 0&#xa; while(true) do&#xa;&#xa; x = index;&#xa; -- if not nil, get the X coordinate from a series&#xa; if suffix_X ~= nil then &#xa; series_x = TimeseriesView.find( string.format( &quot;%s.%d/%s&quot;, prefix, index, suffix_X) )&#xa; if series_x == nil then break end&#xa; x = series_x:atTime(timestamp)&#x9; &#xa; end&#xa; &#xa; series_y = TimeseriesView.find( string.format( &quot;%s.%d/%s&quot;, prefix, index, suffix_Y) )&#xa; if series_y == nil then break end &#xa; y = series_y:atTime(timestamp)&#xa; &#xa; new_series:push_back(x,y)&#xa; index = index+1&#xa; end&#xa;end&#xa;&#xa;--[[ Similar to the built-in function GetSeriesNames(), but select only the names with a give prefix. --]]&#xa;&#xa;function GetSeriesNamesByPrefix(prefix)&#xa; -- GetSeriesNames(9 is a built-in function&#xa; all_names = GetSeriesNames()&#xa; filtered_names = {}&#xa; for i, name in ipairs(all_names) do&#xa; -- check the prefix&#xa; if name:find(prefix, 1, #prefix) then&#xa; table.insert(filtered_names, name);&#xa; end&#xa; end&#xa; return filtered_names&#xa;end&#xa;&#xa;--[[ Modify an existing series, applying offsets to all their X and Y values&#xa;&#xa; series: an existing timeseries, obtained with TimeseriesView.find(name)&#xa; delta_x: offset to apply to each x value&#xa; delta_y: offset to apply to each y value &#xa; &#xa;--]]&#xa;&#xa;function ApplyOffsetInPlace(series, delta_x, delta_y)&#xa; -- use C++ indices, not Lua indices&#xa; for index=0, series:size()-1 do&#xa; x,y = series:at(index)&#xa; series:set(index, x + delta_x, y + delta_y)&#xa; end&#xa;end&#xa;"/>
102102
<scripts/>
103103
</plugin>
104104
<plugin ID="CSV Exporter"/>
105-
<plugin ID="ROS2 Topic Re-Publisher"/>
105+
<plugin ID="ROS 2 Topic Re-Publisher"/>
106106
</Plugins>
107107
<!-- - - - - - - - - - - - - - - -->
108108
<previouslyLoaded_Datafiles/>
109-
<previouslyLoaded_Streamer name="ROS2 Topic Subscriber"/>
109+
<previouslyLoaded_Streamer name="ROS 2 Topic Subscriber"/>
110110
<!-- - - - - - - - - - - - - - - -->
111111
<customMathEquations/>
112112
<snippets/>

control/trajectory_follower_node/config/plot_juggler_trajectory_follower.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@
243243
<plugin ID="DataLoad CSV">
244244
<default time_axis=""/>
245245
</plugin>
246-
<plugin ID="DataLoad ROS2 bags">
246+
<plugin ID="DataLoad ROS 2 bags">
247247
<use_header_stamp value="false"/>
248248
<discard_large_arrays value="true"/>
249249
<max_array_size value="99"/>
250250
</plugin>
251251
<plugin ID="DataLoad ULog"/>
252-
<plugin ID="ROS2 Topic Subscriber">
252+
<plugin ID="ROS 2 Topic Subscriber">
253253
<use_header_stamp value="false"/>
254254
<discard_large_arrays value="false"/>
255255
<max_array_size value="true"/>
@@ -263,11 +263,11 @@
263263
<plugin ID="WebSocket Server"/>
264264
<plugin ID="ZMQ Subscriber"/>
265265
<plugin status="idle" ID="CSV Exporter"/>
266-
<plugin status="idle" ID="ROS2 Topic Re-Publisher"/>
266+
<plugin status="idle" ID="ROS 2 Topic Re-Publisher"/>
267267
</Plugins>
268268
<!-- - - - - - - - - - - - - - - -->
269269
<previouslyLoaded_Datafiles/>
270-
<previouslyLoaded_Streamer name="ROS2 Topic Subscriber"/>
270+
<previouslyLoaded_Streamer name="ROS 2 Topic Subscriber"/>
271271
<!-- - - - - - - - - - - - - - - -->
272272
<customMathEquations/>
273273
<snippets/>

planning/obstacle_cruise_planner/config/plot_juggler_obstacle_cruise_planner.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@
145145
<default delimiter="0" time_axis=""/>
146146
</plugin>
147147
<plugin ID="DataLoad MCAP"/>
148-
<plugin ID="DataLoad ROS2 bags">
148+
<plugin ID="DataLoad ROS 2 bags">
149149
<use_header_stamp value="false"/>
150150
<discard_large_arrays value="true"/>
151151
<max_array_size value="100"/>
152152
</plugin>
153153
<plugin ID="DataLoad ULog"/>
154-
<plugin ID="ROS2 Topic Subscriber">
154+
<plugin ID="ROS 2 Topic Subscriber">
155155
<use_header_stamp value="true"/>
156156
<discard_large_arrays value="true"/>
157157
<max_array_size value="true"/>
@@ -167,15 +167,15 @@
167167
<plugin ID="Fast Fourier Transform"/>
168168
<plugin ID="Quaternion to RPY"/>
169169
<plugin ID="Reactive Script Editor">
170-
<library code="--[[ Helper function to create a ScatterXY series from arrays.&#xa;&#xa; series_name: name of the created ScatterXY series&#xa; prefix: prefix of the timeseries, before the index of the array&#xa; suffix_X: suffix to complete the name of the series containing the X value.&#xa; if [nil], the index of the array will be used.&#xa; suffix_Y: suffix to complete the name of the series containing the Y value&#xa; stamp: usually the tracker_time variable&#xa; &#xa; Example:&#xa; &#xa; Assuming we have multiple series in the form:&#xa; &#xa; /trajectory/node.{N}/position/x&#xa; /trajectory/node.{N}/position/y&#xa; &#xa; where {N} is the index of the array (integer). We can create a reactive series from the array with:&#xa; &#xa; CreateSeriesFromArray( &quot;my_trajectory&quot;, &quot;/trajectory/node&quot;, &quot;position/x&quot;, &quot;position/y&quot;, tracker_time );&#xa;]]--&#xa;&#xa;function CreateSeriesFromArray( series_name, prefix, suffix_X, suffix_Y, stamp )&#xa; --- create a new series or overwite the previous one&#xa; new_series = MutableScatterXY.new(series_name)&#xa; &#xa; --- Append points to new_series&#xa; index = 0&#xa; while(true) do&#xa;&#xa; x = index;&#xa; -- if not nil, get the X coordinate from a series&#xa; if suffix_X ~= nil then &#xa; series_x = TimeseriesView.find( string.format( &quot;%s.%d/%s&quot;, prefix, index, suffix_X) )&#xa; if series_x == nil then break end&#xa; x = series_x:atTime(stamp)&#x9; &#xa; end&#xa; &#xa; series_y = TimeseriesView.find( string.format( &quot;%s.%d/%s&quot;, prefix, index, suffix_Y) )&#xa; if series_x == nil then break end &#xa; y = series_y:atTime(stamp)&#xa; &#xa; new_series:push_back(x,y)&#xa; index = index+1&#xa; end&#xa;end&#xa;"/>
170+
<library code="--[[ Helper function to create a ScatterXY series from arrays.&#xa;&#xa; series_name: name of the created ScatterXY series&#xa; prefix: prefix of the timeseries, before the index of the array&#xa; suffix_X: suffix to complete the name of the series containing the X value.&#xa; if [nil], the index of the array will be used.&#xa; suffix_Y: suffix to complete the name of the series containing the Y value&#xa; stamp: usually the tracker_time variable&#xa; &#xa; Example:&#xa; &#xa; Assuming we have multiple series in the form:&#xa; &#xa; /trajectory/node.{N}/position/x&#xa; /trajectory/node.{N}/position/y&#xa; &#xa; where {N} is the index of the array (integer). We can create a reactive series from the array with:&#xa; &#xa; CreateSeriesFromArray( &quot;my_trajectory&quot;, &quot;/trajectory/node&quot;, &quot;position/x&quot;, &quot;position/y&quot;, tracker_time );&#xa;]]--&#xa;&#xa;function CreateSeriesFromArray( series_name, prefix, suffix_X, suffix_Y, stamp )&#xa; --- create a new series or overwrite the previous one&#xa; new_series = MutableScatterXY.new(series_name)&#xa; &#xa; --- Append points to new_series&#xa; index = 0&#xa; while(true) do&#xa;&#xa; x = index;&#xa; -- if not nil, get the X coordinate from a series&#xa; if suffix_X ~= nil then &#xa; series_x = TimeseriesView.find( string.format( &quot;%s.%d/%s&quot;, prefix, index, suffix_X) )&#xa; if series_x == nil then break end&#xa; x = series_x:atTime(stamp)&#x9; &#xa; end&#xa; &#xa; series_y = TimeseriesView.find( string.format( &quot;%s.%d/%s&quot;, prefix, index, suffix_Y) )&#xa; if series_x == nil then break end &#xa; y = series_y:atTime(stamp)&#xa; &#xa; new_series:push_back(x,y)&#xa; index = index+1&#xa; end&#xa;end&#xa;"/>
171171
<scripts/>
172172
</plugin>
173173
<plugin ID="CSV Exporter"/>
174-
<plugin ID="ROS2 Topic Re-Publisher"/>
174+
<plugin ID="ROS 2 Topic Re-Publisher"/>
175175
</Plugins>
176176
<!-- - - - - - - - - - - - - - - -->
177177
<previouslyLoaded_Datafiles/>
178-
<previouslyLoaded_Streamer name="ROS2 Topic Subscriber"/>
178+
<previouslyLoaded_Streamer name="ROS 2 Topic Subscriber"/>
179179
<!-- - - - - - - - - - - - - - - -->
180180
<customMathEquations>
181181
<snippet name="filtered error dist to obstacle">

planning/obstacle_stop_planner/config/plot_juggler_adaptive_cruise.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@
102102
<plugin ID="DataLoad CSV">
103103
<default time_axis=""/>
104104
</plugin>
105-
<plugin ID="DataLoad ROS2 bags">
105+
<plugin ID="DataLoad ROS 2 bags">
106106
<use_header_stamp value="false"/>
107107
<discard_large_arrays value="true"/>
108108
<max_array_size value="100"/>
109109
</plugin>
110110
<plugin ID="DataLoad ULog"/>
111111
<plugin ID="MQTT Subscriber"/>
112-
<plugin ID="ROS2 Topic Subscriber">
112+
<plugin ID="ROS 2 Topic Subscriber">
113113
<use_header_stamp value="false"/>
114114
<discard_large_arrays value="true"/>
115115
<max_array_size value="true"/>
@@ -121,11 +121,11 @@
121121
<plugin ID="UDP Server"/>
122122
<plugin ID="WebSocket Server"/>
123123
<plugin ID="ZMQ Subscriber"/>
124-
<plugin status="idle" ID="ROS2 Topic Re-Publisher"/>
124+
<plugin status="idle" ID="ROS 2 Topic Re-Publisher"/>
125125
</Plugins>
126126
<!-- - - - - - - - - - - - - - - -->
127127
<previouslyLoaded_Datafiles/>
128-
<previouslyLoaded_Streamer name="ROS2 Topic Subscriber"/>
128+
<previouslyLoaded_Streamer name="ROS 2 Topic Subscriber"/>
129129
<!-- - - - - - - - - - - - - - - -->
130130
<customMathEquations/>
131131
<snippets/>

planning/obstacle_stop_planner/config/plot_juggler_slow_down.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@
5757
<plugin ID="DataLoad CSV">
5858
<default time_axis=""/>
5959
</plugin>
60-
<plugin ID="DataLoad ROS2 bags">
60+
<plugin ID="DataLoad ROS 2 bags">
6161
<use_header_stamp value="false"/>
6262
<discard_large_arrays value="true"/>
6363
<max_array_size value="100"/>
6464
</plugin>
6565
<plugin ID="DataLoad ULog"/>
66-
<plugin ID="ROS2 Topic Subscriber">
66+
<plugin ID="ROS 2 Topic Subscriber">
6767
<use_header_stamp value="false"/>
6868
<discard_large_arrays value="false"/>
6969
<max_array_size value="true"/>
@@ -81,11 +81,11 @@
8181
<plugin ID="WebSocket Server"/>
8282
<plugin ID="ZMQ Subscriber"/>
8383
<plugin ID="CSV Exporter" status="idle"/>
84-
<plugin ID="ROS2 Topic Re-Publisher" status="idle"/>
84+
<plugin ID="ROS 2 Topic Re-Publisher" status="idle"/>
8585
</Plugins>
8686
<!-- - - - - - - - - - - - - - - -->
8787
<previouslyLoaded_Datafiles/>
88-
<previouslyLoaded_Streamer name="ROS2 Topic Subscriber"/>
88+
<previouslyLoaded_Streamer name="ROS 2 Topic Subscriber"/>
8989
<!-- - - - - - - - - - - - - - - -->
9090
<customMathEquations/>
9191
<snippets/>

0 commit comments

Comments
 (0)