Skip to content

Commit cdfddc0

Browse files
authored
Merge pull request #25 from tier4/tier4/universe
merge main for galactic release
2 parents 7622989 + e5a9117 commit cdfddc0

36 files changed

+6754
-235
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 24 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,42 @@
1-
## PR Type
2-
3-
<!-- Select one and remove others. If an appropriate one is not listed, please write by yourself. -->
4-
5-
- New Feature
6-
- Improvement
7-
- Bug Fix
8-
9-
## Related Links
10-
11-
<!-- Please write related links to GitHub/Jira/Slack/etc. -->
12-
131
## Description
142

15-
<!-- Describe what this PR changes. -->
3+
<!-- Write a brief description of this PR. -->
4+
5+
## Related links
166

17-
## Review Procedure
7+
<!-- Write the links related to this PR. -->
188

19-
<!-- Explain how to review this PR. -->
9+
## Tests performed
2010

21-
## Remarks
11+
<!-- Describe how you have tested this PR. -->
2212

23-
<!-- Write remarks as you like if you need them. -->
13+
## Notes for reviewers
2414

25-
## Pre-Review Checklist for the PR Author
15+
<!-- Write additional information if necessary. It should be written if there are related PRs that should be merged at the same time. -->
2616

27-
**PR Author should check the checkboxes below when creating the PR.**
17+
## Pre-review checklist for the PR author
2818

29-
- [ ] Code follows [coding guidelines][coding-guidelines]
30-
- [ ] Assign PR to reviewer
19+
The PR author **must** check the checkboxes below when creating the PR.
3120

32-
## Checklist for the PR Reviewer
21+
- [ ] I've confirmed the [contribution guidelines].
22+
- [ ] The PR follows the [pull request guidelines].
3323

34-
**Reviewers should check the checkboxes below before approval.**
24+
## In-review checklist for the PR reviewers
3525

36-
- [ ] Commits are properly organized and messages are according to the guideline
37-
- [ ] Code follows [coding guidelines][coding-guidelines]
38-
- [ ] (Optional) Unit tests have been written for new behavior
39-
- [ ] PR title describes the changes
26+
The PR reviewers **must** check the checkboxes below before approval.
4027

41-
## Post-Review Checklist for the PR Author
28+
- [ ] The PR follows the [pull request guidelines].
29+
- [ ] The PR has been properly tested.
30+
- [ ] The PR has been reviewed by the code owners.
4231

43-
**PR Author should check the checkboxes below before merging.**
32+
## Post-review checklist for the PR author
4433

45-
- [ ] All open points are addressed and tracked via issues or tickets
46-
- [ ] Write [release notes][release-notes]
34+
The PR author **must** check the checkboxes below before merging.
4735

48-
## CI Checks
36+
- [ ] There are no open discussions or they are tracked via tickets.
37+
- [ ] The PR is ready for merge.
4938

50-
- **Build and test for PR**: Required to pass before the merge.
51-
- **Check spelling**: NOT required to pass before the merge. It is up to the reviewer(s). See [here][spell-check-dict] if you want to add some words to the spell check dictionary.
39+
After all checkboxes are checked, anyone who has write access can merge the PR.
5240

