Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Speed of MoveL_Test

#11
If you have collision check properly disabled you should not see the collision check time in the standard output/debug output. So, somewhere in the code you must be activating it or you may have another instance connecting to the API and doing other things.

I was able to run the following code without issues and getting constant timings.

Code:
RDK = new RoboDK();
RDK->Connected();

RDK->setCollisionActive(false);
RDK->Render(false);


//station = RDK->AddFile("Sim Robot.rdk"));
Item robot = RDK->getItem("", RoboDK::ITEM_TYPE_ROBOT);

Mat pose1 = RDK->getItem("Take").Pose();
Mat pose2 = RDK->getItem("Out").Pose();

tJoints home = robot.JointsHome();
Mat toolTCP = robot.PoseTool();
Mat robot2ref = robot.PoseFrame();



// Test reachable
for (int i=0; i<1000; i++){
tJoints start = robot.SolveIK(pose1, home, &toolTCP, &robot2ref);
if (start.Length() != 6) { return; }
tJoints end = robot.SolveIK(pose2, home, &toolTCP, &robot2ref);
if (end.Length() != 6) { return; }

// Simulate MoveL
auto res = robot.MoveL_Test(start, pose2);
qDebug() << res;
}


Messages In This Thread
Speed of MoveL_Test - bytokrat- 08-31-2020, 09:36 AM
RE: Speed of MoveL_Test - byAlbert- 08-31-2020, 06:56 PM
RE: Speed of MoveL_Test - bytokrat- 09-01-2020, 08:01 AM
RE: Speed of MoveL_Test - bytokrat- 09-01-2020, 09:44 AM
RE: Speed of MoveL_Test - byAlbert- 09-01-2020, 11:52 AM
RE: Speed of MoveL_Test - bytokrat- 09-01-2020, 12:21 PM
RE: Speed of MoveL_Test - bytokrat- 09-08-2020, 07:35 AM
RE: Speed of MoveL_Test - bytokrat- 09-14-2020, 07:27 AM
RE: Speed of MoveL_Test - byAlbert- 09-15-2020, 12:03 PM
RE: Speed of MoveL_Test - bytokrat- 09-17-2020, 09:07 AM
RE: Speed of MoveL_Test - byAlbert- 09-17-2020,上午10点
RE: Speed of MoveL_Test - bytokrat- 09-18-2020, 07:30 AM
RE: Speed of MoveL_Test - bytokrat- 09-18-2020, 09:39 AM
RE: Speed of MoveL_Test - bytokrat- 10-15-2020,09:13 AM



Users browsing this thread:
1 Guest(s)