You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to detect collision in CV mode however the camera passes through the objects, collision count doesn't appear on Unreal and has_collided is always False. I am using the following code:
``import airsim
for i in range(40):
client.simSetVehiclePose(airsim.Pose(airsim.Vector3r(i, 0, 0), airsim.to_quaternion(0, 0, 0)), False)
info = client.simGetCollisionInfo()
if info.has_collided:
print(info)
Hi,
I am trying to detect collision in CV mode however the camera passes through the objects, collision count doesn't appear on Unreal and has_collided is always False. I am using the following code:
``import airsim
client = airsim.VehicleClient()
client.confirmConnection()
client.reset()
for i in range(40):
client.simSetVehiclePose(airsim.Pose(airsim.Vector3r(i, 0, 0), airsim.to_quaternion(0, 0, 0)), False)
info = client.simGetCollisionInfo()
if info.has_collided:
print(info)
and the following settings:
``{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.2,
"SimMode": "ComputerVision",
"ViewMode": "Fpv"
}
I work with python 3, Unreal 4.18 and Blocks environment on Ubuntu 16.04.
The text was updated successfully, but these errors were encountered: