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
