some concepts

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
hotgarlic
Posts: 7
Joined: Sun Dec 10, 2017 3:49 pm

some concepts

Post by hotgarlic »

what is the difference between link and body?
indice and index?
What is the meaning for frame?
On pybullet contex, many concepts may be different to other engine, I am confused.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: some concepts

Post by Erwin Coumans »

In robotics and multibodies, bodies are often called a 'link'.
In pybullet, there is the concept of 'bodyUniqueId' for a multibody.

If the multibody has children, those children are called 'links'. You can access all the links of a multibody through a link index, starting from 0 to the number of links. Each link (body) is connected to its parent through a joint, such as a revolute (hinge) joint or prismatic (slider)joint. Since each link has one joint to its parent, the link index == joint index.

This is pretty standard in robotics, and used in pybullet.
The root link/body of a multibody is called 'base'. A base can be either floating (6 degrees of freedom) or fixed (0 degrees of freedom).

For further information, use the PyBullet Quickstart Guide at https://docs.google.com/document/d/10sX ... e70wns7io3
hotgarlic
Posts: 7
Joined: Sun Dec 10, 2017 3:49 pm

Re: some concepts

Post by hotgarlic »

Thanks for your reply @Erwin Coumans
Your explanation is good for me, for I am not clear after reading the guide of pybullet until your reply.
Post Reply