microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.47k stars 4.59k forks source link

Mesh segmentation for the second Car/Drone for Multi_agent #1203

Closed AloshkaD closed 6 years ago

AloshkaD commented 6 years ago

I need the segmentation for the second car/multirotor. According to the image_api the mesh ID from the World Outliner in Unreal environment is needed . I tried to get the ID but the drones/cars are only added after unreal project is run and thir meshes aren't available in the environment. How can I get the segmentation for the second multirotor/car? ANy help is appreciated @sytelus and y'all

sytelus commented 6 years ago

You can try simSetObjectSegmentationID with name of car as its parameter.

sytelus commented 6 years ago

If this is still a problem, please file a new issue with code, settings and clear steps to reproduce the issue.