File tree 2 files changed +4
-4
lines changed
driving_log_replayer/driving_log_replayer
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ class TimeRangeCondition(BaseModel):
61
61
62
62
63
63
class Conditions (BaseModel ):
64
+ Hertz : float = Field (gt = 0.0 )
64
65
ControlConditions : list [TimeRangeCondition ]
65
66
66
67
67
68
class Evaluation (BaseModel ):
68
69
UseCaseName : Literal ["planning_control" ]
69
70
UseCaseFormatVersion : Literal ["0.1.0" ]
70
- Hertz : float = Field (gt = 0.0 )
71
71
Conditions : Conditions
72
72
73
73
@@ -166,11 +166,11 @@ def update(self) -> tuple[bool, str]:
166
166
167
167
168
168
class PlanningControlResult (ResultBase ):
169
- def __init__ (self , condition : Conditions , hz : float ) -> None :
169
+ def __init__ (self , condition : Conditions ) -> None :
170
170
super ().__init__ ()
171
171
self .__control_container = ControlClassContainer (
172
172
condition = condition .ControlConditions ,
173
- hz = hz ,
173
+ hz = condition . Hertz ,
174
174
)
175
175
# self.__planing_container = PlanningCOntainer(condition=condition.PlanningConditions)
176
176
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ LocalMapPath: $HOME/autoware_map/sample-map-planning
8
8
Evaluation :
9
9
UseCaseName : planning_control
10
10
UseCaseFormatVersion : 0.1.0
11
- Hertz : 10.0 # TimeRange start-end なら (end - start) * Hertz * AllowableRate(=0.9) 以上の topicを受信しないと成功にならない。低レートを弾く。AllowableRateは一旦固定
12
11
Conditions :
12
+ Hertz : 10.0 # TimeRange start-end なら (end - start) * Hertz * AllowableRate(=0.9) 以上の topicを受信しないと成功にならない。低レートを弾く。AllowableRateは一旦固定
13
13
# 以下の3種類のDecisionに応じて評価を行う。今後の拡張でdecision以外のキー対象とする可能性を考慮してモジュールの下にdecisionのキーを置く
14
14
# decision.stop: 停止指示が出ていること評価
15
15
# decision.slow_down: 減速指示が出ていることの評価
You can’t perform that action at this time.
0 commit comments