Commit Graph

3967 Commits

Author SHA1 Message Date
Marc Garcia Puig 07fe7a7153 Added weather parameter fog_fallow to PythonAPI 2020-06-10 14:43:21 +02:00
marcos909 7484c60949 Deleted old weather.py
Added Environment.py (controls weather and lights)
2020-06-10 14:43:21 +02:00
sergi-e 06375cc866 Order in parameters changed 2020-06-10 14:43:21 +02:00
sergi-e 9b6e9fc2b0 First iteration 01 2020-06-10 14:43:21 +02:00
sergi-e 81db4204d9 New links 2020-06-10 12:12:24 +02:00
sergi.e 41cf36f1f5
sergi-e/talks-2020 (#2936)
* New draft

* Added idle link pedestrians
2020-06-09 11:42:24 -07:00
Praveen Kumar d2457a2e8c Implemented spatial index tree for
waypoint indexing and querying.
2020-06-09 15:26:02 +02:00
Marc Garcia Puig 0cc4fb45f4 Fixed `and` to `&&` 2020-06-08 10:49:31 +02:00
Marc Garcia Puig dcd3c526bf Fixed changelog 2020-06-08 10:49:31 +02:00
Marc Garcia Puig ed2f997f98 Updated command docs 2020-06-08 10:49:31 +02:00
Marc Garcia Puig a9c0f51633 Added `get_vehicles_light_states` into docs 2020-06-08 10:49:31 +02:00
Marc Garcia Puig fc133121c7 Added get function for all car light states 2020-06-08 10:49:31 +02:00
Marc Garcia Puig 923960751f Added batch command SetVehicleLightState 2020-06-08 10:49:31 +02:00
Praveen Kumar 1e98335808
Traffic manager 2.0 (#2833)
* Traffic Manager 2.0

* WIP: new class structure for TM 2.0
Yet to use the new classes in TrafficManagerLocal

* WIP: new class structure integration

* Fix for python api build.

* Fix for hybrid mode crash.

* Fixed incorrect collision cache.
Fixed crash upon map change.
Minor reformatting.

* Fixed collisions with unregistered actors.
Fixed collisions among multiple traffic manager instances.
Fixed vehicle destruction upon being stuck for too long.

* Fixed vehicle wobble on steep roads

* Waypoint buffer extension at junction entrance.

* WIP: Revamped intersection anticipation.

* Implemented waypoint occupancy tracking.

* * considering buffer independent waypoints
for determining blocked junction exit.

* considering longitudinal extreme points
for localizing unregistered actors.

* Removed debug statements

* Intersection anticipation for vehicles moving across path.

* Fixed intersection anticipation in Town03, Town04.

* Safe interval length check for intersection anticipation.

* Distance check from safe interval for blocked exit.

* Removed debug statements

* * Intersection anticipation exception for roundabout in Town03.
* Updated comments.

* codacity fix

* more codacity fixes

* formatting and minor changes

* bad indentation

* Removed debug statements and updated comments.

* fixes unused variable error in make examples

* Increased minimum obstacle distance for lane change
to avoid partial lane changes.

* Removing crude stopping logic at junction entrance
for blocked junction case.

* Ignoring small intersection segments
for intersection anticipation.

* Fixed issue in unblocking mechanism
due to incorrect clock initialization.

* Fixing intersection entrance identification.

* Fixed incorrect safe space after junction detection.

* Fixed collision negotiation conditions
to work well inside intersections
and avoid deadlocks in roundabout turns.

* Replaced in file constants of InMemoryMap
with definitions from Constants.h

Updated comments

* Added a check to avoid collision considerations
in case  of traffic light hazard in motion planner.

* Re-organised include statements for ALSM.h/.cpp files.

Fixed a double initialization precision.

* WIP: Refactoring ALSM::Update

* Refactored ALSM::Update into shorter functions.

* ALSM: Corrected numeric comparision precision
and container access optimizations.

* Initial review changes

* CollisionStage: addressed pr comments.

* Constants.h, DataStructures.h: addressed pr review comments.

* InMemorMap: review comment addressal.

* LocalizationStage: Review comment addressal

* New class for random generation instead of rand()

* Removed unused code

* MotionPlanStage: re-organized include statements.

* MotionPlanStage: review comment addressal.

* SimulationState, DataStructures: minor refactoring.

* SnippetProfiler, TrackTraffic: Review comment addressal.

* Refactored include statements for
SimpleWaypoint, SnippetProfiler, TrackTraffic files.

* TrafficLightStage: review comment addressal.

* Using sleep instead of continue to time hybrid mode.

* Changing fixed array allocation with dynamic resizing.

* Refactored include statements for TrafficManager

* Removed clamp macro

* Added const to Networking constants

Co-authored-by: Jacopo Bartiromo <jackbart94@gmail.com>
Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
2020-06-05 00:02:10 +02:00
Néstor Subirón 66166399bb Fix wrong assert 2020-06-04 14:31:18 +02:00
Néstor Subirón ae6d327d1f Fix false positive assert in Array offset 2020-06-04 14:31:18 +02:00
Néstor Subirón 172aa55186 Fix threads not properly stopped on streaming tests 2020-06-04 14:31:18 +02:00
Néstor Subirón 4f11c03b94 Fix UB in MsgPack for empty strings 2020-06-04 14:31:18 +02:00
Néstor Subirón 15c250ad2a Fix division by zero 2020-06-04 14:31:18 +02:00
Seulbae Kim 5c433cae78 Fix inconsistency in the doc with the actual API.
`spawn_actor()` raises an exception, and `try_spawn_actor()` returns
`None` on failure. However, the documentation swapped the descriptions
of those two.
2020-06-04 11:38:50 +02:00
Joel Moriana f8407118f8 Fixed quality level in debian package 2020-06-03 11:35:16 +02:00
Joel Moriana a9c3007a6b Fix codacy errors 2020-06-03 11:35:16 +02:00
Joel Moriana 6d631a6933 Add support for new carla releases
* Allow choosing carla release through a parameter when calling the script.
* Package name updated to carla-simulator.
* Package URL updated.
* Automatic detection of python3 and python2 egg files.
* Adds Co-Simulation folder to the debian package.
2020-06-03 11:35:16 +02:00
Axel1092 d26f69957f Added fast conversion from/to FString and std::string. 2020-05-29 12:34:29 +02:00
Marc Garcia Puig 3e8e6dc4de Fixed MeshFactory circular dependency 2020-05-29 12:34:29 +02:00
Axel1092 827368588d Updated docs and CHANGELOG. 2020-05-29 12:34:29 +02:00
Axel1092 cd277af189 Code clean up. 2020-05-29 12:34:29 +02:00
Axel1092 605c99136d Improved standalone mesh split. 2020-05-29 12:34:29 +02:00
Axel1092 543f502512 Fixed large RAM usage in cubic polinomial curves. 2020-05-29 12:34:29 +02:00
Axel1092 704b32fa1a Added python scripts to load OSM maps into Carla simulation. 2020-05-29 12:34:29 +02:00
Axel1092 734912df54 Added optional recast execution. 2020-05-29 12:34:29 +02:00
Axel1092 381d6b2d97 Fixed string length limit in ToFString and FromFString in String.h. Fixed some parameters not used in standalone mode. 2020-05-29 12:34:29 +02:00
Axel1092 4d36212c09 Fixed multiple instances of road::Map, it can now be accessed from the CarlaGameModeBase. 2020-05-29 12:34:29 +02:00
sergi.e 8ea1093954
sergi-e/res-pics (#2891)
* New pictures and some minor fixes!

* Docs/start_quickstart.md
2020-05-26 19:18:14 +02:00
Axel1092 4dc4cb8185 Fixed map loading crash in windows. 2020-05-21 15:23:02 +02:00
sergi.e 09945c9a8c
Fix force lane change right/left (#2872) 2020-05-20 14:47:37 +02:00
bernat 09ec923c87 Removed the temporal workarounds 2020-05-14 14:22:30 +02:00
bernat a93ddab26a Fixing Pylint errors 2020-05-14 14:22:30 +02:00
bernat 74981af663 Added a test in smoke tests to check all spawnpoints in all maps 2020-05-14 14:22:30 +02:00
bernat 2d58a69f1f Redoing previous changes 2020-05-13 17:58:02 +02:00
doterop 976ccfb93b Added mesh validation when importing maps to remove props duplication 2020-05-13 17:58:02 +02:00
doterop 60aa3e3529 Fixed signal spawning with imported maps 2020-05-13 17:58:02 +02:00
bernat 3fd9fc27f1 Exchange the lane marking colors, they were in reverse 2020-05-11 18:50:51 +02:00
sergi-e 6c7da8fc82 Fixes road tool 2020-05-11 18:50:18 +02:00
sergi-e 4cc4c9ea6c New iteration png to jpg 2020-05-11 18:50:18 +02:00
sergi-e 20a15c6d56 New iteration and PNG converte to JPEG 2020-05-11 18:50:18 +02:00
sergi-e 4cd4045e09 First draft road tool 2020-05-11 18:50:18 +02:00
sergi-e 844fa44217 Docs/tuto_A_add_vehicle.md 2020-05-11 18:50:18 +02:00
sergi-e 89f07c91d8 Last iteration 2020-05-11 18:50:18 +02:00
sergi-e d018039e0d New iteration with materials 2020-05-11 18:50:18 +02:00