btx0424 / OmniDrones

Home Page:https://omnidrones.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when initialize drone with "track_contact_forces: bool = True"

godk1122 opened this issue · comments

Hello, I want to use self.drone.base_link.get_net_contact_forces() to show the collisions of drone, but after I set track_contact_forces: bool = True in self.drone.initialize(), I get the following error:
[Error] [omni.physx.plugin] PhysX error: PxArticulationLink::setGlobalPose(): it is illegal to call this method if PxSceneFlag::eENABLE_DIRECT_GPU_API is enabled!, FILE /buildAgent/work/74336105e89c4a74/source/physx/src/NpArticulationLink.cpp, LINE 343
so how to show the collision situations of multirotor drone? I want to avoid any collisions during my training, thanks for your help!