Skip to content

Commit 0a95bb4

Browse files
po
Signed-off-by: yuki-takagi-66 <yuki.takagi@tier4.jp>
1 parent ddfe137 commit 0a95bb4

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

control/autoware_control_validator/README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ The following parameters can be set for the `control_validator`:
5757

5858
The input trajectory is detected as invalid if the index exceeds the following thresholds.
5959

60-
| Name | Type | Description | Default value |
61-
| :---------------------------------- | :----- | :---------------------------------------------------------------------------------------------------------- | :------------ |
62-
| `thresholds.max_distance_deviation` | double | invalid threshold of the max distance deviation between the predicted path and the reference trajectory [m] | 1.0 |
63-
| `thresholds.rolling_back_velocity` | double | threshold velocity to valid the vehicle velocity [m/s] | 0.5 |
64-
| `thresholds.over_velocity_offset` | double | threshold velocity offset to valid the vehicle velocity [m/s] | 2.0 |
65-
| `thresholds.over_velocity_ratio` | double | threshold ratio to valid the vehicle velocity [*] | 0.2 |
60+
| Name | Type | Description | Default value |
61+
| :----------------------------------- | :----- | :---------------------------------------------------------------------------------------------------------- | :------------ |
62+
| `thresholds.max_distance_deviation` | double | invalid threshold of the max distance deviation between the predicted path and the reference trajectory [m] | 1.0 |
63+
| `thresholds.rolling_back_velocity` | double | threshold velocity to valid the vehicle velocity [m/s] | 0.5 |
64+
| `thresholds.over_velocity_offset` | double | threshold velocity offset to valid the vehicle velocity [m/s] | 2.0 |
65+
| `thresholds.over_velocity_ratio` | double | threshold ratio to valid the vehicle velocity [*] | 0.2 |
66+
| `thresholds.overrun_stop_point_dist` | double | threshold distance to overrun stop point [m] | 0.8 |

control/autoware_control_validator/include/autoware/control_validator/control_validator.hpp

+5
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ class ControlValidator : public rclcpp::Node
8787
void calc_velocity_deviation_status(
8888
const Trajectory & reference_trajectory, const Odometry & kinematics);
8989

90+
/**
91+
* @brief Calculate whether the vehicle has overrun a stop point in the trajectory.
92+
* @param reference_trajectory Reference trajectory
93+
* @param kinematics Current vehicle odometry including pose and twist
94+
*/
9095
void calc_stop_point_overrun_status(
9196
const Trajectory & reference_trajectory, const Odometry & kinematics);
9297

0 commit comments

Comments
 (0)