Page 1 of 1

How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet

Posted: Tue Jul 06, 2021 1:00 pm
by raynor
The problem is as the title shows, I can't find the relevant function in the QuickStart documentation, if anyone knows the relevant example, please let me know, thank you.

Re: How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet

Posted: Sat Dec 11, 2021 3:21 am
by Jenn77
Hi, I am looking for the same function. Have you known anything about that? Thanks!

Re: How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet

Posted: Wed Mar 02, 2022 9:26 pm
by bluefish_
I think getBasePositionAndOrientation() would get you the coordinates; the argument would be the id you the urdf you loaded. (the quickstart does include this i think, search for Hello PyBullet World) Did you already try this and it didn't work?