OmniDrones
OmniDrones copied to clipboard
Error when initialize drone with "track_contact_forces: bool = True"
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!