No. This is one of the key limitations of libsumo at the moment (which we
are planning to fix this year).
Currently, the recommended approach is to use traci for testing
functionality and then switching the same code over to libsumo for speedy
operations.

Am Di., 1. Feb. 2022 um 13:19 Uhr schrieb Mahima <[email protected]>:

> Hi,
>
> I have my application developed in C++ using libsumo.
> Is there any way to view the simulation on GUI?
>
> Thanks,
> Mahima
>
> On Tue, Jan 11, 2022 at 1:43 AM Jakob Erdmann <[email protected]>
> wrote:
>
>> 1. Simulation::start is the only way to actually start a libsumo
>> simulation. Did you try to compile the example given at
>> https://sumo.dlr.de/docs/Libsumo.html#example_code_testcpp ?
>>
>> 2. Libsumo is not compatible with gui simulation at the moment:
>> https://sumo.dlr.de/docs/Libsumo.html#limitations.
>> However, you can use Libtraci which supports sumo-gui for developing your
>> script and then switch to libsumo for increased speed. The API is the same
>> and you only need to change one line of code:
>> using namespace libtraci; / using namespace libsumo;
>>
>> regards,
>> Jakob
>>
>>
>>
>>
>> Am Mo., 10. Jan. 2022 um 20:53 Uhr schrieb Mahima <[email protected]>:
>>
>>> error: ‘start’ is not a member of ‘libsumo::Simulation'
>>> On compiling, i get this error.
>>>
>>> I want to run the sumo-gui using libsumo.
>>> Please suggest the solution.
>>> ’
>>>
>>> On Mon, Jan 10, 2022 at 5:54 PM Jakob Erdmann <[email protected]>
>>> wrote:
>>>
>>>> What is the error message?
>>>>
>>>> Am Mo., 10. Jan. 2022 um 14:11 Uhr schrieb Mahima <[email protected]>:
>>>>
>>>>> Hi,
>>>>> I want to use the following command to start a simulation.
>>>>>
>>>>> "libsumo::Simulation::start"
>>>>>
>>>>> But this gives an error. Any idea what is the alternative way to start
>>>>> the simulation?
>>>>>
>>>>> Thanks,
>>>>> Mahima
>>>>> _______________________________________________
>>>>> sumo-user mailing list
>>>>> [email protected]
>>>>> To unsubscribe from this list, visit
>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>> _______________________________________________
>>>> sumo-user mailing list
>>>> [email protected]
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to