[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Debugging output
|
then I would suspect that your python code calls the wrong binary. Try launching your self-compiled sumo-gui directly.
Still, I cannot see the other debugging information printed to the console, only the default sumo outputs are seen.
Yes, those console outputs can be seen when running with option --verbose.
Hi,
I have tried all three options but still don’t see anything printed to the terminal. Also, I am using a mac to run sumo, but I suppose this won’t really make a difference to the problem I am dealing with. I have tried printing to the terminal, and also writing texts to a file in the sumo_main.cpp file, but still nothing worked.
Thanks and regards,
Leonardo
on windows, sumo-gui never prints anything to a console by default. Here are your options
- use sumo instead of sumo-gui
- use the debug build of sumo-gui (which enables console output)
- enable CONSOLE_RELEASE in the cmake settings and recompile
Dear community,
I’ve been trying to modify the car following model source code, and encountered some problem when debugging. The compile has been successful, but I couldn’t get the expected output when printing to the terminal through std::cout. I am using python traci to start a sumo-gui simulation, thus I expect the guisim_main.cpp is run, but even adding some lines to directly print to the terminal would not print anything. According to the document (
https://sumo.dlr.de/docs/Developer/Debugging.html), trying uncommenting some debug conditions would also print messages to the terminal, but still in my case I don’t see any output. I’m not sure if I have misunderstood the procedure of the program, or am I missing something. Any help would be appreciated!
Thanks and regards,
Leonardo
_______________________________________________
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@xxxxxxxxxxxTo 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@xxxxxxxxxxxTo 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