set_payload_cog(CoG)

Deprecated: See set_target_payload to set mass, CoG and payload inertia matrix at the same time.

Set the Center of Gravity (CoG) and reset payload inertia matrix

Warning: Using this script function to modify payload parameters will reset the payload inertia matrix.

Note: The force torque measurements are automatically zeroed when setting the payload. That ensures the readings are compensated for the payload. This is similar to the behavior of zero_ftsensor()