Commit da2e8d85 authored by David Johnson's avatar David Johnson
Browse files

* vmcd/vmcd.c:

   - oops, now its fixed!
* vmcd/GNUmakefile.in:
   - linked to math lib as well...
parent 8a680751
...@@ -25,7 +25,7 @@ CFLAGS += -I${SRCDIR}/../../lib/libtb ...@@ -25,7 +25,7 @@ CFLAGS += -I${SRCDIR}/../../lib/libtb
LDFLAGS = -L../mtp -L${OBJDIR}/lib/libtb -L${OBJDIR}/event/lib LDFLAGS = -L../mtp -L${OBJDIR}/lib/libtb -L${OBJDIR}/event/lib
LIBS += -lmtp -ltb LIBS += -lmtp -ltb -lm
test_vmc-client.sh: vmc-client test_vmc-client.sh: vmc-client
......
...@@ -609,7 +609,7 @@ int find_real_robot_id(struct position *p) { ...@@ -609,7 +609,7 @@ int find_real_robot_id(struct position *p) {
float my_dist_delta; float my_dist_delta;
float my_pose_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; dy = p->y - real_robots[i].position.y;
my_dist_delta = sqrt(dx*dx + dy*dy); my_dist_delta = sqrt(dx*dx + dy*dy);
my_pose_delta = p->theta - real_robots[i].position.theta; my_pose_delta = p->theta - real_robots[i].position.theta;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment