Commit Graph

1080 Commits

Author SHA1 Message Date
Marc Garcia Puig 7e0546f9c8 Fixed open3d example name 2020-09-18 17:24:56 +02:00
Praveen Kumar f3d357d7d0 Implemented vehicle removal in OSM mode. 2020-09-18 14:55:14 +02:00
Praveen Kumar bc5871330a Implemented parameter for OSM mode. 2020-09-18 14:55:14 +02:00
glopezdiest 32721d951f
Waypoint buffer cleans on route reset (#3264) 2020-09-17 15:48:09 +02:00
doterop 5bdd65ca0e Added call to the PythonAPI 2020-09-10 15:48:22 +02:00
bernat b574ca57e8 Fix manual_control_steeringwheel.py memory leak 2020-09-09 23:07:34 +02:00
bernat 6de460466e Fix manual_control.py memory leak 2020-09-09 23:07:34 +02:00
sergi-e 140bb675d1 Minor fix in Python API 2020-09-03 23:03:13 +02:00
Pasch, Frederik 251d2bbbb7 Remove switch to different default rss parameter, add new members 2020-09-03 16:15:54 +02:00
Pasch, Frederik 5f67e28821 Update RSS library to 4.1.0
Add setMapLogLevel() to rss sensor API
2020-09-03 16:15:54 +02:00
Marc Garcia Puig d75e1516b3 Fixed open3d name 2020-09-02 14:44:42 +02:00
Marc Garcia Puig aabde2182b Small color fix 2020-09-02 14:44:42 +02:00
Marc Garcia Puig 564a15989b Added sem seg water and changed Dynamic color 2020-09-02 14:44:42 +02:00
Marc Garcia Puig c6b6fe6d71 Added color tags in opend3d.py 2020-09-02 14:44:42 +02:00
bernat 9e8f91337b Change to 0.9.10 version 2020-07-31 23:00:20 +02:00
doterop 77f812aed4 Added tick after apply_settings 2020-07-31 21:55:30 +02:00
doterop 91786a7596 Removed wait 2020-07-31 21:55:30 +02:00
doterop a4fa5a82dd Added prints to see what test is running and added wait before starting sync mode 2020-07-31 21:55:30 +02:00
Axel 6d56aa843f Updated function naming. 2020-07-31 21:50:19 +02:00
sergi-e 8765f0fd62 New iteration: PythonAPI, default params, and fixes for Linux build and FAQ 2020-07-31 21:50:19 +02:00
Axel1092 b25b1c4ba6 Updated docs 2020-07-31 21:50:19 +02:00
Axel1092 41ef5040f0 Updated docs 2020-07-31 21:50:19 +02:00
Axel1092 550c252813 Renaming OSM2ODR 2020-07-31 21:50:19 +02:00
Axel1092 8f5a5b43dc Added converter build system for windows. 2020-07-31 21:50:19 +02:00
Axel1092 1047c76d2b Added settings class for osm to odr conversion and documentation. 2020-07-31 21:50:19 +02:00
Axel1092 ed4805557b Finishing fist iteration of the OSM2ODR API 2020-07-31 21:50:19 +02:00
Axel1092 a3fa0f7bed Added xsd schema files to PythonAPI 2020-07-31 21:50:19 +02:00
Axel1092 f9baef5050 Added OSM to XODR to PythonAPI. 2020-07-31 21:50:19 +02:00
Axel1092 f87593aa30 Removed executable. Integration with PythonAPI. 2020-07-31 21:50:19 +02:00
Daniel Santos-Olivan 7a413c845a Added new semantic tags to open3d script 2020-07-31 20:19:40 +02:00
Daniel Santos-Olivan 66a123e2e3 Sensor Sincronization
Added script as an example to syncronize all gathering
of sensor data in the client.

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-07-31 16:39:06 +02:00
bernat 9430d7e6f3 Update documentation 2020-07-31 16:38:41 +02:00
bernat d23ce106bc Add stop for the replayer 2020-07-31 16:38:41 +02:00
sergi-e 3ebcc89dd3 New iteration by S 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 2454972098 Refactored documentation 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 96d0ae27e6 Refactor SemanticLidar in LibCarla and PythonAPI 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 187b720902 Updated documentation for RawLidar 2020-07-31 15:15:01 +02:00
Guillermo 8c1181ca00 Fixed global planner's RoadOptions 2020-07-30 16:13:17 +02:00
Daniel Santos-Olivan 245cd0abe9 Removed comment to avoid codacy error 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 573830453f Minor change to satisfy pylint 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan a67d9732f2 Added open3d and matplotlib to requirements.txt 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 378a526524 Minor modification in open3d script
Be careful with the sleep time, its correct value
may vary between machines
2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan f5f992ceff Change delta time reference for profiling 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 65ae2c0366 Minor changes in raycast sensor script 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f94a9bad91 Added Open3D example script 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan f972b32a33 Minor changes to raycast sensor script to adapt to last changes 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 07b4decbfa Update script for rawlidar 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 3c5f051f93 Changed data structures to data folder 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan fdb3553b2c Added data/serializer structures for RayLidar 2020-07-30 15:16:42 +02:00
Daniel Santos-Oliván 2b606fc639 Added RayCastRawLidar to the test script 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f11747892f Small fix on environment.py regaring the lights 2020-07-29 16:09:18 +02:00
Pasch, Frederik e70480c664 RSS: Fix calculation of steering angle
As ad-rss-lib is using a right-handed and CARLA left-handed coordinate system, the calculation of the steering angle must be inverted

+ remove obsolete openscenario
2020-07-23 12:59:37 +02:00
sergi.e 9fcde86b05
First iteration (#3089) 2020-07-23 00:52:16 +02:00
Axel1092 bb553e1073 Updated docs. removed coma separations. 2020-07-20 15:10:34 +02:00
sergi.e e5e993c7b1
Fixed transform coord (#3047) 2020-07-15 17:20:52 +02:00
sergi.e b24dedc5d8
sergi-e/fix-actor-alive (#3055)
* First draft

* Fix on recorder show info
2020-07-15 13:39:55 +02:00
sergi.e db9572faa6
sergi-e/dif-rigid-spring (#3043)
* First iteration

* Added warning regarding springarm bug

* Fix on warning
2020-07-15 11:27:41 +02:00
Pasch, Frederik baffc906be Fix egg inclusion 2020-07-14 17:53:28 +02:00
Pasch, Frederik 89443073bf Disable pylint check 2020-07-14 17:53:28 +02:00
Pasch, Frederik 05aac9c0fb Update pylintrc, fix vehicle lights on restricted vehicle control 2020-07-14 17:53:28 +02:00
Pasch, Frederik 805f7c2863 Pylint cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik 2cb29ba938 Further cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik bc898acdf9 Cleanup 2020-07-14 17:53:28 +02:00
Bernd Gassmann 0332185e6f Update PythonAPI docu
+ Codeformatting of RSS parts
2020-07-14 17:53:28 +02:00
Pasch, Frederik 88ae9d04ae Update to AD RSS Library 4.0.0
- Added support for unstructured scenes and pedestrians.
- Rework rss example folder structure
- Python based debug drawing
- Handle negative speeds
- Fixes #2871 by linking libproj statically.
- Fixes #2958 by using sequential colcon build
- Allow setting log level
- Add ActorConstellationCallback
- Move setting of RssDynamics to python code
2020-07-14 17:53:28 +02:00
Axel1092 fcc5140873 Updated documentation and changelog 2020-07-10 11:36:31 +02:00
Axel1092 2d26512209 Added new frozen behavior. 2020-07-10 11:36:31 +02:00
Axel1092 07d016d318 Added reset group function to API. 2020-07-10 11:36:31 +02:00
Markus Hofbauer 13d9ac7de1 replace deprecated platform dist with distro linux distribution call 2020-07-08 23:17:33 +02:00
Daniel Santos-Olivan 1926b68e70 Change variable name to adapt to code standard and added
stream operator for LidarDetection
2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 8e68cbdd8a Fix error in the serializer of LidarMeasurament. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 1d9bb78a8d Format changes to answer review 2020-07-08 11:44:23 +02:00
Daniel Santos-Oliván 07a871309b Updated documentation 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 97cf13700c First version of the documentation. Yet to be completed. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 759f7bfe6d In sensor profiling, setting no rendering mode. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan da2e29f5ef Lidar Intensity: Added intensity to lidar's output
For now, only takes into account the intensity loss
due to the the atmosphere atenuation.
2020-07-08 11:44:23 +02:00
Marc Garcia Puig 114e42357a Matrix creation simplification 2020-07-02 12:22:12 +02:00
Daniel Santos-Olivan 1aa286f6a9 Added a getter to the 4-matrix form of the
inverse transformation for the client
2020-07-02 12:22:12 +02:00
Daniel Santos-Olivan 7e2b57338b Exposing the 4-matrix form of the transformation
to the client API
2020-07-02 12:22:12 +02:00
Axel1092 f39bc70242 Added velocity, acceleration and platform time to recorder. 2020-07-02 11:53:36 +02:00
sergi.e f6831da92e
sergi-e/issues_06 (#3005)
* Brief additions

* Fix on Light manager docs
2020-07-01 13:18:44 +02:00
bernat 315bfc45bf Trimming spaces and renaming variable 2020-06-30 13:12:22 +02:00
bernat 9b716e1698 All streams are multi stream now 2020-06-30 13:12:22 +02:00
Marc Garcia Puig b695dbf2f5 Fixed numpy versions for requirements.txt 2020-06-29 17:40:39 +02:00
DSantosO baf43b07a6
Merge pull request #2951 from carla-simulator/dsantoso/lidar-impr
Raycast parallelization
2020-06-18 15:48:29 +02:00
Marc Garcia Puig 701a5009bf
Fixed weather out in PythonAPI (#2957) 2020-06-16 12:18:58 +02:00
Marc Garcia Puig c21e823850 Fixed environment.py 2020-06-10 14:43:21 +02:00
Marc Garcia Puig 97cb2dfec0 Fixed fog_falloff in Boost Python 2020-06-10 14:43:21 +02:00
marcos909 c29a1908e9 Renamed environment.py 2020-06-10 14:43:21 +02:00
sergi-e 45da3ae55e New iteration with changes on environment.py, light explanation and lights explanation 2020-06-10 14:43:21 +02:00
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
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
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
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
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
doterop 1c7306f982 Fix use of reserved keyword in python 2020-05-11 14:44:54 +02:00
Marc Garcia Puig 4eb6714e04 Removed unnecessary PythonAPI classes 2020-05-08 20:08:27 +02:00
sergi-e d305afa2fa DVS docs reviewed 2020-05-08 20:08:27 +02:00
Javier Hidalgo-Carrió 38432de658 python api: move logic in sensor data methods to DVSEventArray 2020-05-08 20:08:27 +02:00
Marc Garcia Puig 9f5f4b9a2e Moved ToImage() and added a use case in man_contr 2020-05-08 20:08:27 +02:00
Marc Garcia Puig 87ac3b9a6d Minor fixes and code style adaptation 2020-05-08 20:08:27 +02:00
Javier Hidalgo-Carrió c45614c983 DVS camera sensor implementation 2020-05-08 20:08:27 +02:00
sergi-e fd88d61aa7 Deleted links to CARLA versions after fixes to doc states 2020-05-08 13:51:04 +02:00
sergi-e f95feddbb7 Fixed typo on TM 2020-05-08 13:51:04 +02:00
sergi-e bfec9d099e Little change in header text 2020-05-08 13:51:04 +02:00
sergi-e 361372d496 Changed links to docs build 2020-05-08 13:51:04 +02:00
sergi-e 564b7b9408 First iteration with getters, setters and previous APIs 2020-05-08 13:51:04 +02:00
sergi-e 0124a47bc9 Docs updated 2020-05-05 11:16:23 +02:00
bernat 4dc6eba755 New API function to add angular impulse to an actor 2020-05-05 11:16:23 +02:00
kbu9299 bcf542f579 Fix typos 2020-05-04 10:05:18 +02:00
bernat 1a2c2ea76a Changing to version 0.9.9 2020-04-23 15:52:28 +02:00
sergi.e cd35196d20
sergi-e/p099-updates (#2751)
* First draft TM updates

* Idle iteration

* Different updates

* Python API weather fix

* Added RSS sensor

* Added nightly builds

* Added texture mention to Town10

* Updated TM

* Updated contact mail

* New update on B,Jo,Ja comments

* Last fixes on Ja comments
2020-04-23 12:40:28 +02:00
bernat 19627ac094 Smoke test fix, and windows clean fix 2020-04-22 12:24:28 +02:00
doterop 4384e386c2
Light API (#2756)
* Added CarlaLight class.

* Added get and set for carla light type.

* Added LightManager, Light and LightState

* Fixed unapplied changes

* Fixed LM::GetAllLights

* Fixed Python getter

* Added LightManager, Light and LightState. Python bindings included.

* Completed LightManager communication and LightSubsystem on server

* Fixed concurrency and color conversion

* Added check for null case on RegisterLight and UnregisterLight

* Fixed map change crash in editor.

* Added client syncronization.

* Updated Python docs.

* Fixed client sync

* Added CarlaLight class.

* Added get and set for carla light type.

* Added LightManager, Light and LightState

* Fixed unapplied changes

* Fixed LM::GetAllLights

* Fixed Python getter

* Added LightManager, Light and LightState. Python bindings included.

* Completed LightManager communication and LightSubsystem on server

* Fixed concurrency and color conversion

* Added check for null case on RegisterLight and UnregisterLight

* Fixed map change crash in editor.

* Added client syncronization.

* Updated Python docs.

* Fixed client sync

* Updated changelog

* New iteration on lights docs

* Fixed docs

* Content version updated

* Removed NonCopyable

* Compilation fix.

Co-authored-by: Axel1092 <axellopez92@outlook.com>
Co-authored-by: sergi-e <rigesklaine@gmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2020-04-17 12:29:54 +02:00
sergi-e 9d3d97377b New draft with parameters. Pending questions. 2020-04-16 12:41:06 +02:00
Marc Garcia Puig d2a16e9a47 Improved PythonAPI map generation params docs 2020-04-16 12:41:06 +02:00
Jacopo Bartiromo 3fcc90585e fixes destruction of actors in tutorial.py 2020-04-16 12:39:35 +02:00
Jacopo Bartiromo 0b0ca7ea4c fix flag from --tm_port to --tm-port (guideline) 2020-04-16 12:36:53 +02:00
doterop 5d177eb4bb set_autopilot now uses the TM port instead of the TM object 2020-04-16 12:36:53 +02:00
shiba24 e7a23ea941 Delete wrongly referenced .value attribute 2020-04-15 18:33:56 +02:00
Marc Garcia Puig 7b8dc6aaf8 Added an OpenDRIVE sample 2020-04-14 21:00:04 +02:00
shiba24 af5bf9fb99 Fix variable definition
Before this commit, `synchronous_master` is defined inside
try-block so if any error happens and args.sync is true,
"ReferenceError: `synchronous_master` is not defined" is raised
in the finally-block.
2020-04-13 18:26:24 +02:00
Marc Garcia Puig 3443a64db2 Fixed GetCornerPositions 2020-04-13 16:50:32 +02:00
Marc Garcia Puig 731743e79c Fixed doc spaces 2020-04-13 16:50:32 +02:00
Axel1092 f2130d1ef4 Updated changelog. Updated Python documentation. 2020-04-13 16:50:32 +02:00
Axel1092 d5c57e8903 Added parameter to enable/disable junction smooting. Moved config file variables to CarlaGameInstace for opendrive generation parameters. 2020-04-13 16:50:32 +02:00
Marc Garcia Puig e2c0349ef6 Exposed max chunk size to the PythonAPI 2020-04-13 16:50:32 +02:00
Axel1092 5ddb97a58e Added parameter to disable rendering meshes generated from OpenDRIVE. 2020-04-13 16:50:32 +02:00
sergi-e 9cb8f19c72 Added method to set radius in hybrid mode. 2020-04-13 13:06:38 +02:00
sergi-e 88148eb3de Python API updated. 2020-04-13 13:06:38 +02:00
doterop a108bf5b3b Updated default value for TM. Now should be retrocompatible. 2020-04-13 13:06:38 +02:00
doterop 2f6b8e048f Change to support default parameter to keep compatibility 2020-04-13 13:06:38 +02:00
doterop 79d6298395 Cleaned logs 2020-04-13 13:06:38 +02:00
doterop 64cc616938 Added changes to SetAutopilot BatchCommand 2020-04-13 13:06:38 +02:00