PUMA THETA Parameters
Theta of DH for PUMA model
| NOTE | |
| For description of PUMA Denavit Hartenberg parameters please go to: Puma DH |
| NOTE | |
| No need for user functions (PUMA_SET_THETA/PUMA_GET_THETA), you can use directly ThetaOffset property |
Theta parameter was added for PUMA kinematics model, to support user-defined zero joint position ( {0,0,0,0,0,0} ) independently of robot actual pose.
Same robot position (joint is {0,0,0,0,0,0}) with different THETA values:
On the left side is the PUMA robot in the zero reference position according to the internal model, with ThetaOffset = {0,0,0,0,0,0}.
On the right side is the PUMA robot in a user-defined zero reference position, with ThetaOffset = {0,-90,180,0,0,0}.
double PUMA_GET_THETA(int hndl, int i); double PUMA_SET_THETA(int hndl,int i, double value);
Remember to add in your PROTO.PRO file:
import_c PUMA_GET_THETA(byval as long, byval as long) as double import_c PUMA_SET_THETA(byval as long, byval as long,byval as double) as double
Algorithm
Basically the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle theta_i} values are added in IK and DK to each of joint angle values.
Return Value
If an error occurs (non-PUMA model or invalid index) both functions return -1
If everything is OK, PUMA_SET_THETA returns 1
Availability
Since version 4.5.15