Skip to content

Commit

Permalink
ci: update Autoware(2022.12) + CARET(v0.4.1) (#65)
Browse files Browse the repository at this point in the history
Signed-off-by: takeshi.iwanari <[email protected]>

Signed-off-by: takeshi.iwanari <[email protected]>
  • Loading branch information
takeshi-iwanari authored Dec 27, 2022
1 parent eeaf7c6 commit 192d2e7
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 117 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test_autoware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,19 @@ jobs:
if: ${{ matrix.do_test }}

run: |
wget -nv https://github.com/tier4/CARET_report/releases/download/20220831/autoware_launch_trace_20220826-105249_universe_rosbag.zip
unzip autoware_launch_trace_20220826-105249_universe_rosbag.zip
wget -nv https://github.com/tier4/CARET_report/releases/download/20221227/autoware_launch_trace_20221227-150253_universe_rosbag.zip
unzip autoware_launch_trace_20221227-150253_universe_rosbag.zip
- name: Create CARET report
if: ${{ matrix.do_test }}
run: |
export script_path=`pwd`/report
export trace_data=`pwd`/autoware_launch_trace_20220826-105249_universe_rosbag
export trace_data=`pwd`/autoware_launch_trace_20221227-150253_universe_rosbag
export work_dir=`pwd`/sample_autoware
export component_list_json=component_list_for_ci.json
export target_path_json=target_path_for_ci.json
export component_list_json=component_list.json
export target_path_json=target_path.json
export start_time=20
export start_time=25
export duration_time=9999
export max_node_depth=2
export draw_all_message_flow=false
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export work_dir=`pwd`/sample_autoware
export component_list_json=component_list.json
export target_path_json=target_path.json

export start_time=20
export start_time=25
export duration_time=9999
export max_node_depth=2
export draw_all_message_flow=false
Expand Down
2 changes: 1 addition & 1 deletion report/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export script_path=./CARET_report/report # Path to 'report' directory
export component_list_json=./component_list.json # Path to setting file you prepare
export target_path_json=./target_path.json # Path to setting file you prepare
export trace_data=~/.ros/tracing/caret_sample/ # Path to CARET trace data (CTF file)
export start_time=20 # start time[sec] for analysis
export start_time=25 # start time[sec] for analysis
export duration_time=9999 # duration time[sec] for analysis
export max_node_depth=2 # The number of depth to search path
export draw_all_message_flow=false # Flag to a create message flow graph for a whole time period (this will increase report creation time)
Expand Down
16 changes: 8 additions & 8 deletions report/compare/makereport_and_compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ mkdir "${work_dir}"
cd "${work_dir}" || exit

# Download reference data
wget -nv https://github.com/tier4/CARET_report/releases/download/20220831/autoware_launch_trace_20220826-105249_universe_rosbag.zip
unzip autoware_launch_trace_20220826-105249_universe_rosbag.zip
wget -nv https://github.com/tier4/CARET_report/releases/download/20221227/autoware_launch_trace_20221227-150253_universe_rosbag.zip
unzip autoware_launch_trace_20221227-150253_universe_rosbag.zip
git clone https://github.com/tier4/CARET_report.git -b gh-pages reference_result

# Create report
trace_data="$(pwd)"/autoware_launch_trace_20220826-105249_universe_rosbag
trace_data="$(pwd)"/autoware_launch_trace_20221227-150253_universe_rosbag
sample_autoware_dir="$(pwd)"/../sample_autoware
component_list_json=component_list_for_ci.json
target_path_json=target_path_for_ci.json
start_time=20
component_list_json=component_list.json
target_path_json=target_path.json
start_time=25
duration_time=9999
max_node_depth=2
draw_all_message_flow=false
export script_path trace_data component_list_json target_path_json start_time duration_time max_node_depth draw_all_message_flow
cd "${sample_autoware_dir}" || exit
sh "${script_path}"/make_report.sh
mv report_autoware_launch_trace_20220826-105249_universe_rosbag "${work_dir}"/.
mv report_autoware_launch_trace_20221227-150253_universe_rosbag "${work_dir}"/.

# Compare result
cd "${work_dir}" || exit
report_dir_1=./reference_result
report_dir_2=./report_autoware_launch_trace_20220826-105249_universe_rosbag
report_dir_2=./report_autoware_launch_trace_20221227-150253_universe_rosbag
export report_dir_1 report_dir_2
sh "${script_path}"/compare/compare.sh
2 changes: 1 addition & 1 deletion sample_autoware/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export script_path=../report
export component_list_json=./component_list.json
export target_path_json=./target_path.json
export trace_data=~/.ros/tracing/autoware_launch_trace_yyyymmdd-hhmmss # modify for your environment
export start_time=20
export start_time=25
export duration_time=9999
export max_node_depth=2
export draw_all_message_flow=false
Expand Down
17 changes: 0 additions & 17 deletions sample_autoware/component_list_for_ci.json

This file was deleted.

83 changes: 0 additions & 83 deletions sample_autoware/target_path_for_ci.json

This file was deleted.

0 comments on commit 192d2e7

Please sign in to comment.