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

Change DH parameters from API

#1
Hi,

Is it possible to change DH parameters of a robot through API? In C++ preferably, if not, Python will do.

我发现这个Python:

robodk.dh(rz, tx=None, tz=None, rx=None)
Returns the Denavit-Hartenberg 4x4 matrix for a robot link.

Seems like only returns.

In C++ tho:

//INCOMPLETE!!!!!!!
/*bool RoboDK::SetRobotParams(Item *robot, tMatrix2D dhm, Mat poseBase, Mat poseTool)
#2
It is not possible to change the DH table of a robot through the API, however, you can build your own robot using this function:
//www.sinclairbody.com/doc/en/PythonAPI/robo...dMechanism

There's an example to build a 6-axis robot.




Users browsing this thread:
1 Guest(s)