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

Change robot's configuration through API C++

#2
You should do something like this:

Code:
// Calculate all available solutions:
tJoints joints = ROBOT->Joints();
QList joints_list = ROBOT->SolveIK_All(ROBOT->SolveFK(joints));

// Iterate over all available solutions:
for (int i=0; i// Choose your preferred robot joints
tConfig jnts_config;
ROBOT->JointsConfig(joints_list[i], jnts_config);
}

// Set your preferred/optimal robot joints:
ROBOT->setJoints(new_joints);


Messages In This Thread
RE: Change robot's configuration through API C++ - byAlbert- 01-28-2020, 10:58 PM



Users browsing this thread:
1 Guest(s)