forked from tier4/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(processing_time): add cyclic and processing time ms to pcd relat…
…ed package (tier4#946) * feat(pcd): add debug processing time ms Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat: update pcd package Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat: add processing time to behavior package Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: pre comimt and conflict Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * Revert "feat: add processing time to behavior package" This reverts commit fe6a8be. * chore: add cyclic time to processing time Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
- Loading branch information
1 parent
1f9d9fe
commit a5e7a18
Showing
16 changed files
with
261 additions
and
1 deletion.
There are no files selected for viewing
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
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
65 changes: 65 additions & 0 deletions
65
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,65 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<root> | ||
<tabbed_widget parent="main_window" name="Main Window"> | ||
<Tab containers="1" tab_name="tab1"> | ||
<Container> | ||
<DockSplitter sizes="1" orientation="-" count="1"> | ||
<DockArea name="..."> | ||
<plot flip_y="false" flip_x="false" mode="TimeSeries" style="Lines"> | ||
<range top="250.000000" bottom="0.000000" left="1652436705.743731" right="1652436764.817605"/> | ||
<limitY max="250" min="0"/> | ||
<curve color="#1f77b4" name="/perception/object_recognition/detection/voxel_based_compare_map_filter/debug/processing_time_ms/data"/> | ||
<curve color="#d62728" name="/perception/object_recognition/detection/apollo/lidar_apollo_instance_segmentation/debug/processing_time_ms/data"/> | ||
<curve color="#1ac938" name="/sensing/lidar/left/crop_box_filter/debug/processing_time_ms/data"/> | ||
<curve color="#ff7f0e" name="/sensing/lidar/top/crop_box_filter/debug/processing_time_ms/data"/> | ||
<curve color="#f14cc1" name="/sensing/lidar/top/ring_outlier_filter/debug/processing_time_ms/data"/> | ||
<curve color="#9467bd" name="/sensing/lidar/left/ring_outlier_filter/debug/processing_time_ms/data"/> | ||
<curve color="#17becf" name="/perception/object_recognition/detection/voxel_based_approximate_compare_map_filter/debug/processing_time_ms/data"/> | ||
</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
Oops, something went wrong.