Commit Graph

1036 Commits

Author SHA1 Message Date
Marc Garcia Puig 3d3e82f8ad Added Sky, Ground and Bridge 2020-07-31 15:16:06 +02:00
Daniel Santos-Olivan a131e16ddb Minor formatting corrections 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 e0430e66a1 Refactor SemanticLidar in server side. 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan d7b1e4a315 RayCastRawLidar: Added optimization in the tag getter 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan c8ee455b05 Small optimization 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 64183b025a Change of type to avoid windows error 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 29508fefa4 Remove dropoff/noise/intensity related parameters from RawLidar 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan b5a297fea2 Added postprocess method for noise and intensity dropoff 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan f5e68a275b Removed unused comments 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan d1889fed85 Remove arguments from Preprocess to allow for optimization 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 20df95d202 Removed spaces 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan afd43914e9 RayCastLidar: Optimizing the normal lidar. 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 247c3731b7 Correct tag the LiDAR. 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 0d1257b271 Removed old logs 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 5eb2f6dc18 Tagger: Added some functions to the class to be used anywhere 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 92892ec8e9 Rewrite of RayCastLidar to inherit from RayCastRawLidar
to reuse code
2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 12cf111a45 Rewrite the RayCastRawLidar to store all info
- We needed to change completly the way we store and compute
  the data because for some reason we could access the actor
  information from the computation threads so we store all
  the FHitResult in the Sensor and then we compute the Detection
  information when we store in the LidarRawData structure.
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 3e1f17741c LidarRawData now inherits from LidarData to avoid repetion of code 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 08e97be923 Rename LidarData and prepare it for merge it with LidarRawData 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 1ac43909aa Updated RayCastRawLidar with new data classes 2020-07-30 15:16:42 +02:00
Daniel Santos-Oliván f26ae8f8ac RayCastRawLidar: First version, still in a very early stage. 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f55be134d1 Changed exposure_compensation 2020-07-29 16:09:18 +02:00
Marc Garcia Puig 583b6e9fbb Added docs 2020-07-29 16:09:18 +02:00
Marc Garcia Puig b505660b63 Exposed camera bloom and lens flare effect 2020-07-29 16:09:18 +02:00
Marc Garcia Puig db3c6472a5 Changed more camera parameters to match the new ilumination 2020-07-29 16:09:18 +02:00
Marc Garcia Puig 09a193564b Fixed ilumination camera values 2020-07-29 16:09:18 +02:00
Axel1092 215ceff451 Added stops in the ground from roadrunner. 2020-07-28 09:28:17 +02:00
Axel1092 6d4e92bc6d Small fix to traffic light spawn. 2020-07-28 09:28:17 +02:00
Axel1092 cbd12ac056 Added detection of 'Speed_' object record from roadrunner to interpret it as a speed signal. 2020-07-28 09:28:17 +02:00
Axel1092 5428354e5c Added automatic match of traffic lights and signals with existing actors. 2020-07-28 09:28:17 +02:00
Marc Garcia Puig c18ccca7f3 Fix for sem seg untaged objects spawned frm client 2020-07-23 16:12:08 +02:00
Axel1092 b1be4afef2 Fix for transparency see-through 2020-07-22 20:13:34 +02:00
Axel1092 a44c38168a Query formatting fixes. 2020-07-20 15:10:34 +02:00
Axel1092 be4bf24ed8 Fixed query format. 2020-07-20 15:10:34 +02:00
Axel1092 68ede3c5d3 Fix windows compilation issue 2020-07-20 15:10:34 +02:00
Axel1092 98b6b2e610 Compilation fix 2020-07-20 15:10:34 +02:00
Axel1092 bb553e1073 Updated docs. removed coma separations. 2020-07-20 15:10:34 +02:00
Axel1092 28fea86a19 Prevent event from being written to the recorder when there are none. 2020-07-20 15:10:34 +02:00
Axel1092 aec7251955 Added Trigger volumes to recorder. Infor formatting changes. 2020-07-20 15:10:34 +02:00
Axel1092 eb63a2aae8 Added traffic light time events. 2020-07-20 15:10:34 +02:00
Axel1092 b1a475d2b4 Added physics control to recorder info. 2020-07-20 15:10:34 +02:00
Timothy Scott 0b781d5fd5
Added noise to Lidar sensor (#3001)
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-07-17 12:33:50 +02:00
Marc Garcia Puig a73b1e4209 Fixed Import pipeline 2020-07-16 10:13:42 +02:00
Axel1092 f324c73b10 Review changes. 2020-07-10 11:36:31 +02:00
Axel1092 2d26512209 Added new frozen behavior. 2020-07-10 11:36:31 +02:00
Axel1092 4f1851be3f Fixed error that caused traffic light actors to be missing in client side. 2020-07-10 11:36:31 +02:00
Axel1092 4d46387eb8 Added automatic signal match with OpenDRIVE. 2020-07-10 11:36:31 +02:00
Axel1092 07d016d318 Added reset group function to API. 2020-07-10 11:36:31 +02:00
Axel1092 5ccaa39d60 Small fix to elapse time function. 2020-07-10 11:36:31 +02:00
Axel1092 780f0fe460 Moved recorder to posttick. 2020-07-10 11:36:31 +02:00
Axel1092 e8a4630610 Updating old traffic lights to use the traffic light component. 2020-07-10 11:36:31 +02:00
Axel1092 6f41587170 Added check to prevent traffic light from updating during replay. 2020-07-10 11:36:31 +02:00
Axel1092 3ef383157d Fixed recorder for traffic lights in standalone mode. 2020-07-10 11:36:31 +02:00
Daniel Santos-Olivan 1d9bb78a8d Format changes to answer review 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan c2cf1e9c95 Removed forgotten commented code 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan d18ba38144 Added custom drop off of lidar points from the API 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan ba230da58f Small update in the drop off random values. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 6f6cf65dd2 Bugfixed, using distance in meters to be
coherent
2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 3902c256da Added some noise to the LiDAR output, needs to
be tested
2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan cea1981b5c Bugfix: the lidar points are now output in the
sensor's coordinate system.
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
doterop 355571e89f Added renderdoc plugin to unreal project 2020-07-07 16:53:00 +02:00
Axel1092 6ea32e4e98 Fixed QueryInfo parsing error. 2020-07-02 21:40:30 +02:00
Timothy Scott bdc5edd2e6 Fixed gyro to report angular velocity in local sensor frame 2020-07-02 12:22:51 +02:00
Daniel Santos-Olivan 6d65a60d23 Bugfix: the lidar points are now output in the
sensor's coordinate system.
2020-07-02 12:22:12 +02:00
Axel1092 693d0112f7 Review changes 2020-07-02 11:53:36 +02:00
Axel1092 f39bc70242 Added velocity, acceleration and platform time to recorder. 2020-07-02 11:53:36 +02:00
Axel1092 583dc4e20d Added scene and vehicle light to query info. 2020-07-02 11:53:36 +02:00
Marc Garcia Puig 281461ebbf Added custom car collision in raycast sensors 2020-07-01 19:37:50 +02:00
Axel1092 949ceb2af4 Removed useless includes. 2020-06-30 21:38:47 +02:00
Axel1092 273a181f8f Review changes 2020-06-30 21:38:47 +02:00
Axel1092 41c870438e Added scene light events to recorder. 2020-06-30 21:38:47 +02:00
Axel1092 8374172415 Added vehicle light to recorder. 2020-06-30 21:38:47 +02:00
bernat b6639328ac Removing pointer to function, applying Nestor cleaner method 2020-06-30 13:12:22 +02:00
bernat e5861e5c91 Adding 'atomic' library at linking on Ubuntu 2020-06-30 13:12:22 +02:00
bernat 9b716e1698 All streams are multi stream now 2020-06-30 13:12:22 +02:00
DSantosO baf43b07a6
Merge pull request #2951 from carla-simulator/dsantoso/lidar-impr
Raycast parallelization
2020-06-18 15:48:29 +02:00
doterop f114dc0aa1
Remove intermediate map when changing map. (#2911)
* Fixed load_new_episode and removed intermediate check.

* Recovered intermediate state.

* Removing intermediate map

* Fixing merge issue

* Remove unnecessary check in load_new_episode
2020-06-15 10:53:26 +02:00
Hakhyun Kim 2d7982e85a Disable Collision for DebugShaperDrawer
DrawLine caused collision with Vehicles and others.
2020-06-11 13:03:38 +02:00
Marc Garcia Puig 97cb2dfec0 Fixed fog_falloff in Boost Python 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
Marc Garcia Puig 0cc4fb45f4 Fixed `and` to `&&` 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
Axel1092 d26f69957f Added fast conversion from/to FString and std::string. 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 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
Axel1092 4dc4cb8185 Fixed map loading crash in windows. 2020-05-21 15:23:02 +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
Javier Hidalgo-Carrió 26441431e4 DVSEventArray: boolean in +1 and -1. DVSCamera: set default threshold values 2020-05-08 20:08:27 +02:00
Marc Garcia Puig a55c71ad4f Added our standard noise to DVS sensor + Win fixes 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
Marc Garcia Puig 536362e40f Fixed cheking a if signal ID exists befor using it 2020-05-08 12:12:57 +02:00
Timothy Scott fad5f8e7d1 Changed IMU to add gravity acceleration before rotating into IMU reference frame 2020-05-06 15:48:38 +02:00
Marc Garcia Puig e78ccc6852
Rain particles and Update.sh fixes (#2814)
* Fixed camera weather changes

* Updated changelog

* Fixed Update.sh when root path contains and space
2020-05-05 16:46:41 +02:00
bernat 4dc6eba755 New API function to add angular impulse to an actor 2020-05-05 11:16:23 +02:00
bernat 1a2c2ea76a Changing to version 0.9.9 2020-04-23 15:52:28 +02:00
Axel1092 835dccd470 Fixed standalone mode. 2020-04-22 20:58:46 +02:00
Axel1092 34d3919573 Fixed error unable to parse Opendrive. 2020-04-22 20:58:46 +02:00
Axel1092 269344a3ec Fixed reload map. Increased distance field atlas and texture pool. 2020-04-22 20:58:46 +02:00
Axel1092 ff97d65cc0 Fixed server-client sincronization for map change. 2020-04-22 20:58:46 +02:00
Axel1092 953a86d62a Load void map to prevent missing meshes. 2020-04-22 20:58:46 +02:00
doterop c50d87290a Added checks to avoid crash on LightSubsystem 2020-04-22 19:16:42 +02:00
bernat 6a4479ed16 Stop vehicles at end of the simulation, instead of using autopilot 2020-04-17 12:42:12 +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
Axel1092 6f3c4788d8 Added displacement to signals overlapping driving lanes. Fixed crash when closing spawn_npc with signals. 2020-04-14 21:00:04 +02:00
Axel1092 f5208bebe7 Removed singal inclination due to road rotation. 2020-04-13 18:26:11 +02:00
Axel1092 45dc963ea6 Fixed traffic light generation with missing speed information in OpenDRIVE. 2020-04-13 18:26:11 +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
Marc Garcia Puig 00a73c4f02 Splited the map generation in chunks 2020-04-13 16:50:32 +02:00
Marc Garcia Puig 910c8f795a Added OpDR stdl mesh normal generation 2020-04-13 16:50:32 +02:00
doterop 79d6298395 Cleaned logs 2020-04-13 13:06:38 +02:00
Axel1092 9d20cfbe6d Fix to prevent spawning multiple times the same traffic light. 2020-04-09 11:19:21 +02:00
Axel1092 07334ce6e4 Moved trigger box spawn logic from TrafficLightManager to TrafficLightCOmponent. Added spawn of traffic lights without controllers outside junctions. 2020-04-09 11:19:21 +02:00
doterop a25842d924 Removed duplicated props 2020-04-08 09:12:25 +02:00
Axel1092 1e06309953 Added warning when signals overlap driving lanes. 2020-03-31 12:12:02 +02:00
Marc Garcia Puig 0eed245e34 Review fixes 2020-03-31 12:11:39 +02:00
Marc Garcia Puig 5520f31d0a Exposed road mesh generation params to PythonAPI 2020-03-31 12:11:39 +02:00
Marc Garcia Puig 0999b0ba05 Added basic walls to standalone OpenDRIVE mode 2020-03-31 12:11:39 +02:00
doterop 9dfbb14276 Fixing codacy issues 2020-03-30 19:44:46 +02:00
doterop 081de023ce Added methods to get trafficlights and trafficsigns from landmarks 2020-03-30 19:44:46 +02:00
Axel1092 5c5028aeb3 Small float product optimization. 2020-03-30 14:40:39 +02:00
Axel1092 e7082fae9f Removed collision from signals defined in the middle of a driving lane. 2020-03-30 14:40:39 +02:00
Axel1092 d9c4de2c54 Removed debug code. 2020-03-30 14:40:39 +02:00
Axel1092 d140688042 Fixed warnings. Fixed missing assets in package. 2020-03-30 14:40:39 +02:00
Axel1092 a89e505785 Added restriction to make trigger boxes only spawneable in driving roads. 2020-03-30 14:40:39 +02:00
Axel1092 1b108a027c Review fixes. Added default lane validity if missing record in OpenDRIVE. Added Automatic spawn of traffic lights and signals to the map generation without geometry. 2020-03-30 14:40:39 +02:00
Axel1092 12a5f6f5d0 Added Yield signal triggerbox generation. 2020-03-30 14:40:39 +02:00
Axel1092 df75abf5bf Added stop sign automatic triggerbox generation. 2020-03-30 14:40:39 +02:00
Marc Garcia Puig d9b216c474 Added basic support for pedestrian crosswalks 2020-03-27 12:51:34 +01:00
Axel1092 2c6483d194 Fixed warning in GenerateTriggerBox function. 2020-03-23 13:36:12 +01:00
Axel1092 892cab9dab Removed debug code. 2020-03-23 13:36:12 +01:00
Axel1092 7497ff5e3a Comented debug code. 2020-03-23 13:36:12 +01:00
Axel1092 6acecb2579 Added spawn of traffic signals. 2020-03-23 13:36:12 +01:00
Axel1092 8891fcb881 Added spawn of trigger boxes for traffic lights. 2020-03-23 13:36:12 +01:00
Axel1092 ad4fea3604 Updated Engine version in uproject file. 2020-03-20 12:01:30 +01:00
Axel 79ebb51a22 Fixed deprecated warnings. 2020-03-20 12:01:30 +01:00
Axel 6ba4d68a48 UE4.22 to UE4.24 upgrade. 2020-03-20 12:01:30 +01:00
doterop 346a513099 Fixed merge issues 2020-03-18 20:49:37 +01:00