How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet
-
- Posts: 4
- Joined: Wed Jun 23, 2021 2:32 am
How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet
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.
-
- Posts: 2
- Joined: Sat Dec 11, 2021 2:11 am
Re: How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet
Hi, I am looking for the same function. Have you known anything about that? Thanks!
-
- Posts: 8
- Joined: Sun Jan 23, 2022 11:24 am
Re: How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet
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?