You can call traci.vehicle.setType to switch between types that have
different images (or no image) defined.
When the viewing options are set to 'raster images', simple shapes are
still shown for types without image.



2017-01-26 12:38 GMT+01:00 Mani Amoozadeh <[email protected]>:

> This will apply the schema for all the vehicles. Right?
>
> Can I change it for only one specific vehicle?
>
>
>
> - Mani
>
>
>
> *From:* Jakob Erdmann [mailto:[email protected]]
> *Sent:* Thursday, January 26, 2017 3:11 AM
> *To:* Mani Amoozadeh <[email protected]>
> *Cc:* sumo-user <[email protected]>
> *Subject:* Re: [sumo-user] Change vehicle shape
>
>
>
> Yes.
>
> using gui.setSchema you can load a predefined gui settings file.
>
> regards,
>
> Jakob
>
>
>
> 2017-01-26 11:55 GMT+01:00 Mani Amoozadeh <[email protected]>:
>
> Hi,
>
>
>
> Through TraCI, can I set the shape of a specific vehicle to an 'image' or a
> 'square' ?
>
>
>
> - Mani
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to