Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Seminar-HFO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
Seminar-HFO
Commits
f58fd4b7
Commit
f58fd4b7
authored
Jun 22, 2016
by
Matthew Hausknecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More refactoring of agent-environment interface.
parent
ab0990d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/HFO.cpp
src/HFO.cpp
+2
-3
No files found.
src/HFO.cpp
View file @
f58fd4b7
...
...
@@ -124,7 +124,7 @@ status_t HFOEnvironment::step() {
assert
(
ready_for_action
);
// Execute the action
agent
->
a
ction
();
agent
->
executeA
ction
();
// Advance the environment by one step
do
{
...
...
@@ -136,8 +136,7 @@ status_t HFOEnvironment::step() {
}
while
(
agent
->
statusUpdateTime
()
<=
current_cycle
||
!
ready_for_action
);
// Update the state features
agent
->
ProcessTeammateMessages
();
agent
->
UpdateFeatures
();
agent
->
preAction
();
assert
(
agent
->
currentTime
().
cycle
()
==
(
current_cycle
+
1
));
current_cycle
=
agent
->
currentTime
().
cycle
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment