Get information from a manipulator

Typically: "How do I... ", "How can I... " questions
Post Reply
scut_whg
Posts: 11
Joined: 21 Oct 2019, 08:24

Get information from a manipulator

Post by scut_whg »

How to get information about the position, speed and acceleration of each joint of the robot arm? And how do you know how many state spaces a track consists of?

coppelia
Site Admin
Posts: 10366
Joined: 14 Dec 2012, 00:25

Re: Get information from a manipulator

Post by coppelia »

What do you mean with track?
You can gather the position (i.e. angular or linear position) information about joints via sim.getJointPosition. If you do that in each simulation step, and if you know the current simulation time step (sim.getSimulationTimeStep), you can compute the velocity and acceleration.

Cheers

Post Reply