Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 18, 2023
1 parent 66e6f80 commit 7b4f84d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions control/predicted_path_checker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ make the vehicle stop.
## Inputs

| Name | Type | Description |
|---------------------------------------|-------------------------------------------------------|-----------------------------------------------------|
| ------------------------------------- | ----------------------------------------------------- | --------------------------------------------------- |
| `~/input/reference_trajectory` | `autoware_auto_planning_msgs::msg::Trajectory` | Reference trajectory |
| `~/input/predicted_trajectory` | `autoware_auto_planning_msgs::msg::Trajectory` | Predicted trajectory |
| `~/input/objects` | `autoware_auto_perception_msgs::msg::PredictedObject` | Dynamic objects in the environment |
Expand All @@ -64,7 +64,7 @@ make the vehicle stop.
## Outputs

| Name | Type | Description |
|---------------------------------------|------------------------------------------|----------------------------------------|
| ------------------------------------- | ---------------------------------------- | -------------------------------------- |
| `~/debug/marker` | `visualization_msgs::msg::MarkerArray` | Marker for visualization |
| `~/debug/virtual_wall` | `visualization_msgs::msg::MarkerArray` | Virtual wall marker for visualization |
| `/control/vehicle_cmd_gate/set_pause` | `tier4_control_msgs::srv::SetPause` | Pause service to make the vehicle stop |
Expand All @@ -75,13 +75,13 @@ make the vehicle stop.
**Node Parameters**

| Name | Type | Description | Default value |
|:------------------------------------|:---------|:--------------------------------------------------------|:--------------|
| :---------------------------------- | :------- | :------------------------------------------------------ | :------------ |
| `update_rate` | `double` | The update rate [Hz] | 10.0 |
| `delay_time` | `double` | he time delay considered for the emergency response [s] | 0.17 |
| `max_deceleration` | `double` | Max deceleration for ego vehicle to stop [m/s^2] | 1.5 |
| `resample_interval` | `double` | Interval for resampling trajectory [m] | 0.5 |
| `stop_margin` | `double` | The stopping margin [m] | 0.5 |
| `ego_nearest_dist_threshold` | `double` | The nearest distance threshold for ego vehicle [m] | 3.0 |
| `ego_nearest_dist_threshold` | `double` | The nearest distance threshold for ego vehicle [m] | 3.0 |
| `ego_nearest_yaw_threshold` | `double` | The nearest yaw threshold for ego vehicle [rad] | 1.046 |
| `min_trajectory_check_length` | `double` | The minimum trajectory check length in meters [m] | 1.5 |
| `trajectory_check_time` | `double` | The trajectory check time in seconds. [s] | 3.0 |
Expand All @@ -91,7 +91,7 @@ make the vehicle stop.
**Collision Checker Parameters**

| Name | Type | Description | Default value |
|:-----------------------------------|:---------|:------------------------------------------------------------------|:--------------|
| :--------------------------------- | :------- | :---------------------------------------------------------------- | :------------ |
| `width_margin` | `double` | The width margin for collision checking [Hz] | 0.2 |
| `chattering_threshold` | `double` | The chattering threshold for collision detection [s] | 0.2 |
| `z_axis_filtering_buffer` | `double` | The Z-axis filtering buffer [m] | 0.3 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ PredictedPathCheckerNode::PredictedPathCheckerNode(const rclcpp::NodeOptions & n
sub_odom_ = create_subscription<nav_msgs::msg::Odometry>(
"~/input/odometry", 1, std::bind(&PredictedPathCheckerNode::onOdom, this, _1));
sub_accel_ = create_subscription<geometry_msgs::msg::AccelWithCovarianceStamped>(
"~/input/current_accel", rclcpp::QoS{1}, std::bind(&PredictedPathCheckerNode::onAccel, this, _1));
"~/input/current_accel", rclcpp::QoS{1},
std::bind(&PredictedPathCheckerNode::onAccel, this, _1));

debug_ptr_ =
std::make_shared<PredictedPathCheckerDebugNode>(this, vehicle_info_.max_longitudinal_offset_m);
Expand Down

0 comments on commit 7b4f84d

Please sign in to comment.