Skip to content

Commit ae1d568

Browse files
th1991-01SakodaShintarosatoshi-otasoblintaikitanaka3
authored andcommitted
Add control data collecting tool for learning-based control
* Implement basic part * Disable data collection area selection during automatic driving * Remove unnecessary code * Add rviz_config for data collection * Update rviz_config for data collection * Changed to start driving by pressing LOCAL * Fix hard coding rviz config path when launching * Add a launch file in this package * Add missing changes * Claen up arguments to use rviz_config * Updated pre-commit-hooks-ros version from v0.8.0 to v0.9.0 (autowarefoundation#24) Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Add 8-figure target route * Avoid errors when data collecting area cannot be selected by clicking properly. * Change to launch another launch for data collection after launching the standard autoware_launch. * chore(tools): move system and evaluation tools to this repo from autoware.universe (autowarefoundation#26) * chore(tools): move system tools Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * chore(evaluator): move evaluators Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * update * update trajectory publisher * update * feat(driving_environment_analyzer): add rviz plugin (autowarefoundation#23) * feat(driving_environment_analyzer): add rviz plugin Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(driving_environment_analyzer): output csv file Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * add naive pure pursuit * update * clean up naive pure pursuit * smoothing trajectory position * refactor * chore(rviz_plugin): move peripheral rviz plugin (autowarefoundation#27) * feat: calibrator tier4 pkg name (autowarefoundation#200) * feat: change names Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat: move pkg to common Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat: change pkg name Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: library path (autowarefoundation#225) Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> Co-authored-by: taikitanaka3 <taiki.tanaka@tier4.jp> * feat: add rviz plugin to publish and control the simulated clock (#349) * Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * Add step control Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * Fix precommit Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * Update documentation Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * Fix spellcheck Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * Update plugin description and icon Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * Rename package Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * Fix bug with long duration jumps (high speed + low rate) Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * ci: check include guard (#438) * ci: check include guard * apply pre-commit * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * fix: pre-commit Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * chore: sync files (#629) * chore: sync files Signed-off-by: GitHub <noreply@github.com> * ci(pre-commit): autofix Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * style: fix format of package.xml (#844) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * refactor: use autoware cmake (#849) * remove autoware_auto_cmake Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * add build_depend of autoware_cmake Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * use autoware_cmake in CMakeLists.txt Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix bugs Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix cmake lint errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * chore: upgrade cmake_minimum_required to 3.14 (#856) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix(accel_brake_map_calibrator): rviz panel type (#895) * fixed panel type Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * modified instruction for rosbag replay case Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * modified update_map_dir service name Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * feat: add manual controller (#989) * feat: add manual controller Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * fix : typo Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * chore: minor update Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * chore : add minor update Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * docs: add image for readme Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * docs: update docs Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * Update common/tier4_control_rviz_plugin/src/tools/manual_controller.cpp Signed-off-by: Shumpei Wakabayashi <Shumpei Wakabayashi> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> * Update common/tier4_control_rviz_plugin/src/tools/manual_controller.hpp Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> Co-authored-by: Shumpei Wakabayashi <42209144+shmpwk@users.noreply.github.com> * feat(manual_controller): support backward driving (#1119) * feat(manual_controller): support backward driving Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore: unite variable * feat: add screen capture package (#1177) * feat: add screen capture package Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat: add state to current process * style: refactor codes * fix: time * feat: add mp4 writer and finalize folders * feat: add trigger by service Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat: update recorder Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: change codec of mp4 to h264 (#1262) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * feat: optimize screen capture panel (#1470) * feat: optimize screen capture panel Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * apply pre-commit Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: remove unused check of rviz plugin version (#1474) Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * fix(rviz_plugin): fix screen capture plugin (#1492) Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * refactor(tier4_calibration_rviz_plugin): apply clang-tidy (#1596) * refactor(tier4_control_rviz_plugin): apply clang-tidy (#1597) * refactor(tier4_control_rviz_plugin): apply clang-tidy * revert: readability-identifier-naming Signed-off-by: h-ohta <hiroki.ota@tier4.jp> Signed-off-by: h-ohta <hiroki.ota@tier4.jp> * revert(tier4_calibration_rviz_plugin): readability-identifier-naming (#1618) * fix(tier4_screen_capture_rviz_plugin): fix release process to handle video writer correctly (#1622) * refactor(tier4_screen_capture_rviz_plugin):apply clang-tidy (#1649) Signed-off-by: h-ohta <hiroki.ota@tier4.jp> Signed-off-by: h-ohta <hiroki.ota@tier4.jp> * fix(tier4_screen_capture_rviz_plugin): fix spell check (#1790) * fix(tier4_screen_capture_rviz_plugin): fix spell check Signed-off-by: h-ohta <hiroki.ota@tier4.jp> * ci(pre-commit): autofix Signed-off-by: h-ohta <hiroki.ota@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * feat: add rtc manager rviz plugin (#1936) * feat: add rtc manager rviz plugin Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore: cosmetic change Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore: remove indent Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat: add rtc safe unsafe color Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: typo Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore: simplify layout Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat: update rtc panel Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(rtc_manager_panel): add rtc all approval (#2009) * feat(rtc_manager_panel): add rtc all approval Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> * chore: cosmetic change Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> * fix: static cast Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore: update text Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> * chore: update text Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> * doc: update documents Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc: update Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc: small update Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> * feat(rtc_manager_rviz_plugin): add_indivisual_exe (#2021) Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(tier4_screen_capture_rviz_plugin): add prefix to video name (#2038) feat: add prefix * feat(tier4_debug_rviz_plugin): pie chart with float32 multi array stamped (#2055) * feat(tier4_debug_rviz_plugin): add ros2 pie chart with Float32MultiArrayStamped Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * update README.md Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * fix typo Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * fixed license Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * fix Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * removed unnecessary include Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * fix Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * fix Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * fix(tier4_control_rviz_plugin): add time stamp for control command (#2154) Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix(rtc_manager_rviz_plugin): size check (#2163) * feat(behavior_path_planner): external request lane change (#2442) * feature(behavior_path_planner): add external request lane change module Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feature(behavior_path_planner): fix for RTC Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feature(behavior_path_planner): fix decision logic Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): fix behavior_path_planner_tree.xml Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): fix for rebase Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): output multiple candidate paths Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): get path candidate in behavior tree manager Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): fix for multiple candidate path Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): separate external request lane change module Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feature(behavior_path_planner): add create publisher method Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feature(behavior_path_planner): move publishers to node Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feature(behavior_path_planner): remove unnecessary publisher Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): move reset path candidate function to behavior tree manager Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): add external request lane change path candidate publisher Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> feat(behavior_path_planner): apply abort lane change Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_path_planner): remove unnecessary change Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feat(behavior_path_planner): fix getLaneChangePaths() Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feat(behavior_path_planner): disable external request lane change in default tree Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * Update rtc_auto_mode_manager.param.yaml * fix(route_handler): remove redundant code * fix(behavior_path_planner): fix for turn signal Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(rtc_manager_rviz_plugin): add code owner (#2792) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * feat(rtc_manager_rviz_plugin): add the number of rtc status (#2791) * feat(rtc_manager_rviz_plugin): add the number of rtc status Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> * chore: simplify layout Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> --------- Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp> * feat(automatic_goal): add automatic goal rviz plugin (#3031) * add first version automatic_goal plugin Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * feat(automatic_goal): extract automatic_goal_sender, add logging achieved goals Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * doc(automatic_goal): append README Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * ref(automatic_goal): apply pre-commity, fix depend Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * fix(automatic_goal): fix warnings - treated as errors Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * ref(automatic_goal): add author, apply clang-tidy hints Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * ref(automatic_goal): add maintainer, change year Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * ref(automatic_goal): fix package.xml order Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * ref(automatic_goal): names, initializations, main except Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * fix(automatic_goal): change path home->tmp Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * fix(automatic_goal): fix bad string init, expand readme Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * fix(automatic_goal): fix name Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> --------- Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> * feat(rtc_manager_rviz_plugin): add avoidance by lc (#3118) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(tier4_screen_capture_rviz_plugin): fix extra/missing naming components (#3207) Signed-off-by: Mehmet Dogru <42mehmetdogru42@gmail.com> * chore: sync files (#3227) * chore: sync files Signed-off-by: GitHub <noreply@github.com> * style(pre-commit): autofix --------- Signed-off-by: GitHub <noreply@github.com> Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * feat: change external lane change rtc name (#3259) * feat: change external lane change rtc name Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * update config Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> --------- Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * feat(behavior_velocity_planner::intersection): add occlusion detection feature (#3458) * migrated Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * WIP Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * IntersectionModuleManager own one rtc_interface for intersection_occlusion Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> * divide occlusion safety and activated Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> * fixed to update occlusion cooperate status at construction Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed getOcclusionFirstStopSafety() Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed not to show both intersection and intersection_occlusion after passed 1st stop line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed the intersection_occlusion/inersection stop position afte r CLEARED Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * if occlusion cleared when eog is before 1st stop line, set stop line to 1st stop line and clear prev_occlusion_stop_line_pose_ Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * (misc) fix viz, sync param Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed vehicle footprint offset calculation Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * add occcupancy_grid_map method/param var to launcher Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * migrated latest Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * use static pass judge line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * removed some params Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * organized param Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * add occlusion enable flag Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * revert occupancy grid settings in this PR Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * remove comment Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed pass judge line collision detection to original Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * style(pre-commit): autofix * use vehicle_length for static pass judge line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed virtual wall marker Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> --------- Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * fix(rtc_manager_rviz_plugin): update panel visualization properly (#3517) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * refactor(behavior_path_planner): rename pull_over to goal_planner (#3501) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * build: mark autoware_cmake as <buildtool_depend> (#3616) * build: mark autoware_cmake as <buildtool_depend> with <build_depend>, autoware_cmake is automatically exported with ament_target_dependencies() (unecessary) Signed-off-by: Vincent Richard <richard-v@macnica.co.jp> * style(pre-commit): autofix * chore: fix pre-commit errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> --------- Signed-off-by: Vincent Richard <richard-v@macnica.co.jp> Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp> * build(iron): remove rmw_qos_profile_t (#3809) Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com> * refactor(start_planner): rename pull out to start planner (#3908) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix(accel_brake_map_calibrator_button_panel): fix calibration service name (#4539) * fix(accel_brake_map_calibrator_button_panel): fix calibration service name Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * misc Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> --------- Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * feat(rviz_plugin): add target object type display (#4855) * add common/tier4_target_object_type_rviz_plugin Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix format Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * update color Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * update Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add readme Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Update common/tier4_target_object_type_rviz_plugin/src/target_object_type_panel.cpp Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> * Update common/tier4_target_object_type_rviz_plugin/src/target_object_type_panel.hpp Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> * remove unused depend Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> --------- Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> * fix(rtc_manager_panel): fix panel chattering (#4988) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * build(tier4_target_object_type_rviz_plugin): add missing cv_bridge dependency (#5000) Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp> * feat(logging_level_configure): add rviz plugin to change logging level (#5112) * feat(logging_level_configure): add rviz plugin to change logging level Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * change file names Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * move initialization code from constructor to onInitialize Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add maintainer Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add maintainer Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix include Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> --------- Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * feat(logger_level_reconfigure_plugin): use node interface and some cosmetic updates (#5204) * use node service Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * enable yaml configuration Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * update yaml loading Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * make it scrollable Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * change function order Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * change color for level Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix depend Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Update common/tier4_logging_level_configure_rviz_plugin/src/logging_level_configure.cpp Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> * Update common/tier4_logging_level_configure_rviz_plugin/src/logging_level_configure.cpp --------- Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> * refactor(lane_change): add debug log (#5308) Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * docs(logger_level_reconfigure): update readme (#5471) Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * feat(localization): enable logging_level_configure (#5487) * feat(localization): enable logging_level_configure * style(pre-commit): autofix * update logger config Signed-off-by: kminoda <koji.minoda@tier4.jp> * fix pre-commit Signed-off-by: kminoda <koji.minoda@tier4.jp> * add tier4_autoware_utils in dependency Signed-off-by: kminoda <koji.minoda@tier4.jp> * add tier4_autoware_utils in dependency Signed-off-by: kminoda <koji.minoda@tier4.jp> --------- Signed-off-by: kminoda <koji.minoda@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Logger level update (#5494) * address ordering Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add grouping Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * remove unused comment Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> --------- Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * feat(logging_level_configure_rviz_plugin): add autoware_util logger button (#5666) * feat(logging_level_configure_rviz_plugin): add autoware_util logger button Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add for control Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> --------- Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * refactor(lane_change): standardizing lane change logger name (#5899) Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * feat(tier4_logging_level_configure_rviz_plugin): add goal/start planner (#5978) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * chore: set log level of debug printing in rviz plugin to DEBUG (#5996) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * feat(rviz_plugin): add string visualization plugin (#6100) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(tier4_automatic_goal_rviz_plugin): make it possible to register checkpoints (#6153) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * chore(object_type_panel): update rosparam name config (#6347) Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * style(update): autoware tools icons (#6351) Signed-off-by: KhalilSelyan <khalil@leodrive.ai> * fix(readme): add acknowledgement for material icons in tool plugins (#6354) Signed-off-by: KhalilSelyan <khalil@leodrive.ai> * feat(mission_planner_rviz_plugin): create mission planner tool (#6362) * feat(mission_planner_rviz_plugin): create package Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * fix copyright Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * add interrupted state Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * use full license text instead of spdx Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> --------- Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * fix(manual_controller): set PARK gear when going from reverse to drive (#6230) Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> * feat(logger_level_configure): make it possible to change level of container logger (#6823) * feat(launch): add logging_demo::LoggerConfig into container Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(logger_level_reconfigure_plugin): fix yaml Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(logging_level_configure): add composable node Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * revert: "feat(logger_level_configure): make it possible to change level of container logger (#6823)" (#6842) This reverts commit 9d04533. * docs(tier4_logging_level_configure_rviz_plugin): update document (#6720) * docs(tier4_logging_level_configure_rviz_plugin): update document Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix spell check Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix Warning Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor(bpp, avoidance): remove unnecessary verbose flag (#6822) * refactor(avoidance): logger small change Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * refactor(bpp): remove verbose flag Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(tier4_screen_capture_panel): add new service to capture screen shot (#6867) * feat(tier4_screen_capture_panel): add new service to capture screen shot Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * docs(tier4_screen_capture_rviz_plugin): update readme Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * refactor(lane_change): fix logger (#6873) Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix(route_handler): add logger (#6888) * fix(route_handler): add logger Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix indent Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * docs(tier4_simulated_clock_rviz_plugin): update how to use (#6914) * docs(tier4_simulated_clock_rviz_plugin): update how to use Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fixed tabbed warning Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix warning not working Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Fix bullet list Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor(bpp): path shifter clang tidy and logging level configuration (#6917) Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix(accel_brake_calibrator): fix to set service name and exception failure (#6973) * add service * fix exception * fix style * refactor(motion_utils): supress log message with rclcpp logging (#6955) * refactor(motion_utils): supress log message with rclcpp logging Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * remove std string Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> Signed-off-by: h-ohta <hiroki.ota@tier4.jp> Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Signed-off-by: Mehmet Dogru <42mehmetdogru42@gmail.com> Signed-off-by: GitHub <noreply@github.com> Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> Signed-off-by: Vincent Richard <richard-v@macnica.co.jp> Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com> Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp> Signed-off-by: kminoda <koji.minoda@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: KhalilSelyan <khalil@leodrive.ai> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: taikitanaka3 <taiki.tanaka@tier4.jp> Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com> Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: awf-autoware-bot[bot] <94889083+awf-autoware-bot[bot]@users.noreply.github.com> Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> Co-authored-by: Shumpei Wakabayashi <42209144+shmpwk@users.noreply.github.com> Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: dmoszynski <121798334+dmoszynski@users.noreply.github.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: Mehmet Dogru <48479081+mehmetdogru@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> Co-authored-by: Vincent Richard <richard-v@macnica.co.jp> Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Esteve Fernandez <33620+esteve@users.noreply.github.com> Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com> Co-authored-by: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@users.noreply.github.com> Co-authored-by: Khalil Selyan <36904941+KhalilSelyan@users.noreply.github.com> * update smoothing of start/end-point * Add simplified lateral acc limit * update debug plot * add gif * Update README.md * Update README.md * use ros param * ros param * update * update image * Update README.md * Add velocity noise * Update acc and steer noises * update rviz * update resource * Update README.md * Update README.md * Update control_data_collecting_tool/README.md Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> * update readme * Update bag2lanelet/scripts/bag2map.py Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> * modify sentence * chore(rtc_manager_panel): update module name (autowarefoundation#29) * chore(rtc_manager_panel): update module name Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * chore(gitignore): remove py cache Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * improve pure pursuit * Update control_data_collecting_tool/scripts/data_collecting_trajectory_publisher.py Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> * remove deprecated linearized pure pursuit * clean up traj pub * Reduce speed for large lateral error * Improve how to obtain the trajectory closest point * update readme * rename variables * compute trajectory only when receive data collecting area info * smoothing target yaw * add yaw error threshold * remove rviz config * renew png and gif * add arrow on png * feat(driving_environment_analyzer): remove dependency to autoware_auto_tf2 (autowarefoundation#31) Signed-off-by: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp> --------- Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> Signed-off-by: h-ohta <hiroki.ota@tier4.jp> Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Dawid Moszyński <dawid.moszynski@robotec.ai> Signed-off-by: Mehmet Dogru <42mehmetdogru42@gmail.com> Signed-off-by: GitHub <noreply@github.com> Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> Signed-off-by: Vincent Richard <richard-v@macnica.co.jp> Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com> Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp> Signed-off-by: kminoda <koji.minoda@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: KhalilSelyan <khalil@leodrive.ai> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp> Co-authored-by: SakodaShintaro <rgbygscrsedppbwg@gmail.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: Mamoru Sobue <hilo.soblin@gmail.com> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: taikitanaka3 <taiki.tanaka@tier4.jp> Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com> Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: awf-autoware-bot[bot] <94889083+awf-autoware-bot[bot]@users.noreply.github.com> Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> Co-authored-by: Shumpei Wakabayashi <42209144+shmpwk@users.noreply.github.com> Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: dmoszynski <121798334+dmoszynski@users.noreply.github.com> Co-authored-by: Mehmet Dogru <48479081+mehmetdogru@users.noreply.github.com> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> Co-authored-by: Vincent Richard <richard-v@macnica.co.jp> Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Esteve Fernandez <33620+esteve@users.noreply.github.com> Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com> Co-authored-by: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@users.noreply.github.com> Co-authored-by: Khalil Selyan <36904941+KhalilSelyan@users.noreply.github.com> Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com>
1 parent f7da10f commit ae1d568

15 files changed

+1615
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
cmake_minimum_required(VERSION 3.14)
2+
project(control_data_collecting_tool)
3+
4+
find_package(autoware_cmake REQUIRED)
5+
autoware_package()
6+
7+
install(PROGRAMS
8+
scripts/data_collecting_pure_pursuit_trajectory_follower.py
9+
scripts/data_collecting_trajectory_publisher.py
10+
DESTINATION lib/${PROJECT_NAME}
11+
)
12+
13+
find_package(Qt5 REQUIRED Core Widgets)
14+
set(QT_LIBRARIES Qt5::Widgets)
15+
16+
set(CMAKE_AUTOMOC ON)
17+
18+
19+
ament_auto_add_library(${PROJECT_NAME} SHARED
20+
src/data_collecting_area_selection.cpp
21+
)
22+
23+
target_link_libraries(${PROJECT_NAME}
24+
${QT_LIBRARIES})
25+
26+
pluginlib_export_plugin_description_file(rviz_common plugins/plugin_description.xml)
27+
28+
install(DIRECTORY launch DESTINATION share/${PROJECT_NAME})
29+
30+
ament_auto_package(
31+
INSTALL_TO_SHARE
32+
plugins
33+
)
+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Control data collecting tool
2+
3+
This package provides tools for automatically collecting data using pure pursuit control within a specified rectangular area.
4+
5+
<img src="resource/demo.gif" width="800">
6+
7+
## Overview
8+
9+
- This package aims to collect a dataset consisting of control inputs (i.e. `control_cmd`) and observation variables (i.e. `kinematic_state`, `steering_status`, etc).
10+
- The collected dataset can be used as training dataset for learning-based controllers, including [smart_mpc](https://github.com/autowarefoundation/autoware.universe/tree/main/control/smart_mpc_trajectory_follower).
11+
- The data collecting approach is as follows:
12+
- Seting a figure-eight target trajectory within the specified rectangular area.
13+
- Following the trajectory using a pure pursuit control law.
14+
- Adding noises to the trajectory and the control command for data diversity, improveing the prediction accuracy of learning model.
15+
16+
## How to use
17+
18+
1. Launch Autoware.
19+
20+
```bash
21+
ros2 launch autoware_launch planning_simulator.launch.xml map_path:=$HOME/autoware_map/sample-map-planning vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit
22+
```
23+
24+
2. Set an initial pose, see [here](https://autowarefoundation.github.io/autoware-documentation/main/tutorials/ad-hoc-simulation/planning-simulation/#2-set-an-initial-pose-for-the-ego-vehicle)
25+
26+
3. Add `DataCollectingAreaSelectionTool` rviz plugin.
27+
28+
<img src="resource/add_rviz_plugin.png" width="480">
29+
30+
4. Launch control_data_collecting_tool.
31+
32+
```bash
33+
ros2 launch control_data_collecting_tool control_data_collecting_tool.launch.py
34+
```
35+
36+
5. Add visualization in rviz:
37+
38+
- `/data_collecting_area`
39+
- Type: Polygon
40+
- `/data_collecting_trajectory_marker_array`
41+
- Type: MarkerArray
42+
- `/data_collecting_lookahead_marker_array`
43+
- Type: MarkerArray
44+
45+
6. Select `DataCollectingAreaSelectionTool` plugin.
46+
47+
<img src="resource/select_tool.png" width="480">
48+
49+
Highlight the data collecting area by dragging the mouse over it.
50+
51+
<img src="resource/select_area.gif" width="480">
52+
53+
> [!NOTE]
54+
> You cannot change the data collecting area while driving.
55+
56+
7. start recording rosbag data. For example, run the following command:
57+
58+
```bash
59+
ros2 bag record /localization/kinematic_state /localization/acceleration /vehicle/status/steering_status /sensing/imu/imu_data /system/operation_mode/state /vehicle/status/control_mode /external/selected/control_cmd /external/selected/gear_cmd /data_collecting_trajectory
60+
```
61+
62+
8. Click the `LOCAL` button on `OperationMode` in `AutowareStatePanel`.
63+
64+
<img src="resource/push_LOCAL.png" width="480">
65+
66+
Then, data collecting starts.
67+
68+
<img src="resource/demo.gif" width="480">
69+
70+
## Parameter
71+
72+
ROS 2 params in `/data_collecting_trajectory_publisher` node:
73+
74+
| Name | Type | Description | Default value |
75+
| :--------------------------------------- | :------- | :-------------------------------------------------------------------- | :------------ |
76+
| `max_lateral_accel` | `double` | Max lateral acceleration limit [m/ss] | 0.5 |
77+
| `lateral_error_threshold` | `double` | Lateral error threshold where applying velocity limit [m/s] | 5.0 |
78+
| `yaw_error_threshold` | `double` | Yaw error threshold where applying velocity limit [rad] | 0.5 |
79+
| `velocity_limit_by_tracking_error` | `double` | Velocity limit applied when tracking error exceeds threshold [m/s] | 2.0 |
80+
| `mov_ave_window` | `int` | Moving average smoothing window size | 50 |
81+
| `target_longitudinal_velocity` | `double` | Target longitudinal velocity [m/s] | 6.0 |
82+
| `longitudinal_velocity_noise_amp` | `double` | Target longitudinal velocity additional sine noise amplitude [m/s] | 0.1 |
83+
| `longitudinal_velocity_noise_min_period` | `double` | Target longitudinal velocity additional sine noise minimum period [s] | 5.0 |
84+
| `longitudinal_velocity_noise_max_period` | `double` | Target longitudinal velocity additional sine noise maximum period [s] | 20.0 |
85+
86+
ROS 2 params in `/data_collecting_pure_pursuit_trajectory_follower` node:
87+
88+
| Name | Type | Description | Default value |
89+
| :---------------------------------------- | :------- | :----------------------------------------------------- | :------------ |
90+
| `wheel_base` | `double` | Wheel base [m] | 2.79 |
91+
| `pure_pursuit_acc_kp` | `double` | Pure pursuit accel command propotional gain | 0.5 |
92+
| `pure_pursuit_lookahead_length_coef` | `double` | Pure pursuit lookahead length coef [m/(m/s)] | 1.0 |
93+
| `pure_pursuit_lookahead_length_intercept` | `double` | Pure pursuit lookahead length intercept [m] | 5.0 |
94+
| `steer_limit` | `double` | Steer control input limit [rad] | 0.5 |
95+
| `acc_noise_amp` | `double` | Accel command additional sine noise amplitude [m/ss] | 0.01 |
96+
| `acc_noise_min_period` | `double` | Accel command additional sine noise minimum period [s] | 5.0 |
97+
| `acc_noise_max_period` | `double` | Accel command additional sine noise maximum period [s] | 20.0 |
98+
| `steer_noise_amp` | `double` | Steer command additional sine noise amplitude [rad] | 0.01 |
99+
| `steer_noise_max_period` | `double` | Steer command additional sine noise maximum period [s] | 5.0 |
100+
| `steer_noise_min_period` | `double` | Steer command additional sine noise minimum period [s] | 20.0 |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/usr/bin/env python3
2+
3+
# Copyright 2020 Proxima Technology Inc, Tier IV Inc. All rights reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
import launch
18+
from launch import LaunchService
19+
from launch_ros.actions import Node
20+
21+
22+
def generate_launch_description():
23+
return launch.LaunchDescription(
24+
[
25+
Node(
26+
package="control_data_collecting_tool",
27+
executable="data_collecting_pure_pursuit_trajectory_follower.py",
28+
name="data_collecting_pure_pursuit_trajectory_follower",
29+
),
30+
Node(
31+
package="control_data_collecting_tool",
32+
executable="data_collecting_trajectory_publisher.py",
33+
name="data_collecting_trajectory_publisher",
34+
),
35+
]
36+
)
37+
38+
39+
if __name__ == "__main__":
40+
ls = LaunchService()
41+
ls.include_launch_description(generate_launch_description())
42+
ls.run()
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0"?>
2+
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
3+
<package format="3">
4+
<name>control_data_collecting_tool</name>
5+
<version>1.0.0</version>
6+
<description>The pure pursuit control data collection tool package</description>
7+
<maintainer email="masayuki.aino@proxima-ai-tech.com">Masayuki Aino</maintainer>
8+
<maintainer email="asei.inoue@proxima-ai-tech.com">Asei Inoue</maintainer>
9+
<maintainer email="toru.hishinuma@proxima-ai-tech.com">Toru Hishinuma</maintainer>
10+
<license>Apache License 2.0</license>
11+
12+
<buildtool_depend>ament_cmake_auto</buildtool_depend>
13+
<buildtool_depend>autoware_cmake</buildtool_depend>
14+
15+
<depend>autoware_adapi_v1_msgs</depend>
16+
<depend>autoware_auto_control_msgs</depend>
17+
<depend>autoware_auto_planning_msgs</depend>
18+
<depend>nav_msgs</depend>
19+
<depend>python3-scipy</depend>
20+
<depend>rviz_common</depend>
21+
<depend>rviz_default_plugins</depend>
22+
23+
<test_depend>ament_index_python</test_depend>
24+
<test_depend>ament_lint_auto</test_depend>
25+
<test_depend>autoware_lint_common</test_depend>
26+
27+
<export>
28+
<build_type>ament_cmake</build_type>
29+
<rviz plugin="${prefix}/plugins/plugin_description.xml"/>
30+
</export>
31+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<library path="control_data_collecting_tool">
2+
<class name="rviz_plugins/DataCollectingAreaSelectionTool"
3+
type="rviz_plugins::DataCollectingAreaSelectionTool"
4+
base_class_type="rviz_common::Tool">
5+
</class>
6+
</library>
Loading
3.27 MB
Loading
Loading
Loading
Loading

control_data_collecting_tool/scripts/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)