btx0424 / OmniDrones

https://omnidrones.readthedocs.io/
MIT License
147 stars 25 forks source link

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

Open godk1122 opened 4 months ago

godk1122 commented 4 months ago

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!