Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from autowarefoundation:main #12

Merged
merged 31 commits into from
Feb 14, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 8, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

tkimura4 and others added 6 commits February 7, 2023 13:31
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…pping (#2828)

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…#2830)

* feat(behavior_path_planner): deal with non rectangle object avoidance

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>
…2829)

* fix(behavior_path_planner): fix path distortion of no back pull out

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* Update planning/behavior_path_planner/src/scene_module/utils/geometric_parallel_parking.cpp

---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* Revert "chore: sync files"

This reverts commit f3d23de.

* ci(pre-commit): disable autoupdate

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

---------

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
* Add a function to check delay step
* Apply the delay step checker to twist
* Test the delay step cheker
…inning of a string (#2702)

* Add a function to remove the begin slash

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ clang-tidy found issue(s) with the introduced code (2/3)

@@ -487,13 +481,9 @@ void EKFLocalizer::measurementUpdateTwist(
delay_time = std::max(delay_time, 0.0);

int delay_step = std::roundf(delay_time / ekf_dt_);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ cppcoreguidelines-narrowing-conversions ⚠️
narrowing conversion from double to float

#include <gtest/gtest.h>

TEST(PoseDelayStepWarningMessage, SmokeTest)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ cppcoreguidelines-special-member-functions ⚠️
class PoseDelayStepWarningMessage_SmokeTest_Test defines a copy constructor and a copy assignment operator but does not define a destructor, a move constructor or a move assignment operator

"delay: 6.000[s], limit = extend_state_step * ekf_dt : 4.000[s]");
}

TEST(TwistDelayStepWarningMessage, SmokeTest)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ cppcoreguidelines-special-member-functions ⚠️
class TwistDelayStepWarningMessage_SmokeTest_Test defines a copy constructor and a copy assignment operator but does not define a destructor, a move constructor or a move assignment operator

"Twist delay exceeds the compensation limit, ignored. "
"delay: 10.000[s], limit = extend_state_step * ekf_dt : 6.000[s]");
}

TEST(PoseDelayTimeWarningMessage, SmokeTest)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ cppcoreguidelines-special-member-functions ⚠️
class PoseDelayTimeWarningMessage_SmokeTest_Test defines a copy constructor and a copy assignment operator but does not define a destructor, a move constructor or a move assignment operator

@@ -143,7 +143,7 @@ class BehaviorPathPlannerNode : public rclcpp::Node
PullOutParameters getPullOutParam();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function getPullOutParam

Suggested change
PullOutParameters getPullOutParam();
PullOutParameters get_pull_out_param();

@@ -143,7 +143,7 @@
PullOutParameters getPullOutParam();

// callback
void onOdometry(const Odometry::SharedPtr msg);
void onOdometry(const Odometry::ConstSharedPtr msg);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function onOdometry

Suggested change
void onOdometry(const Odometry::ConstSharedPtr msg);
void on_odometry(const Odometry::ConstSharedPtr msg);

@@ -143,7 +143,7 @@
PullOutParameters getPullOutParam();

// callback
void onOdometry(const Odometry::SharedPtr msg);
void onOdometry(const Odometry::ConstSharedPtr msg);
void onAcceleration(const AccelWithCovarianceStamped::ConstSharedPtr msg);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function onAcceleration

Suggested change
void onAcceleration(const AccelWithCovarianceStamped::ConstSharedPtr msg);
void on_acceleration(const AccelWithCovarianceStamped::ConstSharedPtr msg);

@@ -143,7 +143,7 @@
PullOutParameters getPullOutParam();

// callback
void onOdometry(const Odometry::SharedPtr msg);
void onOdometry(const Odometry::ConstSharedPtr msg);
void onAcceleration(const AccelWithCovarianceStamped::ConstSharedPtr msg);
void onPerception(const PredictedObjects::ConstSharedPtr msg);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function onPerception

Suggested change
void onPerception(const PredictedObjects::ConstSharedPtr msg);
void on_perception(const PredictedObjects::ConstSharedPtr msg);

@@ -143,7 +143,7 @@
PullOutParameters getPullOutParam();

