Commit Graph

25 Commits

Author SHA1 Message Date
Aniol Marti a33855ba25 New feature: allow remote sumo instance in spawn_npc_sumo.py
* New arguments: --sumo-host, --sumo-port.
2020-09-09 16:10:13 +02:00
Aniol Marti 18ae3b3acc Fix typo: liston -> listen in Co-Simulation/Sumo/run_synchronization.py 2020-09-09 16:10:13 +02:00
joel-mb aeb30d6b5a
[SUMO co-simulation] Fixed computing not allowed routes (#3129)
* Fixed bug computing not allowed routes

* Removed trailing spaces

Co-authored-by: bernat <bernatx@gmail.com>
2020-07-30 15:31:04 +02:00
patmalcolm91 cfee05feff
add support for additional TraCI clients (#2885) 2020-06-11 11:26:59 +02:00
Joel Moriana 3a36b16378 added default argument in output file argument 2020-04-15 18:34:11 +02:00
Joel Moriana 779ad9d621 avoid freeze carla 2020-04-15 11:11:37 +02:00
Joel Moriana 02330cd84d sumo net automatically generated 2020-04-15 11:11:37 +02:00
Joel Moriana 4ec9723df3 fixed codacy issues 2020-04-15 11:11:37 +02:00
Joel Moriana 28bc7f9b47 first iteration spawn_npc_sumo 2020-04-15 11:11:37 +02:00
Joel Moriana 0f92f9e71c retrieving traffic lights from landmarks 2020-04-15 11:11:37 +02:00
Joel Moriana 6fde83fbc9 synchronization traffic lights 2020-04-15 11:11:37 +02:00
Joel Moriana 5e5a397000 newline added 2020-03-30 18:50:18 +02:00
Joel Moriana 31502c97e5 Added examples for towns01, 04, 05 2020-03-30 18:50:18 +02:00
Joel Moriana 55d87ef03a Typo fixed 2020-03-30 18:50:18 +02:00
Joel Moriana 1dd08c29e9 Avoid carla tick after spawning vehicles 2020-03-30 18:50:18 +02:00
Joel Moriana 1d8afd4ccb SPAWN_OFFSET_Z modified to 25m to avoid collisions 2020-03-30 18:50:18 +02:00
Joel Moriana f1804ba198 correctly showing information about pressing sumo-gui play button. 2020-03-30 18:50:18 +02:00
Joel Moriana ac32aee647 more PR fixes 2020-03-06 12:57:12 +01:00
Joel Moriana f864f78d76 added missing newline 2020-03-06 12:57:12 +01:00
Joel Moriana 32e05027c1 corrected z coord between sumo and carla simulations 2020-03-06 12:57:12 +01:00
Joel Moriana c7b964a151 PR fixes.
* run_synchronization main method split into a synchronization_loop
method and a SimulationSynchronization class.
* New arguments added: --sync-vehicle-color and --sync-all
* Added some SumoSimulation methods as staticmethod to avoid codacy
warnings.
* Other smaller PR modifications.
2020-03-06 12:57:12 +01:00
Joel Moriana 708f3ccfe3 fixing codacy warnings 2020-03-06 12:57:12 +01:00
Joel Moriana d429a22978 workaround to fix sync issues when accessing vehicles light state 2020-03-06 12:57:12 +01:00
Joel Moriana 9308838c40 minor improvements
* Deleted unnecessary files.
* Refactored code.
* Fixed minor bug vehicle ligths sync
2020-03-06 12:57:12 +01:00
Joel Moriana e8eb09b062 initial commit sumo co-simulation 2020-03-06 12:57:12 +01:00