Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
8d4ccc8e
Commit
8d4ccc8e
authored
Dec 15, 2004
by
Timothy Stack
Browse files
Reset the position after the goto finishes.
parent
9027ca0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
robots/primotion/gorobot.cc
View file @
8d4ccc8e
...
...
@@ -265,6 +265,7 @@ int main(int argc, char *argv[])
mup
.
robot_id
=
robot_id
;
bot
.
getDisplacement
(
mup
.
position
.
x
,
mup
.
position
.
y
);
bot
.
resetPosition
();
mup
.
position
.
theta
=
theta
;
if
(
rc
<
0
)
{
mup
.
status
=
MTP_POSITION_STATUS_ERROR
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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