Skip to content

Commit

Permalink
Merge pull request #98 from KIT-MRT/fix_typos
Browse files Browse the repository at this point in the history
Fix minor details and typos
  • Loading branch information
ll-nick authored Dec 4, 2024
2 parents ceaef3f + 9c55f50 commit ed4afaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/include/demo/cost_estimator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ struct CostEstimator : public arbitration_graphs::CostEstimator<Command> {
int pathEndNeighborhoodRadius{3};
};

explicit CostEstimator(EnvironmentModel::Ptr environmentModel, const Parameters& paramters)
: environmentModel_{std::move(environmentModel)}, parameters_{paramters} {
explicit CostEstimator(EnvironmentModel::Ptr environmentModel, const Parameters& parameters)
: environmentModel_{std::move(environmentModel)}, parameters_{parameters} {
}

/**
Expand Down
1 change: 1 addition & 0 deletions docs/tasks/2_extend_arbitration_graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ explicit PacmanAgent(const entt::Game& game)
// Add the ChaseGhost behavior component to the priority arbitrator (before the AvoidGhost behavior component!)
rootArbitrator_->addOption(chaseGhostBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
rootArbitrator_->addOption(avoidGhostBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
rootArbitrator_->addOption(eatClosestDotBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
rootArbitrator_->addOption(moveRandomlyBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
}
```
Expand Down
3 changes: 2 additions & 1 deletion docs/tasks/5_verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ Pac-Man is not actually able to stop, so he will just keep moving back and forth
Probably not an ideal strategy to win the game, but we can be sure to have a comprehensible command at all times.
Also, Pac-Man will never run into a wall with this behavior component.

Phew, that was long read. Time to get our hands dirty!
Phew, that was a long read.
Time to get our hands dirty!


## Goal
Expand Down

0 comments on commit ed4afaf

Please sign in to comment.