Skip to content

Commit 62c351d

Browse files
1222-takeshimitsudome-rkenji-miyakeharihitodennmm
authored
feat: add ndt localization packages (autowarefoundation#55)
* release v0.4.0 * Change localization diag namespace (autowarefoundation#718) * Change default value of output_diagnostics_topic Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove localization_diagnostic.js from web_controller Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Integrate localization diag to diagnostic_aggregator Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Delete old and unused publisher Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Avoid setting CMAKE_BUILD_TYPE=Release in each CMakeLists.txt (autowarefoundation#720) * remove set CMAKE_BUILD_TYPE Release in each CMakeLists.txt * remove set CMAKE_BUILD_TYPE Release in ndt_pcl_modified * set compile options for debug in ndt_omp * Fix indent * add warning if -DCMAKE_BUILD_TYPE=Release is not set in ndt_omp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * remove ROS1 packages temporarily Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Revert "remove ROS1 packages temporarily" This reverts commit 3b7a7a3379c45f7736db7093e593317a970f7e94. Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * add COLCON_IGNORE to ros1 packages Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Rename launch files to launch.xml (autowarefoundation#28) * Port ndt_pcl_modified to ROS2 (autowarefoundation#21) * Port ndt_pcl_modified to ROS2 * Newline * Better CMakeLists.txt * Add ament_cmake * Update CMakeLists.txt yet again * ament_auto * Revert "ament_auto" This reverts commit 53b785ef1d7f1d8f84c0c4a4a168c5c1c9a91a4a. * Port ndt_omp to ROS2 (autowarefoundation#20) * Remove COLCON_IGNORE * CMakeLists.txt & package.xml * Compiles * Remove rclcpp * Cleanup * Fix package.xml * Better CMakeLists.txt * Update CMakeLists.txt again * Update CMakeLists.txt * Update CMakeLists.txt yet again * Simplify CMakeLists.txt * Last (?) CMakeLists.txt change * Port ndt to ROS2 (autowarefoundation#29) * Port ndt to ROS2 * Forgot COLCON_IGNORE * package.xml * Newline * Update CMakeLists.txt * Use ament_auto * Revert "Use ament_auto" This reverts commit 8007d92f6de20ba1128cda83476abe039d597374. * Use explicit targets * Port ndt_scan_matcher package to ROS2 (autowarefoundation#34) * Initial commit * Use rclcpp::Time * Use autoware_debug_msgs * Use ament_cmake_auto * Remove unused includes and commented out code, remove timeout * Port launch file Co-authored-by: Jilada Eccleston <jilada.eccleston@gmail.com> * ported matching_score from ROS1 to ROS2 (autowarefoundation#105) * Convert calls of Duration to Duration::from_seconds where appropriate (autowarefoundation#131) * Rename h files to hpp (autowarefoundation#142) * Change includes * Rename files * Adjustments to make things compile * Other packages * Adjust copyright notice on 532 out of 699 source files (autowarefoundation#143) * Use quotes for includes where appropriate (autowarefoundation#144) * Use quotes for includes where appropriate * Fix lint tests * Make tests pass hopefully * Added arch check in ndt_omp (autowarefoundation#140) Signed-off-by: Servando German Serrano <servando.german.serrano@linaro.org> * Run uncrustify on the entire Pilot.Auto codebase (autowarefoundation#151) * Run uncrustify on the entire Pilot.Auto codebase * Exclude open PRs * fixing trasient_local in ROS2 packages (autowarefoundation#160) * adding linters to ndt_scan_matcher (autowarefoundation#191) * adding linters to ndt_pcl_modified (autowarefoundation#190) * adding linters to ndt_omp (autowarefoundation#189) * adding linters to matching_score (autowarefoundation#223) * adding linters to ndt (autowarefoundation#188) * adding linters to ndt * fixed clang-tidy errors in ndt package * fixing clang-tidy errors in ndt_scan_matcher (autowarefoundation#231) * apply env_var to use_sim_time (autowarefoundation#222) * Ros2 v0.8.0 ndt scan matcher (autowarefoundation#266) * restore file name for v0.8.0 update Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * delete std::cout (autowarefoundation#998) Signed-off-by: Yamato Ando <yamato.ando@gmail.com> * Add ndt_scan_matcher.yaml (autowarefoundation#1122) Signed-off-by: Yuma Nihei <yuma.nihei@tier4.jp> * Revert "restore file name for v0.8.0 update" This reverts commit 38869185b4f423a2656f18f71a18de30d1a83730. Co-authored-by: YamatoAndo <yamato.ando@gmail.com> Co-authored-by: Yuma Nihei <yuma.nihei@tier4.jp> * Ros2 v0.8.0 ndt omp (autowarefoundation#264) * add upstream license file (autowarefoundation#994) Signed-off-by: Yamato Ando <yamato.ando@gmail.com> * delete std::cout (autowarefoundation#998) Signed-off-by: Yamato Ando <yamato.ando@gmail.com> Co-authored-by: YamatoAndo <yamato.ando@gmail.com> * Rename ROS-related .yaml to .param.yaml (autowarefoundation#352) * Rename ROS-related .yaml to .param.yaml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove prefix 'default_' of yaml files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Rename vehicle_info.yaml to vehicle_info.param.yaml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Rename diagnostic_aggregator's param files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix overlooked parameters Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Sensor data qos (autowarefoundation#407) * Use sensor data qos for pointcloud preprocessor Signed-off-by: Autoware <autoware@tier4.jp> * Use sensor data qos for pointcloud Signed-off-by: Autoware <autoware@tier4.jp> * Fix lint Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Use sensor data qos for livox tag filter and vector map filter Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix lint Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> Co-authored-by: Autoware <autoware@tier4.jp> * Import v0.9.1 (autowarefoundation#431) * add local optimal solution ocillation check to ndt_scan_matcher (autowarefoundation#1182) * Add obstacle_crush diagnostic (autowarefoundation#1186) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix diagnostics api (autowarefoundation#1185) * Fix diagnostics api Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Don't overwrite level Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Overwrite level of No Fault diagnostics Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add missing diag in autoware_error_monitor.yaml (autowarefoundation#1187) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Filter hazard_status (autowarefoundation#1191) * Filter hazard_status Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Filter leaf diagnostics Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix wrong calculation of available memory. (autowarefoundation#1168) * Fixed wrong calculation of available memory. * Added comments about output example of free -tb command. * Change monitoring method to get HDD temperature and usage per specified device. (autowarefoundation#1195) * Changed monitoring method to get temperature and usage per specified device. * Fixed test codes. * Removed unnecessary (void) parameter. * return input pointcloud when ground plane not found (autowarefoundation#1190) * fix yaw-smoothing bug (autowarefoundation#1198) * Fix lint Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Taichi Higashide <taichi.higashide@tier4.jp> Co-authored-by: ito-san <57388357+ito-san@users.noreply.github.com> Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp> * Ros2 fix ndt align srv (autowarefoundation#442) * Add success field to ndt align srv response Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * Apply change of ndt align srv Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * Apply change of ndt align srv Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * Fix lint Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * Fix rolling build errors (autowarefoundation#1225) * Add missing include files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Replace rclcpp::Duration Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Use reference for exceptions Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Use from_seconds Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix for rolling (autowarefoundation#1226) * Replace doc by description Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Replace ns by push-ros-namespace Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Unify Apache-2.0 license name (autowarefoundation#1242) * Refine BSD license name (autowarefoundation#1244) * Remove use_sim_time for set_parameter (autowarefoundation#1260) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Ndt omp vendor (autowarefoundation#1365) * Use ndt omp vendor Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add ndt omp into repos for ci Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Update build_depends.repos Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * Add ndt_base_frame param (autowarefoundation#1632) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * Add pre-commit (autowarefoundation#1560) * add pre-commit * add pre-commit-config * add additional settings for private repository * use default pre-commit-config * update pre-commit setting * Ignore whitespace for line breaks in markdown * Update .github/workflows/pre-commit.yml Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * exclude svg * remove pretty-format-json * add double-quote-string-fixer * consider COLCON_IGNORE file when seaching modified package * format file * pre-commit fixes * Update pre-commit.yml * Update .pre-commit-config.yaml Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: pre-commit <pre-commit@example.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * suppress warnings for ndt scan matcher (autowarefoundation#1772) * add Werror * fix -Werror=unused-variable * Fix input pointcloud queue size in scan matcher (autowarefoundation#1774) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix -Wunused-parameter (autowarefoundation#1836) * Fix -Wunused-parameter Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix mistake Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix spell * Fix lint issues Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ignore flake8 warnings Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> * Fix clang warnings (autowarefoundation#1859) * Fix -Wreturn-std-move Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Wunused-private-field Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ignore -Wnonportable-include-path for mussp Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Wunused-const-variable Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix "can not be used when making a shared object" Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix some typos (autowarefoundation#1941) * fix some typos * fix typo * Fix typo Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add a function to calculate norm between geometry_msg's points (autowarefoundation#2001) * Use 'autoware_utils::createQuaternion' to make rotation objects (autowarefoundation#2002) * Use forward declarations to speed up compilation (autowarefoundation#2004) * Add include guards (autowarefoundation#2003) * Revert pull request 2004 (autowarefoundation#2010) * add sort-package-xml hook in pre-commit (autowarefoundation#1881) * add sort xml hook in pre-commit * change retval to exit_status * rename * add prettier plugin-xml * use early return * add license note * add tier4 license * restore prettier * change license order * move local hooks to public repo * move prettier-xml to pre-commit-hooks-ros * update version for bug-fix * apply pre-commit * Use forward declarations to speed up compilation (autowarefoundation#2004) This reverts commit 84812b9d7516cdecfadad8b6e55c8acc4eb0da5c. * Remove commented parts (autowarefoundation#2190) * Use 'autoware_utils::pose2transform' to convert Pose to Transform (autowarefoundation#2191) * Use Eigen::Map to represent the covariance matrix (autowarefoundation#2198) * Add a function to get NDT based on the flag argument (autowarefoundation#2224) * Add a transform function (autowarefoundation#2245) * Add a transform function that wraps 'tf2::doTransform' * fix always max threads (autowarefoundation#2254) * fix initial pose queue bug (autowarefoundation#2333) * Change formatter to clang-format and black (autowarefoundation#2332) * Revert "Temporarily comment out pre-commit hooks" This reverts commit 748e9cdb145ce12f8b520bcbd97f5ff899fc28a3. * Replace ament_lint_common with autoware_lint_common Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove ament_cmake_uncrustify and ament_clang_format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply Black Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply clang-format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix build errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix for cpplint * Fix include double quotes to angle brackets Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply clang-format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix build errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add COLCON_IGNORE (autowarefoundation#500) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove COLCON_IGNORE under localization (autowarefoundation#553) * remove matching score package (autowarefoundation#557) * add ndt_pcl_modified readme (autowarefoundation#599) * add ndt_pcl_modified readme * Update localization/pose_estimator/ndt_scan_matcher/ndt_pcl_modified/README.md Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> * Update localization/pose_estimator/ndt_scan_matcher/ndt_pcl_modified/README.md Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * apply pre-commit * modify readme * modify readme Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Create README.md (autowarefoundation#601) * add ndt_scan_matcher readme (autowarefoundation#690) * add ndt_scan_matcher readme * Update localization/pose_estimator/ndt_scan_matcher/ndt_scan_matcher/README.md Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Update localization/pose_estimator/ndt_scan_matcher/ndt_scan_matcher/README.md Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * update readme * update readme Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * move autoware_localization_srvs package (autowarefoundation#689) * move autoware_localization_srvs package * apply pre-commit * rename pose_with_cov to pose_with_covariance * apply pre-commit * Sync .auto branch with the latest branch in internal repository (autowarefoundation#691) * add trajectory point offset in rviz plugin (autowarefoundation#2270) * sync rc rc/v0.23.0 (autowarefoundation#2258) * fix interpolation for insert point (autowarefoundation#2228) * fix interpolation for insert point * to prev interpolation pkg * Revert "to prev interpolation pkg" This reverts commit 9eb145b5d36e297186015fb17c267ccd5b3c21ef. Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: taikitanaka <ttatcoder@outlook.jp> * fix topic name (autowarefoundation#2266) Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Add namespace to diag for dual_return_filter (autowarefoundation#2269) * Add a function to make 'geometry_msgs::msg::TransformStamped' (autowarefoundation#2250) * Add a function to make 'geometry_msgs::msg::TransformStamped' * Add 'child_frame_id' as an argument of 'pose2transform' * Simplify marker scale initialization (autowarefoundation#2286) * Fix/crosswalk polygon (autowarefoundation#2279) * extend crosswalk polygon * improve readability * fix polygon shape * Add warning when decel distance calculation fails (autowarefoundation#2289) Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * [motion_velocity_smoother] ignore debug print (autowarefoundation#2292) * cosmetic change Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * cahnge severity from WARN to DEBUG for debug info Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * use util for stop_watch Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix map based prediction (autowarefoundation#2200) * fix map based prediction * fix format * change map based prediction * fix spells * fix spells in comments * fix for cpplint * fix some problems * fix format and code for clang-tidy * fix space for cpplint * Update Readme.md * Update perception/object_recognition/prediction/map_based_prediction/Readme.md * Update perception/object_recognition/prediction/map_based_prediction/Readme.md * Update perception/object_recognition/prediction/map_based_prediction/Readme.md * Update perception/object_recognition/prediction/map_based_prediction/Readme.md * Update perception/object_recognition/prediction/map_based_prediction/Readme.md * Update perception/object_recognition/prediction/map_based_prediction/Readme.md * fix vector access method * fix readme format * add parameter * Update perception/object_recognition/prediction/map_based_prediction/Readme.md Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Update perception/object_recognition/prediction/map_based_prediction/Readme.md Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Update perception/object_recognition/prediction/map_based_prediction/Readme.md Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Update Readme.md * Update perception/object_recognition/prediction/map_based_prediction/Readme.md Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * remove failure condition for 0 velocity trajectory (autowarefoundation#2295) Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * [mpc_follower] remove stop distance condition from stopState decision (autowarefoundation#1916) * [mpc_follower] remove stop distance condition from stopState decision Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add invalid index handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Move the debug marker initialization part to another file (autowarefoundation#2288) * Move the debug marker initialization part to 'debug.cpp' * Make 'isLocalOptimalSolutionOscillation' independent from 'NDTScanMatcher' (autowarefoundation#2300) * Remove an unused function 'getTransform' (autowarefoundation#2301) * Simplify iteration of initial poses (autowarefoundation#2310) * Make a transform object const (autowarefoundation#2311) * Represent poses in 'std::vector' instead of 'geometry_msgs::msg::PoseArray' (autowarefoundation#2312) * Feature/no stopping area (autowarefoundation#2163) * add no stopping area module to behavior velocity planner * apply utils * add polygon interpolation module order stopline around area is considered * devide jpass udge with stop line polygon * update docs * rename file name * update to latest * minor change for marker * update license Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> * update license Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> * update license Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> * update license Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> * minor fix * add parameter tuning at experiment * update readme * format doc * apply comments * add exception gurd * cosmetic change * fix ament * fix typo and remove for statement * & to " " * better ns * return pass judge param * add missing stoppable condition * add clear pass judge and stoppable flag * add comment * precommit fix * cpplint Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> * sync rc rc/v0.23.0 (autowarefoundation#2281) * Fix side shift planner (autowarefoundation#2171) (autowarefoundation#2172) * add print debug Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com> * remove forward shift points when adding new point Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com> * remove debug print Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com> * format Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com> * Fix remove threshold Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Fix/pull out and pull over (autowarefoundation#2175) * delete unnecessary check * fix condition of starting pull out * Add emergency status API (autowarefoundation#2174) (autowarefoundation#2182) * Fix/mpc reset prev result (autowarefoundation#2185) (autowarefoundation#2195) * reset prev result * clean code * reset only raw_steer_cmd * Update control/mpc_follower/src/mpc_follower_core.cpp Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> * [hotfix] 1 path point exception after resampling (autowarefoundation#2204) * fix 1 path point exception after resampling Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com> * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp> * [hotfix] Fix lane ids (autowarefoundation#2211) * Fix lane ids * Prevent acceleration on avoidance (autowarefoundation#2214) * prevent acceleration on avoidance Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com> * fix param name Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com> * parametrize avoidance acc Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * change param name Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix typo Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Fix qos in roi cluster fusion (autowarefoundation#2218) * fix confidence (autowarefoundation#2220) * too high confidence (autowarefoundation#2229) * Fix/obstacle stop 0.23.0 (autowarefoundation#2232) * fix unexpected slow down in sharp curves (autowarefoundation#2181) * Fix/insert implementation (autowarefoundation#2186) Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> * [hotfix] Remove exception in avoidance module (autowarefoundation#2233) * Remove exception * Fix clock * Remove blank line * Update traffic light state if ref stop point is ahead of previous one (autowarefoundation#2197) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * fix interpolation for insert point (autowarefoundation#2228) * fix interpolation for insert point * to prev interpolation pkg * fix index (autowarefoundation#2265) * turn signal calculation (#2280) * add turn signal funtion in path shifter * add ros parameters Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp> Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: Sugatyon <32741405+Sugatyon@users.noreply.github.com> * [behavior_path_planner] fix sudden path change around ego (autowarefoundation#2305) (autowarefoundation#2318) * fix return-from-ego shift point generation logic Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * change param for trimSimilarGradShiftPoint Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add comment for issue Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * update comment Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * replace code with function (logic has not changed) Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * move func to cpp Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add comment for issue Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix typo Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Add functions to make stamped scalar messages (autowarefoundation#2317) * Fix/object yaw in intersection module (autowarefoundation#2294) * fix object orientation * fix function name * add guard (autowarefoundation#2321) * reduce cost (double to float) (autowarefoundation#2298) * Add detail collision check (autowarefoundation#2274) * Add detail collision check Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Remove unused function Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix arc length Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Seperate time margin Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix parameter name Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Update Readme Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Address review: Add comment for TimeDistanceArray Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Run pre-commit Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix cpplint Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add return for empty polygon Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * update CenterPoint (autowarefoundation#2222) * update to model trained by mmdet3d * add vizualizer (debug) * for multi-frame inputs * chagne config * use autoware_utils::pi * project specific model and param * rename vfe -> encoder * rename general to common * update download link * update * fix * rename model_name * change training toolbox link * chage lint package * fix test error * commit suggestion * Feature/lane change detection (autowarefoundation#2331) * add old information deleter * fix access bug * change to deque * update obstacle buffer * fix some bugs * add lane change detector * make a update lanelet function * fix code style * parameterize essential values * Update perception/object_recognition/prediction/map_based_prediction/src/map_based_prediction_ros.cpp Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * fix slash position * remove unnecessary lines * fix format * fix format * change to new enum * fix format * fix typo and add guard * change funciton name * add lane change description Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Add Planning Evaluator (autowarefoundation#2293) * Add prototype planning evaluator Produced data for dist between points, curvature, and relative angle * Cleanup the code to make adding metrics easier * Add remaining basic metrics (length, duration, vel, accel, jerk) * Add motion_evaluator to evaluate the actual ego motion + code cleanup * Add deviation metrics * Add naive stability metric * Handle invalid stat (TODO: fix the output file formatting) * Add parameter file and cleanup * Add basic obstacle metric (TTC not yet implemented) and fix output file format * Add basic time to collision * Add lateral-distance based stability metric * Add check (at init time) that metrics' maps are complete * Publish metrics as ParamaterDeclaration msg (for openscenario) * Use lookahead and start from ego_pose when calculating stability metrics * Code cleanup * Fix lint * Add tests * Fix bug with Frechet dist and the last traj point * Finish implementing tests * Fix lint * Code cleanup * Update README.md * Remove unused metric * Change msg type of published metrics to DiagnosticArray * fix format to fix pre-commit check Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix yaml format to fix pre-commit check Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix yaml format Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * apply clang-format Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * apply clang-format Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Update planning/planning_diagnostics/planning_evaluator/include/planning_evaluator/planning_evaluator_node.hpp * Update planning/planning_diagnostics/planning_evaluator/test/test_planning_evaluator_node.cpp * Update planning/planning_diagnostics/planning_evaluator/test/test_planning_evaluator_node.cpp * change lint format to autoware_lint_common Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Add keep braking function at driving state (autowarefoundation#2346) * Add keep braking function at driving state Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug messages Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Fix format Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change diag_updater's pediod from default to 0.1sec (autowarefoundation#2348) * add cross judgement and common signal function (autowarefoundation#2319) * merge branch turn_signal_common * add turn signal function in signal decider * add cross judge in path_utilities and delete from turn_signal_decider * remove original signal calculation in lane change * omit substitution * replace turn signal decider in pull over function * modify cross judge logic * replace turn signal decider in avoidance * add readme of turn signal * update * delete print debug * update * delete lane change decider in path shifter * delete blank line * fix indent * fix typo * fix typo * decrease nest * run pre commit * Add 0 limit at forward jerk velocity filter (autowarefoundation#2340) Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * add time offset param to point cloud concatenation (autowarefoundation#2303) * add offset param * clang-format Co-authored-by: Akihito OHSATO <aohsato@gmail.com> * Feature/add doc for keep braking function at driving state (autowarefoundation#2366) * Add the description of brake keeping Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Add the english document Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Improve description Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Add english description Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Fix include files (autowarefoundation#2339) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix behavior intersection module * fix behavior no stopping area module * fix planning_evaluator * fix motion_velocity_smoother * rename variable * Revert "[mpc_follower] remove stop distance condition from stopState decision (autowarefoundation#1916)" This reverts commit ff4f0b5a844d1f835f1b93bd3b36a76747b0cd02. * Revert "Add keep braking function at driving state (autowarefoundation#2346)" This reverts commit f0478187db4c28bf6092c198723dcc5ec11a9c70. * Revert "Feature/add doc for keep braking function at driving state (autowarefoundation#2366)" This reverts commit 66de2f3924a479049fce2d5c5c6b579cacbd3e49. * Fix orientation availability in centerpoint Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * fix test_trajectory.cpp * add target link libraries * Use .auto msg in test code for planniing evaluator Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * fix include Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: taikitanaka <ttatcoder@outlook.jp> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com> Co-authored-by: Takeshi Ishita <ishitah.takeshi@gmail.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com> Co-authored-by: purewater0901 <43805014+purewater0901@users.noreply.github.com> Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> Co-authored-by: Sugatyon <32741405+Sugatyon@users.noreply.github.com> Co-authored-by: s-murakami-esol <81723883+s-murakami-esol@users.noreply.github.com> Co-authored-by: Yusuke Muramatsu <yukke42@users.noreply.github.com> Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com> Co-authored-by: Shunsuke Miura <37187849+miursh@users.noreply.github.com> Co-authored-by: Shinnosuke Hirakawa <8327162+0x126@users.noreply.github.com> Co-authored-by: Akihito OHSATO <aohsato@gmail.com> Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: Daichi Murakami <harihitode@gmail.com> Co-authored-by: Nikolai Morin <nnmmgit@gmail.com> Co-authored-by: Jilada Eccleston <jilada.eccleston@gmail.com> Co-authored-by: nik-tier4 <71747268+nik-tier4@users.noreply.github.com> Co-authored-by: Servando <43142004+sgermanserrano@users.noreply.github.com> Co-authored-by: Kosuke Murakami <kosuke.murakami@tier4.jp> Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Co-authored-by: YamatoAndo <yamato.ando@gmail.com> Co-authored-by: Yuma Nihei <yuma.nihei@tier4.jp> Co-authored-by: Autoware <autoware@tier4.jp> Co-authored-by: Taichi Higashide <taichi.higashide@tier4.jp> Co-authored-by: ito-san <57388357+ito-san@users.noreply.github.com> Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp> Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> Co-authored-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com> Co-authored-by: pre-commit <pre-commit@example.com> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Takeshi Ishita <ishitah.takeshi@gmail.com> Co-authored-by: RyuYamamoto <ryu.yamamoto@tier4.jp> Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: taikitanaka <ttatcoder@outlook.jp> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com> Co-authored-by: purewater0901 <43805014+purewater0901@users.noreply.github.com> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: Sugatyon <32741405+Sugatyon@users.noreply.github.com> Co-authored-by: s-murakami-esol <81723883+s-murakami-esol@users.noreply.github.com> Co-authored-by: Yusuke Muramatsu <yukke42@users.noreply.github.com> Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com> Co-authored-by: Shunsuke Miura <37187849+miursh@users.noreply.github.com> Co-authored-by: Shinnosuke Hirakawa <8327162+0x126@users.noreply.github.com> Co-authored-by: Akihito OHSATO <aohsato@gmail.com>
1 parent 374c896 commit 62c351d

35 files changed

+3140
-0
lines changed

localization/ndt/CMakeLists.txt

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
cmake_minimum_required(VERSION 3.5)
2+
project(ndt)
3+
4+
if(NOT CMAKE_CXX_STANDARD)
5+
set(CMAKE_CXX_STANDARD 14)
6+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
7+
set(CMAKE_CXX_EXTENSIONS OFF)
8+
endif()
9+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
10+
add_compile_options(-Wall -Wextra -Wpedantic)
11+
endif()
12+
13+
find_package(ament_cmake REQUIRED)
14+
find_package(PCL REQUIRED COMPONENTS common io registration)
15+
find_package(ndt_omp REQUIRED)
16+
find_package(ndt_pcl_modified REQUIRED)
17+
18+
add_library(ndt
19+
src/base.cpp
20+
src/pcl_generic.cpp
21+
src/pcl_modified.cpp
22+
src/omp.cpp
23+
)
24+
25+
target_include_directories(ndt
26+
PUBLIC
27+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
28+
$<INSTALL_INTERFACE:include>
29+
)
30+
31+
ament_target_dependencies(ndt PUBLIC ndt_omp ndt_pcl_modified)
32+
# Can't use ament_target_dependencies() here because it doesn't link PCL
33+
# properly, see ndt_omp for more information.
34+
target_compile_definitions(ndt PUBLIC ${PCL_DEFINITIONS})
35+
target_include_directories(ndt PUBLIC ${PCL_INCLUDE_DIRS})
36+
target_link_libraries(ndt PUBLIC ${PCL_LIBRARIES})
37+
target_link_directories(ndt PUBLIC ${PCL_LIBRARY_DIRS})
38+
39+
ament_export_targets(export_ndt HAS_LIBRARY_TARGET)
40+
ament_export_dependencies(ndt_omp ndt_pcl_modified PCL)
41+
42+
install(
43+
DIRECTORY include/
44+
DESTINATION include
45+
)
46+
47+
install(
48+
TARGETS ndt
49+
EXPORT export_ndt
50+
LIBRARY DESTINATION lib
51+
ARCHIVE DESTINATION lib
52+
RUNTIME DESTINATION bin
53+
)
54+
55+
if(BUILD_TESTING)
56+
find_package(ament_lint_auto REQUIRED)
57+
ament_lint_auto_find_test_dependencies()
58+
endif()
59+
60+
ament_package()

localization/ndt/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ndt
2+
3+
This package aims to absorb the differences of several NDT implementations and provide a common interface.
4+
5+
```plantuml
6+
@startuml
7+
abstract class NormalDistributionsTransformBase
8+
NormalDistributionsTransformBase <|-- NormalDistributionsTransformOMP
9+
NormalDistributionsTransformBase <|-- NormalDistributionsTransformPCLGeneric
10+
NormalDistributionsTransformBase <|-- NormalDistributionsTransformPCLModified
11+
@enduml
12+
```

localization/ndt/include/ndt/base.hpp

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Copyright 2015-2019 Autoware Foundation
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
#ifndef NORMAL_DISTRIBUTIONS_TRANSFORM_BASE_H
16+
#define NORMAL_DISTRIBUTIONS_TRANSFORM_BASE_H
17+
18+
#include <pcl/io/io.h>
19+
#include <pcl/io/pcd_io.h>
20+
#include <pcl/point_types.h>
21+
#include <pcl/search/kdtree.h>
22+
23+
#include <vector>
24+
25+
template <class PointSource, class PointTarget>
26+
class NormalDistributionsTransformBase
27+
{
28+
public:
29+
NormalDistributionsTransformBase();
30+
virtual ~NormalDistributionsTransformBase() = default;
31+
32+
virtual void align(pcl::PointCloud<PointSource> & output, const Eigen::Matrix4f & guess) = 0;
33+
virtual void setInputTarget(const boost::shared_ptr<pcl::PointCloud<PointTarget>> & map_ptr) = 0;
34+
virtual void setInputSource(const boost::shared_ptr<pcl::PointCloud<PointSource>> & scan_ptr) = 0;
35+
36+
virtual void setMaximumIterations(int max_iter) = 0;
37+
virtual void setResolution(float res) = 0;
38+
virtual void setStepSize(double step_size) = 0;
39+
virtual void setTransformationEpsilon(double trans_eps) = 0;
40+
41+
virtual int getMaximumIterations() = 0;
42+
virtual int getFinalNumIteration() const = 0;
43+
virtual float getResolution() const = 0;
44+
virtual double getStepSize() const = 0;
45+
virtual double getTransformationEpsilon() = 0;
46+
virtual double getTransformationProbability() const = 0;
47+
virtual double getFitnessScore() = 0;
48+
virtual boost::shared_ptr<const pcl::PointCloud<PointTarget>> getInputTarget() const = 0;
49+
virtual boost::shared_ptr<const pcl::PointCloud<PointSource>> getInputSource() const = 0;
50+
virtual Eigen::Matrix4f getFinalTransformation() const = 0;
51+
virtual std::vector<Eigen::Matrix4f> getFinalTransformationArray() const = 0;
52+
53+
virtual Eigen::Matrix<double, 6, 6> getHessian() const = 0;
54+
55+
virtual boost::shared_ptr<pcl::search::KdTree<PointTarget>> getSearchMethodTarget() const = 0;
56+
};
57+
58+
#include "ndt/impl/base.hpp"
59+
60+
#endif
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Copyright 2015-2019 Autoware Foundation
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
#ifndef NORMAL_DISTRIBUTIONS_TRANSFORM_BASE_HPP
16+
#define NORMAL_DISTRIBUTIONS_TRANSFORM_BASE_HPP
17+
18+
#include "ndt/base.hpp"
19+
20+
template <class PointSource, class PointTarget>
21+
NormalDistributionsTransformBase<PointSource, PointTarget>::NormalDistributionsTransformBase()
22+
{
23+
}
24+
25+
#endif // NORMAL_DISTRIBUTIONS_TRANSFORM_BASE_HPP
+186
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
// Copyright 2015-2019 Autoware Foundation
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
#ifndef NORMAL_DISTRIBUTIONS_TRANSFORM_OMP_HPP
16+
#define NORMAL_DISTRIBUTIONS_TRANSFORM_OMP_HPP
17+
18+
#include "ndt/omp.hpp"
19+
20+
#include <vector>
21+
22+
template <class PointSource, class PointTarget>
23+
NormalDistributionsTransformOMP<PointSource, PointTarget>::NormalDistributionsTransformOMP()
24+
: ndt_ptr_(new pclomp::NormalDistributionsTransform<PointSource, PointTarget>)
25+
{
26+
}
27+
28+
template <class PointSource, class PointTarget>
29+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::align(
30+
pcl::PointCloud<PointSource> & output, const Eigen::Matrix4f & guess)
31+
{
32+
ndt_ptr_->align(output, guess);
33+
}
34+
35+
template <class PointSource, class PointTarget>
36+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::setInputTarget(
37+
const boost::shared_ptr<pcl::PointCloud<PointTarget>> & map_ptr)
38+
{
39+
ndt_ptr_->setInputTarget(map_ptr);
40+
}
41+
42+
template <class PointSource, class PointTarget>
43+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::setInputSource(
44+
const boost::shared_ptr<pcl::PointCloud<PointSource>> & scan_ptr)
45+
{
46+
ndt_ptr_->setInputSource(scan_ptr);
47+
}
48+
49+
template <class PointSource, class PointTarget>
50+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::setMaximumIterations(int max_iter)
51+
{
52+
ndt_ptr_->setMaximumIterations(max_iter);
53+
}
54+
55+
template <class PointSource, class PointTarget>
56+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::setResolution(float res)
57+
{
58+
ndt_ptr_->setResolution(res);
59+
}
60+
61+
template <class PointSource, class PointTarget>
62+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::setStepSize(double step_size)
63+
{
64+
ndt_ptr_->setStepSize(step_size);
65+
}
66+
67+
template <class PointSource, class PointTarget>
68+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::setTransformationEpsilon(
69+
double trans_eps)
70+
{
71+
ndt_ptr_->setTransformationEpsilon(trans_eps);
72+
}
73+
74+
template <class PointSource, class PointTarget>
75+
int NormalDistributionsTransformOMP<PointSource, PointTarget>::getMaximumIterations()
76+
{
77+
return ndt_ptr_->getMaximumIterations();
78+
}
79+
80+
template <class PointSource, class PointTarget>
81+
int NormalDistributionsTransformOMP<PointSource, PointTarget>::getFinalNumIteration() const
82+
{
83+
return ndt_ptr_->getFinalNumIteration();
84+
}
85+
86+
template <class PointSource, class PointTarget>
87+
float NormalDistributionsTransformOMP<PointSource, PointTarget>::getResolution() const
88+
{
89+
return ndt_ptr_->getResolution();
90+
}
91+
92+
template <class PointSource, class PointTarget>
93+
double NormalDistributionsTransformOMP<PointSource, PointTarget>::getStepSize() const
94+
{
95+
return ndt_ptr_->getStepSize();
96+
}
97+
98+
template <class PointSource, class PointTarget>
99+
double NormalDistributionsTransformOMP<PointSource, PointTarget>::getTransformationEpsilon()
100+
{
101+
return ndt_ptr_->getTransformationEpsilon();
102+
}
103+
104+
template <class PointSource, class PointTarget>
105+
double NormalDistributionsTransformOMP<PointSource, PointTarget>::getTransformationProbability()
106+
const
107+
{
108+
return ndt_ptr_->getTransformationProbability();
109+
}
110+
111+
template <class PointSource, class PointTarget>
112+
double NormalDistributionsTransformOMP<PointSource, PointTarget>::getFitnessScore()
113+
{
114+
return ndt_ptr_->getFitnessScore();
115+
}
116+
117+
template <class PointSource, class PointTarget>
118+
boost::shared_ptr<const pcl::PointCloud<PointTarget>>
119+
NormalDistributionsTransformOMP<PointSource, PointTarget>::getInputTarget() const
120+
{
121+
return ndt_ptr_->getInputTarget();
122+
}
123+
124+
template <class PointSource, class PointTarget>
125+
boost::shared_ptr<const pcl::PointCloud<PointSource>>
126+
NormalDistributionsTransformOMP<PointSource, PointTarget>::getInputSource() const
127+
{
128+
return ndt_ptr_->getInputSource();
129+
}
130+
131+
template <class PointSource, class PointTarget>
132+
Eigen::Matrix4f NormalDistributionsTransformOMP<PointSource, PointTarget>::getFinalTransformation()
133+
const
134+
{
135+
return ndt_ptr_->getFinalTransformation();
136+
}
137+
138+
template <class PointSource, class PointTarget>
139+
std::vector<Eigen::Matrix4f>
140+
NormalDistributionsTransformOMP<PointSource, PointTarget>::getFinalTransformationArray() const
141+
{
142+
return ndt_ptr_->getFinalTransformationArray();
143+
}
144+
145+
template <class PointSource, class PointTarget>
146+
Eigen::Matrix<double, 6, 6> NormalDistributionsTransformOMP<PointSource, PointTarget>::getHessian()
147+
const
148+
{
149+
// return ndt_ptr_->getHessian();
150+
return Eigen::Matrix<double, 6, 6>();
151+
}
152+
153+
template <class PointSource, class PointTarget>
154+
boost::shared_ptr<pcl::search::KdTree<PointTarget>>
155+
NormalDistributionsTransformOMP<PointSource, PointTarget>::getSearchMethodTarget() const
156+
{
157+
return ndt_ptr_->getSearchMethodTarget();
158+
}
159+
160+
template <class PointSource, class PointTarget>
161+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::setNumThreads(int n)
162+
{
163+
ndt_ptr_->setNumThreads(n);
164+
}
165+
166+
template <class PointSource, class PointTarget>
167+
void NormalDistributionsTransformOMP<PointSource, PointTarget>::setNeighborhoodSearchMethod(
168+
pclomp::NeighborSearchMethod method)
169+
{
170+
ndt_ptr_->setNeighborhoodSearchMethod(method);
171+
}
172+
173+
template <class PointSource, class PointTarget>
174+
int NormalDistributionsTransformOMP<PointSource, PointTarget>::getNumThreads() const
175+
{
176+
return ndt_ptr_->getNumThreads();
177+
}
178+
179+
template <class PointSource, class PointTarget>
180+
pclomp::NeighborSearchMethod
181+
NormalDistributionsTransformOMP<PointSource, PointTarget>::getNeighborhoodSearchMethod() const
182+
{
183+
return ndt_ptr_->getNeighborhoodSearchMethod();
184+
}
185+
186+
#endif // NORMAL_DISTRIBUTIONS_TRANSFORM_OMP_HPP

0 commit comments

Comments
 (0)