[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Setting gui viewports
|
it must be <window-size value="500,500"/>
I tried this, but it doesn't work...
<gui_only>
<window-size x="500" y="500"/>
</gui_only>
When starting sumo you can set the option --window-size and --window-pos
However, you cannot currently control the position and size of the viewports within the window via traci or options.
Can I also set how windows are located?
I want to make screenshots, but if I have several viewports, the screenshots have different sizes depending on the number of viewports. I cannot set static width and height in traci.gui.screenshot method, because in different scenarios, I have a different number of viewports.
The best option for me is having only one visible viewport, so as I understood, they all will have the same size - the whole screen. But I do not know how to set it with traci...
Works! Thank you.
use <gui-settings-file value="file1,file2,file3"/>
regards,
Jakob
Hello,
I want to set several viewports for a sumo-gui simulation.
I prepared XML files for each viewport, but when I defined them in sumo configuration file, sumo-gui failed.
I tried this way:
__________
<configuration>
<input>
<net-file value="path/to//network.net.xml"/>
<route-files value="path/to/routes.rou.xml"/>
<gui-settings-file value="path/to/__gui-settings_1.cfg"/>
<gui-settings-file value="path/to/__gui-settings_2.cfg"/>
<gui-settings-file value="path/to//__gui-settings_3.cfg"/>
</input>
etc...
__________
and this way:
__________
<configuration>
<input>
<net-file value="path/to//network.net.xml"/>
<route-files value="path/to/routes.rou.xml"/>
<gui-settings-file value="path/to/__gui-settings_1.cfg" "path/to/__gui-settings_2.cfg" "path/to//__gui-settings_3.cfg"/>
</input>
etc...
__________
How do I need to define them properly?
--
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
--
--
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
--
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user