-
Notifications
You must be signed in to change notification settings - Fork 4.7k
How can I set the subwidows for Multiple Vehicles? #1172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As far as I know, all the views (including subwindows) are for the "first" vehicle. So it is impossible to have a view for the other vehicles. (Note that I am using https://github.com/kshitiz38/AirSim and https://github.com/stephen-jang/AirSim for the multi-vehicle capability.) By the way, which AirSim version (or fork) are using for the multi-vehicle test? If I am correct, the latest version of AirSim does not support multi-vehicle capability. |
@galgyeony i am using kshitiz38's version 。And the video of the saihv version shows the multi views of vehicle. you can click the link to check. I'm not familiar with c++, so if you can find out how saihv did it i will appreciate it. |
I recently did lots of refactoring to add multi-vehicle capabilities in AirSim. Now most of the infrastructure is there and its only a matter of testing thins out. Subwindows currently doesn't allow to specify vehicle_name but it can be easily added. Notice that in new APIs (since v1.2, release last week), there is now an extra parameter to take vehicle_name. New vehicles can be spawned by specifying in settings with names assigned to them. |
This was my version of doing multi vehicle recording, but this is from more than 6 months ago. Please note that the API might have changed significantly, but hopefully this gives you an idea of how the idea works. Essentially instead of passing one camera object, I pass a vector of them and iterate over all cameras when recording. This is also not very efficient because the rendering would happen sequentially. If someone can find a better way to do multi camera recording that would be great! (IIRC, the Unreal car sim Deepdrive claims to do very fast multi camera recording using some special low level libraries) |
i have checked the
settings.json
doc for different images for only one vehicle like belowbut How can I set the subwidows for Multiple Vehicles? I want to set WIN0 to show the first vehicle's view the WIN1 to show the second vehicle's , etc.
The text was updated successfully, but these errors were encountered: