Skip to content
GitLab
Menu
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-devel
Commits
da2e8d85
Commit
da2e8d85
authored
Dec 13, 2004
by
David Johnson
Browse files
* vmcd/vmcd.c:
- oops, now its fixed! * vmcd/GNUmakefile.in: - linked to math lib as well...
parent
8a680751
Changes
2
Hide whitespace changes
Inline
Side-by-side
robots/vmcd/GNUmakefile.in
View file @
da2e8d85
...
...
@@ -25,7 +25,7 @@ CFLAGS += -I${SRCDIR}/../../lib/libtb
LDFLAGS = -L../mtp -L${OBJDIR}/lib/libtb -L${OBJDIR}/event/lib
LIBS += -lmtp -ltb
LIBS += -lmtp -ltb
-lm
test_vmc-client.sh: vmc-client
...
...
robots/vmcd/vmcd.c
View file @
da2e8d85
...
...
@@ -609,7 +609,7 @@ int find_real_robot_id(struct position *p) {
float
my_dist_delta
;
float
my_pose_delta
;
dx
=
p
->
.
x
-
real_robots
[
i
].
position
.
x
;
dx
=
p
->
x
-
real_robots
[
i
].
position
.
x
;
dy
=
p
->
y
-
real_robots
[
i
].
position
.
y
;
my_dist_delta
=
sqrt
(
dx
*
dx
+
dy
*
dy
);
my_pose_delta
=
p
->
theta
-
real_robots
[
i
].
position
.
theta
;
...
...
Write
Preview
Supports
Markdown
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