AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

How to add and control more than one agent

Open rajnishti opened this issue 9 years ago • 5 comments

Hi I am doing path planning for multi vehicles using reinforcement learning. Can I add more than one agent in Unreal Engine environment? If it is possible to add more agents in environment, then what are the changes that I should do. Thanks

rajnishti avatar Nov 30 '17 01:11 rajnishti

For drones its possible right now (see this doc). For cars, this is under works.

sytelus avatar Dec 01 '17 10:12 sytelus

@sytelus Is that doc dated now? Because neither IsFpvVehicle nor VehicleConfigName are available for FlyingPawn.

Also, in the master branch code, fpv_vehicle_connector_->startApiServer() is only called once: wouldn't we need that happening multiple times (for each port) for controlling multiple drones?

saihv avatar Dec 24 '17 19:12 saihv

@sytelus Any updates on controlling multiple cars?

DanielLSM avatar Jan 30 '18 14:01 DanielLSM

Entered as internal VSTF 7697.

RVBldr avatar Nov 21 '18 17:11 RVBldr

Multiple car control is available as well. At this time, all vehicles in the scene must be the same simmode, but you can control multiple of whichever vehicle you choose.

msb336 avatar Oct 03 '19 15:10 msb336