From 573c4fff972d3bf4f8f8cc25cf4c03ec988f28b1 Mon Sep 17 00:00:00 2001 From: philipp schoenberger Date: Tue, 30 Jun 2015 15:47:09 +0200 Subject: [PATCH] remove old ultrasound code --- lwrserv/SvrHandling.cpp | 4 ---- lwrserv/include/global.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/lwrserv/SvrHandling.cpp b/lwrserv/SvrHandling.cpp index b280f30..b1d1b1a 100755 --- a/lwrserv/SvrHandling.cpp +++ b/lwrserv/SvrHandling.cpp @@ -957,11 +957,7 @@ void SvrHandling::MoveCartesian(SocketObject& client, string& args) ApRobot = ApSurface ; float* tempVec = NULL; tempVec = matToVec(TRobot); - for (int i=0; i<12; i++) - USTarget[i] = tempVec[i]; //tempVec = matToVec(ApRobot); - for (int i=0; i<12; i++) - USApproach[i] = tempVec[i]; client.Send(SVR_TRUE_RSP); __DOUS2 = true; diff --git a/lwrserv/include/global.h b/lwrserv/include/global.h index 0d39727..3399f10 100644 --- a/lwrserv/include/global.h +++ b/lwrserv/include/global.h @@ -22,8 +22,6 @@ extern double MSRMSRJACOBIAN[42]; extern double MSRMSRFTTCP[6]; extern double MSRCMDJNTPOS[7]; extern double MSRCMDPOSE[3][4]; -extern float USTarget[12]; -extern float USApproach[12]; extern double VELOCITY; extern double ACCELARATION; extern double maxVelJnt[LBR_MNJ];