Page 1 of 1

We want to change the attitude of the point cloud, to move and rotate the point cloud.

Posted: 09 Mar 2023, 13:28
by aaaaabc?
We can move and rotate the point cloud through the move and rotate buttons in the coppeliasim interface. We would like to know whether this operation can be implemented programmatically. I wonder if you can provide interfaces for moving buttons and rotating buttons in the interface?

Re: We want to change the attitude of the point cloud, to move and rotate the point cloud.

Posted: 10 Mar 2023, 06:42
by fferri
Yes, you can use any of these API functions to move/rotate objects:
  • sim.getObjectMatrix
  • sim.setObjectMatrix
  • sim.getObjectPose
  • sim.setObjectPose
  • sim.getObjectPosition
  • sim.setObjectPosition
  • sim.getObjectOrientation
  • sim.setObjectOrientation
  • sim.getObjectQuaternion
  • sim.setObjectQuaternion
See also positions, orientations & transformations.

Re: We want to change the attitude of the point cloud, to move and rotate the point cloud.

Posted: 12 Apr 2024, 04:54
by aaaaabc?
How do I get the output torque of the joint in torque mode?

Re: We want to change the attitude of the point cloud, to move and rotate the point cloud.

Posted: 12 Apr 2024, 13:47
by coppelia
did you have a look at sim.getJointForce ?

Cheers

Re: We want to change the attitude of the point cloud, to move and rotate the point cloud.

Posted: 14 Apr 2024, 10:56
by aaaaabc?
Yes,I do. But, what I understand is that this is the total force experienced by the joint axis, not the force output by the joint.