53-
[coding-guidelines]: https://tier4.atlassian.net/wiki/spaces/AIP/pages/1194394777/T4
54-
[release-notes]: https://tier4.atlassian.net/l/c/X1p69s6B
55-
[spell-check-dict]: https://github.com/tier4/autoware-spell-check-dict#how-to-contribute
41+
[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/
42+
[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: sync-tier4-universe-to-humble
2+
on:
3+
schedule:
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
6+
7+
jobs:
8+
sync-branches:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Generate token
12+
id: generate-token
13+
uses: tibdex/github-app-token@v1
14+
with:
15+
app_id: ${{ secrets.APP_ID }}
16+
private_key: ${{ secrets.PRIVATE_KEY }}
17+
18+
- name: Run sync-branches
19+
uses: autowarefoundation/autoware-github-actions/sync-branches@v1
20+
with:
21+
token: ${{ steps.generate-token.outputs.token }}
22+
base-branch: humble
23+
sync-target-repository: git@github.com:tier4/CalibrationTools.git
24+
sync-target-branch: tier4/universe
25+
sync-branch: sync-tier4-universe-to-humble
26+
pr-title: "chore: sync tier4/universe to humble"
27+
auto-merge-method: merge

README.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,18 @@ Calibration tools used for autonomous driving
44

55
## Requirement
66

7-
- Ubuntu20.04
8-
- Ros Galactic
9-
7+
- Ubuntu 20.04
8+
- ROS 2 Galactic
109

1110
## Installation procedures
1211

13-
After cloning pilot-auto(private repository) or [autoware](https://github.com/tier4/autoware), execute the following commands:
12+
After installing [autoware](https://github.com/tier4/autoware) (please see [source-installation](https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/source-installation/) page), execute the following commands:
1413

1514
```bash
16-
mkdir src
17-
vcs import src < autoware.repos
18-
cd src/autoware
19-
git clone git@github.com:tier4/CalibrationTools.git
20-
cd ../../
21-
vcs import src < src/autoware/calibration_tools/calibration_tools.repos
15+
cd autoware
16+
wget https://raw.githubusercontent.com/tier4/CalibrationTools/tier4/universe/calibration_tools.repos
17+
vcs import src < calibration_tools.repos
18+
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
2219
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
2320
```
2421

@@ -28,28 +25,28 @@ colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
2825

2926
We provide calibration tool for sensor pairs like LiDAR - LiDAR, LiDAR - Camera, etc.
3027

31-
[README](https://github.com/tier4/calibration_tools.iv/blob/tier4/universe/sensor/README.md)
28+
[README](sensor/README.md)
3229

3330
### localization - deviation estimation tools
3431

3532
Estimate parameters of sensors used for dead reckoning (IMU and odometry) for a better localization performance
3633

37-
[README](https://github.com/tier4/calibration_tools.iv/blob/tier4/universe/localization/deviation_estimation_tools/ReadMe.md)
34+
[README](localization/deviation_estimation_tools/ReadMe.md)
3835

3936
### control - vehicle cmd analyzer
4037

4138
Visualization and analysis tools for the control outputs from Autoware
4239

43-
[README](https://github.com/tier4/calibration_tools.iv/blob/tier4/universe/control/vehicle_cmd_analyzer/README.md)
40+
[README](control/vehicle_cmd_analyzer/README.md)
4441

4542
### vehicle - time delay estimator
4643

4744
Calibration tool to fix the delay of the commands to the vehicle
4845

49-
[README](https://github.com/tier4/calibration_tools.iv/blob/tier4/universe/vehicle/time_delay_estimator/README.md)
46+
[README](vehicle/time_delay_estimator/README.md)
5047

5148
### system - tunable static tf broadcaster
5249

5350
GUI to modify the parameters of generic TFs.
5451

55-
[README](https://github.com/tier4/calibration_tools.iv/blob/tier4/universe/system/tunable_static_tf_broadcaster/README.md)
52+
[README](system/tunable_static_tf_broadcaster/README.md)

calibration_tools.repos

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
repositories:
2+
autoware/calibration_tools:
3+
type: git
4+
url: git@github.com:tier4/CalibrationTools.git
5+
version: tier4/universe
26
vendor/lidartag:
37
type: git
48
url: git@github.com:tier4/LiDARTag.git
@@ -19,3 +23,7 @@ repositories:
1923
type: git
2024
url: git@github.com:Box-Robotics/ros2_numpy.git
2125
version: rolling
26+
vendor/image_pipeline:
27+
type: git
28+
url: https://github.com/tier4/image_pipeline.git
29+
version: 47964112293eb19f9f57254b2e6b68706954cc63

control/stop_accel_evaluator/COLCON_IGNORE

Whitespace-only changes.

control/stop_accel_evaluator/src/stop_accel_evaluator_node.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ StopAccelEvaluatorNode::StopAccelEvaluatorNode(const rclcpp::NodeOptions & node_
4545
stop_valid_imu_accel_num_ = this->declare_parameter("stop_valid_imu_accel_num", 4);
4646

4747
{ // lowpass filter
48-
lpf_pitch_ = std::make_shared<LowpassFilter1d>(0.0, this->declare_parameter("lpf_pitch_gain", 0.95));
49-
lpf_acc_ = std::make_shared<LowpassFilter1d>(0.0, this->declare_parameter("lpf_acc_gain", 0.2));
48+
lpf_pitch_ = std::make_shared<LowpassFilter1d>(this->declare_parameter("lpf_pitch_gain", 0.95));
49+
lpf_acc_ = std::make_shared<LowpassFilter1d>(this->declare_parameter("lpf_acc_gain", 0.2));
5050
}
5151

5252
sub_twist_ = this->create_subscription<Odometry>(

localization/deviation_estimation_tools/ReadMe.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ If your are using rosbag, it should contain the following topics:
3030
- /localization/pose_estimator/pose_with_covariance
3131
- /clock
3232
- /tf_static (that contains transform from `base_link` to `imu_link`)
33+
- (/localization/twist_estimator/twist_with_covariance: required in the next step)
3334
- (/localization/pose_twist_fusion_filter/kinematic_state: required in the next step)
3435

3536
Play the rosbag in a different terminal:
@@ -43,17 +44,19 @@ ros2 bag play YOUR_BAG # You can also play in a faster rate, e.g. -r 5
4344

4445
```sh
4546
Files: localized_not_calibrated_0.db3
46-
Bag size: 11.1 MiB
47+
Bag size: 9.6 MiB
4748
Storage id: sqlite3
48-
Duration: 151.303s
49-
Start: Apr 20 2022 20:49:10.440 (1650455350.440)
50-
End: Apr 20 2022 20:51:41.744 (1650455501.744)
51-
Messages: 53400
52-
Topic information: Topic: /tf | Type: tf2_msgs/msg/TFMessage | Count: 9806 | Serialization Format: cdr
53-
Topic: /clock | Type: rosgraph_msgs/msg/Clock | Count: 30260 | Serialization Format: cdr
54-
Topic: /localization/twist_estimator/twist_with_covariance | Type: geometry_msgs/msg/TwistWithCovarianceStamped | Count: 4281 | Serialization Format: cdr
55-
Topic: /localization/pose_estimator/pose_with_covariance | Type: geometry_msgs/msg/PoseWithCovarianceStamped | Count: 1484 | Serialization Format: cdr
56-
Topic: /localization/pose_twist_fusion_filter/kinematic_state | Type: nav_msgs/msg/Odometry | Count: 7565 | Serialization Format: cdr
49+
Duration: 76.539s
50+
Start: Jul 8 2022 11:21:41.220 (1657246901.220)
51+
End: Jul 8 2022 11:22:57.759 (1657246977.759)
52+
Messages: 32855
53+
Topic information: Topic: /localization/twist_estimator/twist_with_covariance_raw | Type: geometry_msgs/msg/TwistWithCovarianceStamped | Count: 2139 | Serialization Format: cdr
54+
Topic: /localization/kinematic_state | Type: nav_msgs/msg/Odometry | Count: 3792 | Serialization Format: cdr
55+
Topic: /localization/twist_estimator/twist_with_covariance | Type: geometry_msgs/msg/TwistWithCovarianceStamped | Count: 2139 | Serialization Format: cdr
56+
Topic: /clock | Type: rosgraph_msgs/msg/Clock | Count: 15308 | Serialization Format: cdr
57+
Topic: /tf | Type: tf2_msgs/msg/TFMessage | Count: 4950 | Serialization Format: cdr
58+
Topic: /localization/pose_twist_fusion_filter/kinematic_state | Type: nav_msgs/msg/Odometry | Count: 3792 | Serialization Format: cdr
59+
Topic: /localization/pose_estimator/pose_with_covariance | Type: geometry_msgs/msg/PoseWithCovarianceStamped | Count: 731 | Serialization Format: cdr
5760
Topic: /tf_static | Type: tf2_msgs/msg/TFMessage | Count: 4 | Serialization Format: cdr
5861

5962
```

localization/deviation_estimation_tools/deviation_evaluator/config/deviation_evaluator.yaml renamed to localization/deviation_estimation_tools/deviation_evaluator/config/deviation_evaluator.param.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
parameter_estimator:
1+
/**:
22
ros__parameters:
33
# Parameters that you want to evaluate
44
stddev_vx: 0.3 # [m/s]

localization/deviation_estimation_tools/deviation_evaluator/launch/deviation_evaluator.launch.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@
55
<arg name="rviz" default="false" description="launch rviz"/>
66
<arg name="map_path" default="" description="point cloud and lanelet2 map directory path"/>
77
<arg name="save_dir" default="/home/$(env USER)/deviation_evaluator_sample"/>
8-
<arg name="param_path" default="$(find-pkg-share deviation_evaluator)/config/deviation_evaluator.yaml"/>
8+
<arg name="param_path" default="$(find-pkg-share deviation_evaluator)/config/deviation_evaluator.param.yaml"/>
99

1010
<arg name="in_twist_with_covariance" default="/localization/twist_estimator/twist_with_covariance"/>
1111
<arg name="in_ndt_pose_with_covariance" default="/localization/pose_estimator/pose_with_covariance"/>
1212
<arg name="in_ekf_gt_odom" default="/localization/pose_twist_fusion_filter/kinematic_state"/>
1313
<arg name="out_ekf_odom" default="/localization/deviation_evaluator/ekf_localizer/kinematic_state"/>
1414
<arg name="out_twist_with_covariance" default="/localization/deviation_evaluator/twist_estimator/twist_with_covariance"/>
1515
<arg name="out_pose_with_covariance" default="/localization/deviation_evaluator/pose_estimator/pose_with_covariance"/>
16-
<arg name="lanelet2_map_file" default="lanelet2_map.osm" />
17-
<arg name="pointcloud_map_file" default="pointcloud_map.pcd" />
16+
<arg name="lanelet2_map_file" default="$(var map_path)/lanelet2_map.osm" />
1817

1918
<node pkg="deviation_evaluator" exec="deviation_evaluator" name="deviation_evaluator" output="screen">
2019
<remap from="in_twist_with_covariance" to="$(var in_twist_with_covariance)"/>
@@ -52,9 +51,10 @@
5251

5352
<!-- Map -->
5453
<group>
55-
<include file="$(find-pkg-share map_launch)/launch/map.launch.py" if="$(var rviz)">
56-
<arg name="lanelet2_map_path" value="$(var map_path)/$(var lanelet2_map_file)" />
57-
<arg name="pointcloud_map_path" value="$(var map_path)/$(var pointcloud_map_file)"/>
54+
<include file="$(find-pkg-share map_loader)/launch/lanelet2_map_loader.launch.xml" if="$(var rviz)">
55+
<arg name="lanelet2_map_path" value="$(var lanelet2_map_file)"/>
56+
<arg name="lanelet2_map_topic" value="/map/vector_map"/>
57+
<arg name="lanelet2_map_marker_topic" value="/map/vector_map_marker"/>
5858
</include>
5959
</group>
6060

0 commit comments

Comments
 (0)