-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(calibration_tools): new api and 2.0 release (#148)
* Implementing the new calibration manager Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * Did some heavy refactoring in the tag-based camera-lidar calibration Added an option to use rectified images Deleted the raw sqpnp method since it is included in the standard opencv now Enabled the use of hardcoded system time (receiving time) for when sensors are now synchronized Parameterized rviz profiles to avoid having multiple profiles (for this method one should be enough for all use cases) Exposed the number of pnp pairs for calibration and the distance between calibration data and new detections to ease the work of field engineers Changed timers since the default work now (for years now though) Still have not done the spell checking Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * Fixed spellings in the tag based camera lidar calibrator Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: adapter the lidar-lidar 2d to the new API Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: fixed spellings Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: adapted the ground plane calibrator to the new api Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: applied the changes required for the mapping-based lidar-lidar & base-lidar calibrators Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * fix: fixed non-optional parameters in the launcher configuration ui Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: removed unused dummy calibrator Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: partial implementation of the changes for radar-lidar and implementation of a native way to edit the launchers Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: partial implementation of the changes for radar-lidar and implementation of a native way to edit the launchers Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * fix: fixed the camera-lidar calibrator that was broken due to some new parameters ant the new launcher configuration schmeme Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: complete implementation for the radar-lidar, partial implementation for the rdv, and others Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: attempting to fix CI/CD Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: implemented the new api changes for the sfm calibrator and fixed bugs got discovered while doing do. Need to integrate all the options and the products Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: base-lidars working on the rdv Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: sfm calibrator integrated completely in rdv and although untested in the xx1. can use the initial calibration as a fixed ground plane Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: integrated all the sfm methods to the x2 Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: integrated the camera-lidar into the remaining project/products Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: refactored the itneractive ui, integrated it into the new api, and implemented the fixes for the spell checking Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: deleted the old manager/client and renamed the new calibrators Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: deleted deprecated mesasges Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: fixed extra mispells found in ci/cd Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: more spell fixes Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * fix: fixed compile error (eigen vs. opencv) Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: applied the fix to another file Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: fixed dependencies for ci cd Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * fix: typo in launcher (thx vivid) Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * fix: forgot to set the initial solution after the refactoring in the ground plane calibrator Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: added explanations regarding the coordinate systems Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: fixed typo in launcher Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: updated documentation and added missing marker in rviz profile Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: forgot to ass the mapping base-lidar for the default project Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: deleted the new part of the service Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * feat: added the radar lidar calibrator to the default project Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: replaced all instances of transl -> translation and updated the copyrights Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: replaced rot -> rotation and missing transl -> translation Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: code explanation Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: removed redundant pass Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: typo Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: added explanation of a variable in the header file Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * ci(pre-commit): autofix * chore: attempt to fix pep257 Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: fixing ci/cd and standalone installation due to changes in autoware Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: more pep stuff Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: fized pep Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: deleted redundant pass statements Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: updated old name Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> * chore: updated misleading names Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> --------- Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp> Co-authored-by: yabuta <makoto.yabuta@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
43ad25d
commit a8a4b6a
Showing
423 changed files
with
14,893 additions
and
40,078 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,108 @@ | ||
{ | ||
"words": [ | ||
"apriltags", | ||
"3dpoints", | ||
"Rodrigues", | ||
"subsampled", | ||
"undistortion", | ||
"uniformingly", | ||
"antialiasing", | ||
"apriltag", | ||
"apriltags", | ||
"arange", | ||
"autoware", | ||
"astype", | ||
"auxiliar", | ||
"axisd", | ||
"beforementioned", | ||
"calib", | ||
"cmap", | ||
"coeffs", | ||
"crossval", | ||
"crossvalidation", | ||
"opencv", | ||
"discretization", | ||
"distro", | ||
"downsampling", | ||
"downsample", | ||
"dtype", | ||
"eigen", | ||
"eulers", | ||
"extrinsics", | ||
"figsize", | ||
"gicp", | ||
"hesai", | ||
"homography", | ||
"hsize", | ||
"icp", | ||
"idless", | ||
"idxs", | ||
"imdecode", | ||
"imread", | ||
"imshow", | ||
"imwrite", | ||
"intrinsics", | ||
"kalman", | ||
"keyframes", | ||
"libceres", | ||
"lidars", | ||
"lidartag", | ||
"lidartags", | ||
"linalg", | ||
"matplotlib", | ||
"matx", | ||
"meshgrid", | ||
"misdetection", | ||
"nanosec", | ||
"neighbours", | ||
"ncols", | ||
"nrows", | ||
"omiya", | ||
"overfits", | ||
"pandar", | ||
"permutate", | ||
"pixmap", | ||
"pnp", | ||
"pointcloud", | ||
"pointclouds", | ||
"polyline", | ||
"prerejective", | ||
"pydot", | ||
"pyplot", | ||
"qcolor", | ||
"quaterniond", | ||
"ransac", | ||
"rclcpp", | ||
"rclpy", | ||
"registrator", | ||
"registrators", | ||
"remappings", | ||
"representer", | ||
"reprojected", | ||
"reprojection", | ||
"rosbag", | ||
"rosidl", | ||
"ruamel", | ||
"rvec", | ||
"tvec", | ||
"rvecs", | ||
"rviz", | ||
"slerp", | ||
"solvepnp", | ||
"sqpnp", | ||
"srvs", | ||
"subsampled", | ||
"subsamples", | ||
"subsampling", | ||
"tvec", | ||
"tvecs", | ||
"nrows", | ||
"ncols", | ||
"crossval" | ||
"undistort", | ||
"undistortion", | ||
"uniformingly", | ||
"velodyne", | ||
"vectord", | ||
"voxel", | ||
"voxels", | ||
"xaxis", | ||
"xlabel", | ||
"xlim", | ||
"yaxis", | ||
"ylabel", | ||
"ylim" | ||
] | ||
} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
geometry_msgs/TransformStamped transform_stamped | ||
bool success | ||
float32 score | ||
std_msgs/String message |
6 changes: 0 additions & 6 deletions
6
common/tier4_calibration_msgs/srv/ExtrinsicCalibrationManager.srv
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,2 @@ | ||
geometry_msgs/Pose initial_pose | ||
--- | ||
geometry_msgs/Pose result_pose | ||
bool success | ||
float32 score | ||
sensor_msgs/PointCloud2 debug_pointcloud | ||
tier4_calibration_msgs/CalibrationResult[] results |
2 changes: 1 addition & 1 deletion
2
...alibration_pcl_extensions/include/tier4_calibration_pcl_extensions/joint_icp_extended.hpp
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
2 changes: 1 addition & 1 deletion
2
common/tier4_calibration_pcl_extensions/src/joint_icp_extended.cpp
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
2 changes: 1 addition & 1 deletion
2
common/tier4_calibration_pcl_extensions/src/voxel_grid_triplets.cpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(tier4_calibration_views) | ||
|
||
find_package(ament_cmake REQUIRED) | ||
find_package(ament_cmake_python REQUIRED) | ||
find_package(rclpy REQUIRED) | ||
find_package(autoware_cmake REQUIRED) | ||
|
||
autoware_package() | ||
ament_python_install_package(${PROJECT_NAME}) | ||
|
||
install(PROGRAMS | ||
scripts/image_view_node.py | ||
DESTINATION lib/${PROJECT_NAME} | ||
) | ||
|
||
ament_export_dependencies(ament_cmake) | ||
ament_export_dependencies(ament_cmake_python) | ||
ament_package() |
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,29 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>tier4_calibration_views</name> | ||
<version>0.0.0</version> | ||
<description>TODO: Package description</description> | ||
<maintainer email="kenzo.lobos@tier4.jp">Kenzo Lobos Tsunekawa</maintainer> | ||
<license>TODO: License declaration</license> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
<buildtool_depend>ament_cmake_python</buildtool_depend> | ||
|
||
<build_depend>autoware_cmake</build_depend> | ||
|
||
<exec_depend>python3-matplotlib</exec_depend> | ||
<exec_depend>python3-pyside2.qtquick</exec_depend> | ||
<exec_depend>python3-transforms3d</exec_depend> | ||
<exec_depend>rclpy</exec_depend> | ||
<exec_depend>ros2_numpy</exec_depend> | ||
<exec_depend>ros2launch</exec_depend> | ||
<exec_depend>tier4_calibration_msgs</exec_depend> | ||
<test_depend>ament_copyright</test_depend> | ||
<test_depend>ament_flake8</test_depend> | ||
<test_depend>python3-pytest</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
File renamed without changes.
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,53 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# Copyright 2024 Tier IV, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
import logging | ||
import os | ||
import signal | ||
import sys | ||
|
||
from PySide2.QtWidgets import QApplication | ||
import rclpy | ||
from tier4_calibration_views.image_view_ros_interface import ImageViewRosInterface | ||
from tier4_calibration_views.image_view_ui import ImageViewUI | ||
|
||
|
||
def main(args=None): | ||
os.environ["QT_QPA_PLATFORM_PLUGIN_PATH"] = "" | ||
app = QApplication(sys.argv) | ||
|
||
rclpy.init(args=args) | ||
|
||
try: | ||
signal.signal(signal.SIGINT, sigint_handler) | ||
|
||
ros_interface = ImageViewRosInterface() | ||
ex = ImageViewUI(ros_interface) # noqa: F841 | ||
|
||
ros_interface.spin() | ||
|
||
sys.exit(app.exec_()) | ||
except (KeyboardInterrupt, SystemExit): | ||
logging.info("Received sigint. Quitting...") | ||
rclpy.shutdown() | ||
|
||
|
||
def sigint_handler(*args): | ||
QApplication.quit() | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
File renamed without changes.
Empty file.
Oops, something went wrong.