to Formatted String
Returns a string representation of the arm state using the requested units.
This includes joint positions, TCP (tool center point) pose, TCP offset, payload, payload center of gravity, and payload inertia. Various units and formatting options can be controlled using the parameters.
Return
A formatted string representing the current state of the arm with the requested units and rounding.
Parameters
If true, joint positions are displayed in degrees instead of radiant (default: false).
If true, TCP pose rotations are displayed in degrees instead of radiant (default: false).
If true, TCP pose translations are displayed in millimeters instead of meters (default: false).
If true, TCP offset rotations are displayed in degrees instead of radiant (default: false).
If true, TCP offset translations are displayed in millimeters instead of meters (default: false).
If true, numeric values are rounded to a fixed number of decimal places (default: false).