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
4f6128f5
Commit
4f6128f5
authored
Aug 10, 2017
by
drallensmith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For some reason, did not do movement of vision/neck commands...
parent
a893b06c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/agent.cpp
src/agent.cpp
+8
-3
No files found.
src/agent.cpp
View file @
4f6128f5
...
...
@@ -247,6 +247,13 @@ void Agent::actionImpl() {
<<
" parameters, given "
<<
params
.
size
()
<<
std
::
endl
;
exit
(
1
);
}
// For now let's not worry about turning the neck or setting the vision.
// However, do this now so doesn't override anything changed by the requested action.
// TODO for librcsc: setViewActionDefault, setNeckActionDefault that will not overwrite if already set.
this
->
setViewAction
(
new
View_Tactical
());
this
->
setNeckAction
(
new
Neck_TurnToBallOrScan
());
switch
(
requested_action
)
{
case
DASH
:
this
->
doDash
(
params
[
0
],
params
[
1
]);
...
...
@@ -325,9 +332,7 @@ void Agent::actionImpl() {
<<
requested_action
<<
std
::
endl
;
exit
(
1
);
}
// For now let's not worry about turning the neck or setting the vision.
this
->
setViewAction
(
new
View_Tactical
());
this
->
setNeckAction
(
new
Neck_TurnToBallOrScan
());
}
void
...
...
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