// callback
void onOdometry(const Odometry::SharedPtr msg);
void onOdometry(const Odometry::ConstSharedPtr msg);
void onAcceleration(const AccelWithCovarianceStamped::ConstSharedPtr msg);
void onPerception(const PredictedObjects::ConstSharedPtr msg);
void onOccupancyGrid(const OccupancyGrid::ConstSharedPtr msg);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function onOccupancyGrid

Suggested change
void onOccupancyGrid(const OccupancyGrid::ConstSharedPtr msg);
void on_occupancy_grid(const OccupancyGrid::ConstSharedPtr msg);

@@ -105,7 +105,7 @@ class PullOutModule : public SceneModuleInterface
std::shared_ptr<PullOutPlannerBase> getCurrentPlanner() const;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function getCurrentPlanner

Suggested change
std::shared_ptr<PullOutPlannerBase> getCurrentPlanner() const;
std::shared_ptr<PullOutPlannerBase> get_current_planner() const;

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ clang-tidy found issue(s) with the introduced code (3/3)

@@ -105,7 +105,7 @@ class PullOutModule : public SceneModuleInterface
std::shared_ptr<PullOutPlannerBase> getCurrentPlanner() const;
PathWithLaneId getFullPath() const;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function getFullPath

Suggested change
PathWithLaneId getFullPath() const;
PathWithLaneId get_full_path() const;

@@ -105,7 +105,7 @@
std::shared_ptr<PullOutPlannerBase> getCurrentPlanner() const;
PathWithLaneId getFullPath() const;
ParallelParkingParameters getGeometricPullOutParameters() const;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function getGeometricPullOutParameters

Suggested change
ParallelParkingParameters getGeometricPullOutParameters() const;
ParallelParkingParameters get_geometric_pull_out_parameters() const;

@@ -105,7 +105,7 @@
std::shared_ptr<PullOutPlannerBase> getCurrentPlanner() const;
PathWithLaneId getFullPath() const;
ParallelParkingParameters getGeometricPullOutParameters() const;
std::vector<Pose> searchBackedPoses();
std::vector<Pose> searchPullOutStartPoses();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function searchPullOutStartPoses

Suggested change
std::vector<Pose> searchPullOutStartPoses();
std::vector<Pose> search_pull_out_start_poses();

@@ -503,42 +535,8 @@ Polygon2d createEnvelopePolygon(
tf2::doTransform(
toMsg(envelope_poly, closest_pose.position.z), envelope_ros_polygon, geometry_tf);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function toMsg

Suggested change
toMsg(envelope_poly, closest_pose.position.z), envelope_ros_polygon, geometry_tf);
to_msg(envelope_poly, closest_pose.position.z), envelope_ros_polygon, geometry_tf);

@@ -232,6 +232,38 @@
return x1;
}

tier4_autoware_utils::Polygon2d expandPolygon(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function expandPolygon

Suggested change
tier4_autoware_utils::Polygon2d expandPolygon(
tier4_autoware_utils::Polygon2d expand_polygon(

const auto edge_point = tier4_autoware_utils::createPoint(curr_p.x(), curr_p.y(), 0.0);
edge_points.push_back(edge_point);
}
const auto expanded_polygon = expandPolygon(toPolygon2d(envelope_ros_polygon), envelope_buffer);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for function expandPolygon

Suggested change
const auto expanded_polygon = expandPolygon(toPolygon2d(envelope_ros_polygon), envelope_buffer);
const auto expanded_polygon = expand_polygon(toPolygon2d(envelope_ros_polygon), envelope_buffer);

const auto edge_point = tier4_autoware_utils::createPoint(curr_p.x(), curr_p.y(), 0.0);
edge_points.push_back(edge_point);
}
const auto expanded_polygon = expandPolygon(toPolygon2d(envelope_ros_polygon), envelope_buffer);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-naming ⚠️
invalid case style for variable toPolygon2d

Suggested change
const auto expanded_polygon = expandPolygon(toPolygon2d(envelope_ros_polygon), envelope_buffer);
const auto expanded_polygon = expandPolygon(to_polygon2d(envelope_ros_polygon), envelope_buffer);

edge_points.push_back(edge_point);
}
const auto expanded_polygon = expandPolygon(toPolygon2d(envelope_ros_polygon), envelope_buffer);
return expanded_polygon;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ performance-no-automatic-move ⚠️
constness of expanded_polygon prevents automatic move

takayuki5168 and others added 7 commits February 8, 2023 18:39
…ance path (#2833)

* fix(behavior_path_planner): fix drivable area for long backawrd avoidance path

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>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
* fix(lane_change): get sorted lane ids

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* slightly change the find

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* fix(lane_change): safe intervehicle distance in collision check

Signed-off-by: Muhammad Zulfaqar <zulfaqar.azmi@tier4.jp>

* fix spellcheck

Signed-off-by: Muhammad Zulfaqar <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Muhammad Zulfaqar <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…er (#2388)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* feat(simple_planning_sim): publish sensing interface imu data

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix covariance index

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

---------

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
takayuki5168 and others added 4 commits February 10, 2023 08:58
…e intersection (#2861)

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
* fix(behavior_path_planner): fix overlapping checker

Signed-off-by: yutaka <purewater0901@gmail.com>

* fix format

Signed-off-by: yutaka <purewater0901@gmail.com>

---------

Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
)

* feat(image_projection_based_fusion): add thrust distance to fusion

Signed-off-by: Kaan Çolak <kaancolak95@gmail.com>

* feat(image_projection_based_fusion): fix typo

Signed-off-by: Kaan Çolak <kaancolak95@gmail.com>

---------

Signed-off-by: Kaan Çolak <kaancolak95@gmail.com>
…rint (#2870)

* refactor(tier4_planning_rviz_plugin): create abstract class for footprint

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>

* 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>
takayuki5168 and others added 2 commits February 11, 2023 23:15
* refactor(tier4_planning_rviz_plugin): clean up the code of path

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>
#2845)

* feat(tier4_perception_launch): update cam/lidar detection architecture 

Signed-off-by: Kaan Çolak <kaancolak95@gmail.com>

* style(pre-commit): autofix

---------

Signed-off-by: Kaan Çolak <kaancolak95@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
veqcc and others added 8 commits February 13, 2023 10:25
…closing circle (#2846)

* perf(detection_area): point and polygon inclusion check by minimum enclosing circle

Signed-off-by: veqcc <ryuta.kambe@tier4.jp>

* style(pre-commit): autofix

* Update planning/behavior_velocity_planner/src/scene_module/detection_area/scene.cpp

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>

* style(pre-commit): autofix

* Update planning/behavior_velocity_planner/src/scene_module/detection_area/scene.cpp

* Update planning/behavior_velocity_planner/src/scene_module/detection_area/scene.cpp

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>

* Update planning/behavior_velocity_planner/src/scene_module/detection_area/scene.cpp

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>

* Update planning/behavior_velocity_planner/src/scene_module/detection_area/scene.cpp

* Update planning/behavior_velocity_planner/src/scene_module/detection_area/scene.cpp

* style(pre-commit): autofix

* style(pre-commit): autofix

---------

Signed-off-by: veqcc <ryuta.kambe@tier4.jp>
Co-authored-by: veqcc <ryuta.kambe@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
)

Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
…s judge (#2859)

* fix(behavior_velocity_planner): check if over pass judge line after  collision checking

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

* fix(behavior_velocity_planner): revert part of #2719

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…th same parent and same direction (#2874)

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…e intersection (#2862)

* fix(behavior_path_planner): deal with edge case of drivable area expansion

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>
…ency (#2869)

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
* fix(doc/link): update apollo documentation link

Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>

* fix(doc/link): fix internal link

Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>

* chore(doc): comment-out a figure that does not exist

Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>

* chore(doc): add {} to avoid recognize as a markdown link

Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>

* chore(doc): add {} to avoid recognize as a markdown link

Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>

* chore(doc): fix the hash of apollo link

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>

* chore(doc): fix the hash of apollo link

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>

* chore(doc): replace TierIV with TIER IV

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

---------

Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
@github-actions github-actions bot added documentation Improvements or additions to documentation vehicle labels Feb 14, 2023
@1222-takeshi 1222-takeshi merged commit 54fd689 into 1222-takeshi:main Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet