Skip to content

Commit

Permalink
Merge branch 'update-drivability-checker-version' into 'develop'
Browse files Browse the repository at this point in the history
update dependencies

See merge request cps/commonroad/commonroad-prediction!9
  • Loading branch information
smaierhofer committed Apr 14, 2024
2 parents 6efe7c4 + b22a050 commit d7dec7e
Show file tree
Hide file tree
Showing 4 changed files with 606 additions and 530 deletions.
4 changes: 2 additions & 2 deletions crpred/basic_models/motion_model_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from dataclasses import dataclass
from typing import List, Tuple

from commonroad.prediction.prediction import Occupancy, Prediction
from commonroad.prediction.prediction import Occupancy, SetBasedPrediction
from commonroad.scenario.scenario import Scenario
from commonroad.scenario.state import CustomState, InitialState
from commonroad.scenario.trajectory import Trajectory
Expand Down Expand Up @@ -105,7 +105,7 @@ def predict(self, sc: Scenario, initial_time_step: int = 0) -> Scenario:

# Check if a prediction object exists in the dynamic obstacle
if not pred_sc.dynamic_obstacles[idx].prediction:
pred_sc.dynamic_obstacles[idx].prediction = Prediction(
pred_sc.dynamic_obstacles[idx].prediction = SetBasedPrediction(
initial_time_step=initial_time_step,
occupancy_set=[
Occupancy(i, dyno.obstacle_shape)
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ theme:
logo: assets/commonroad_white150.png
plugins:
- mkdocstrings
- search

nav:
- Introduction: index.md
Expand Down
Loading

0 comments on commit d7dec7e

Please sign in to comment.