Browse Source

remove old ultrasound code

master
philipp schoenberger 10 years ago
parent
commit
573c4fff97
  1. 4
      lwrserv/SvrHandling.cpp
  2. 2
      lwrserv/include/global.h

4
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;

2
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];

Loading…
Cancel
Save