Commit Graph

33 Commits

Author SHA1 Message Date
Kapler 80af6025b3 Fix the misuse of the traci module in line 304 of sumo_simulation.py
"sumolib" is not a submodule of "traci", which is why the error "module 'traci' has no attribute 'sumolib'" occurs. To fix this, remove the reference to "traci."
2024-03-20 11:18:07 +01:00
Joel Moriana 84293dad93 fixed bug checking safe blueprints 2021-08-02 16:36:28 +02:00
Daniel Santos-Olivan 67bcdd4179 Modified safe also in sumo's spawn_npc 2021-08-02 16:36:28 +02:00
Joel Moriana 16c8709abe Update blueprints name 2021-07-28 18:13:53 +02:00
Joel Moriana f18590a167 Creating a sumo route per vehicle class 2021-07-26 10:23:58 +02:00
joel-mb ad860c3d1a
[Co-Simulation] Fix import sumo_integration module (#3988)
* fix import sumo_integration module

Fixed vtypes file path to allow importing the sumo_integration module

* CHANGELOG updated

Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
Co-authored-by: bernat <bernatx@gmail.com>
2021-04-29 11:33:54 +02:00
dependabot[bot] 8d998c1f1e Bump lxml from 4.5.0 to 4.6.2 in /Co-Simulation/Sumo
Bumps [lxml](https://github.com/lxml/lxml) from 4.5.0 to 4.6.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.5.0...lxml-4.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-18 10:07:55 +01:00
Joel Moriana 79ffc83f74 fixed bug tm vehicle not moving 2020-12-17 19:04:04 +01:00
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