Skip to content

Commit

Permalink
docs: update architecture graph (#19)
Browse files Browse the repository at this point in the history
* docs: add planning_control use case

Signed-off-by: Hayato Mizushima <[email protected]>

* docs: update architecture graph

Signed-off-by: Hayato Mizushima <[email protected]>

* fix: ruff SIM103

Signed-off-by: Hayato Mizushima <[email protected]>

---------

Signed-off-by: Hayato Mizushima <[email protected]>
  • Loading branch information
hayato-m126 authored Aug 26, 2024
1 parent d4ffe29 commit c58d0c8
Show file tree
Hide file tree
Showing 6 changed files with 786 additions and 7 deletions.
779 changes: 779 additions & 0 deletions docs/overview/images/architecture.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/overview/images/architecture.png
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/overview/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Its use is to test the software regression and check Autoware's performance of s
driving_log_replayer_v2 package contains an evaluation node that extends Autoware's standard functionality.
The architecture graph is shown below.

![architecture](images/architecture.png)
![architecture](images/architecture.drawio.svg)

## Package structure

Expand Down
2 changes: 1 addition & 1 deletion docs/overview/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Sensing, Localization, Perception の性能確認と、ソフトウェアのリ
driving_log_replayer_v2 は、Autoware の評価ノードを Autoware の標準機能に付加した構成となっている。
アーキテクチャ図を以下に示す。

![architecture](images/architecture.png)
![architecture](images/architecture.drawio.svg)

## パッケージ構成

Expand Down
2 changes: 2 additions & 0 deletions docs/use_case/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ nav:
- traffic_light.ja.md
- perception_2d.ja.md
- perception_2d.en.md
- planning_control.en.md
- planning_control.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ class LeftRight(BaseModel):
right: float = Field(float_info.max, gt=0.0) # -

def match_condition(self, t: float) -> bool:
if (-1.0) * self.right <= t <= self.left:
return True
return False
return (-1.0) * self.right <= t <= self.left


class LaneInfo(BaseModel):
Expand All @@ -62,7 +60,7 @@ def match_condition(self, lane_info: tuple, *, start_condition: bool = False) ->
return False
if self.s is not None and self.s >= s: # Start or end when exceeded
return False
if start_condition and self.t is not None and not self.t.match_condition(t):
if start_condition and self.t is not None and not self.t.match_condition(t): # noqa
return False
return True

Expand Down Expand Up @@ -123,7 +121,7 @@ def match_condition(self, kinematic_state_tuple: tuple[float, float, float]) ->
return False
if self.acc is not None and not self.acc.min <= acc <= self.acc.max:
return False
if self.jerk is not None and not self.jerk.min <= jerk <= self.jerk.max:
if self.jerk is not None and not self.jerk.min <= jerk <= self.jerk.max: # noqa
return False
return True

Expand Down

0 comments on commit c58d0c8

Please sign in to comment.