forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
- Loading branch information
1 parent
700a826
commit 1f1ec79
Showing
6 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
sensing/pointcloud_preprocessor/config/processing_time_ms.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<root> | ||
<tabbed_widget parent="main_window" name="Main Window"> | ||
<Tab tab_name="processing_time_ms" containers="1"> | ||
<Container> | ||
<DockSplitter sizes="1" count="1" orientation="-"> | ||
<DockArea name="..."> | ||
<plot flip_x="false" mode="TimeSeries" flip_y="false" style="Lines"> | ||
<range right="1652341869.555872" top="50.000000" bottom="0.000000" left="1652341767.841453"/> | ||
<limitY max="50" min="0"/> | ||
<curve name="/sensing/lidar/right/ring_outlier_filter/debug/processing_time_ms/data" color="#1f77b4"/> | ||
<curve name="/sensing/lidar/top/ring_outlier_filter/debug/processing_time_ms/data" color="#d62728"/> | ||
<curve name="/sensing/lidar/rear/ring_outlier_filter/debug/processing_time_ms/data" color="#1ac938"/> | ||
<curve name="/sensing/lidar/left/ring_outlier_filter/debug/processing_time_ms/data" color="#ff7f0e"/> | ||
<curve name="/perception/obstacle_segmentation/crop_box_filter/debug/processing_time_ms/data" color="#f14cc1"/> | ||
<curve name="/sensing/lidar/left/crop_box_filter/debug/processing_time_ms/data" color="#9467bd"/> | ||
<curve name="/sensing/lidar/rear/crop_box_filter/debug/processing_time_ms/data" color="#17becf"/> | ||
<curve name="/sensing/lidar/top/crop_box_filter/debug/processing_time_ms/data" color="#bcbd22"/> | ||
<curve name="/sensing/lidar/right/crop_box_filter/debug/processing_time_ms/data" color="#1f77b4"/> | ||
</plot> | ||
</DockArea> | ||
</DockSplitter> | ||
</Container> | ||
</Tab> | ||
<currentTabIndex index="0"/> | ||
</tabbed_widget> | ||
<use_relative_time_offset enabled="0"/> | ||
<!-- - - - - - - - - - - - - - - --> | ||
<!-- - - - - - - - - - - - - - - --> | ||
<Plugins> | ||
<plugin ID="DataLoad CSV"> | ||
<default time_axis="" delimiter="0"/> | ||
</plugin> | ||
<plugin ID="DataLoad ROS2 bags"> | ||
<use_header_stamp value="false"/> | ||
<discard_large_arrays value="true"/> | ||
<max_array_size value="100"/> | ||
<boolean_strings_to_number value="true"/> | ||
<remove_suffix_from_strings value="true"/> | ||
</plugin> | ||
<plugin ID="DataLoad ULog"/> | ||
<plugin ID="ROS2 Topic Subscriber"> | ||
<use_header_stamp value="false"/> | ||
<discard_large_arrays value="false"/> | ||
<max_array_size value="10"/> | ||
<boolean_strings_to_number value="false"/> | ||
<remove_suffix_from_strings value="false"/> | ||
</plugin> | ||
<plugin ID="UDP Server"/> | ||
<plugin ID="WebSocket Server"/> | ||
<plugin ID="Fast Fourier Transform"/> | ||
<plugin ID="Quaternion to RPY"/> | ||
<plugin ID="Reactive Script Editor"> | ||
<library code="--[[ Helper function to create a ScatterXY series from arrays.

 series_name: name of the created ScatterXY series
 prefix: prefix of the timeseries, before the index of the array
 suffix_X: suffix to complete the name of the series containing the X value.
 if [nil], the index of the array will be used.
 suffix_Y: suffix to complete the name of the series containing the Y value
 timestamp: usually the tracker_time variable
 
 Example:
 
 Assuming we have multiple series in the form:
 
 /trajectory/node.{N}/position/x
 /trajectory/node.{N}/position/y
 
 where {N} is the index of the array (integer). We can create a reactive series from the array with:
 
 CreateSeriesFromArray( "my_trajectory", "/trajectory/node", "position/x", "position/y", tracker_time );
]]--

function CreateSeriesFromArray( series_name, prefix, suffix_X, suffix_Y, timestamp )
 --- create a new series or overwite the previous one
 new_series = MutableScatterXY.new(series_name)
 
 --- Append points to new_series
 index = 0
 while(true) do

 x = index;
 -- if not nil, get the X coordinate from a series
 if suffix_X ~= nil then 
 series_x = TimeseriesView.find( string.format( "%s.%d/%s", prefix, index, suffix_X) )
 if series_x == nil then break end
 x = series_x:atTime(timestamp)	 
 end
 
 series_y = TimeseriesView.find( string.format( "%s.%d/%s", prefix, index, suffix_Y) )
 if series_x == nil then break end 
 y = series_y:atTime(timestamp)
 
 new_series:push_back(x,y)
 index = index+1
 end
end
"/> | ||
<scripts/> | ||
</plugin> | ||
<plugin ID="CSV Exporter"/> | ||
<plugin ID="ROS2 Topic Re-Publisher"/> | ||
</Plugins> | ||
<!-- - - - - - - - - - - - - - - --> | ||
<previouslyLoaded_Datafiles/> | ||
<previouslyLoaded_Streamer name="ROS2 Topic Subscriber"/> | ||
<!-- - - - - - - - - - - - - - - --> | ||
<customMathEquations/> | ||
<snippets/> | ||
<!-- - - - - - - - - - - - - - - --> | ||
</root> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters