Commit Graph

1620 Commits

Author SHA1 Message Date
adrian-ollero 9bb8f41f3e
Aollero/river preset generator (#5650)
* First steps on river generation

* Region of interest base sckeleton

* Vegetation ROIs back logic implementation

* Region of interest for vegetation integrated into widget

* Some more improvements in River generation

* ROI selection clicking on preiew heightmap

* ROIs visual preview selection and support for many Rois

* Persistent widget state

* Widget bugs fixed

* Soil tab

* Landscape smooth tool and widget init bug fixed

* Weather tab finished and some river generation progress

* Flatening tiles that contains rivers

* Widget updates

* Missing references

* Deleted unnecessary assets

* Some progresses on Rivers but not fully working

* Terrain ROIs Widget adaptations

* First steps on Terrain ROIs

* Format fixed
2022-08-30 17:14:07 +02:00
bernatx 5daeb4d63d adding structure for vehicle definition (managing parked vehicles) 2022-08-29 11:57:22 +02:00
bernatx cca9b6a3c9 Checking pointers 2022-07-27 23:33:50 +02:00
bernatx 0fd9336be5 Fix syntax 2022-07-27 19:19:53 +02:00
bernatx 27290eb1c9 Fixing vegetation foliage destruction 2022-07-27 19:13:35 +02:00
MarcelPiNacy a918627b79 Switch tabs to spaces. 2022-07-27 18:02:16 +02:00
MarcelPiNacy ad62c86d62 Minor fix. 2022-07-27 18:02:16 +02:00
MarcelPiNacy 78ab5b450f Add CheckWeatherPostProcessEffects. 2022-07-27 18:02:16 +02:00
MarcelPiNacy 89303a4a47 Add blendable check in NotifyWeather too. 2022-07-27 18:02:16 +02:00
MarcelPiNacy dd7d7857a4 Fix path error in Linux. 2022-07-27 18:02:16 +02:00
MarcelPiNacy 554f30876c Remove UPROPERTY VisibleAnywhere 2022-07-27 18:02:16 +02:00
MarcelPiNacy 910450ee71 Fixed issues when combining weather-related postprocess materials with non-rgb sensors. 2022-07-27 18:02:16 +02:00
LuisPoveda b4b1a27572
Luis/enchance foliage (#5620)
* improved performance, reducing the elements to check

* clamp rotation and fix set max rotation angle

* Fixed bug causing editor to crash.
Reestructured VegetationSpawner.
50+ FPS now but without update UInstancedStaticMeshComponent.

* Vehicle now is added to the vegetation manager in the begin play and removed in the endplay

* renamed VegetationSpawner for VegetationManager and changed the interal architecture.

Now looks for all tiles in the world and processes only the ones in use.
Also the hidding of the foliage has been moved away to the material.

* Added Reset for SpringBasedVegetationComponent

* Fixed bug with coordinate when spawning for the same static mesh.
2022-07-27 16:57:25 +02:00
bernat 078cf0f824
Fixing first ticks of a sensor (#5616)
* Stream is removed when the sensor is destroyed

* Changing log_info to log_debug

* changeslog

* Changes to return some non-const objects

* Changing from weak_ptr to shared_ptr for storing sessions

* Split long line

* Changing log priority of some messages

* Make sure sensor is active when an user wants to use it (before it connects to it)

* Change UE tasks to any task, and not from Game thread
2022-07-25 15:32:29 +02:00
bernatx c5e03e5336 Split long line 2022-07-25 15:26:55 +02:00
bernatx 55854bfb78 Changes to return some non-const objects 2022-07-25 15:26:55 +02:00
bernatx f10b83c4fe Stream is removed when the sensor is destroyed 2022-07-25 15:26:55 +02:00
bernatx 3335c75c38 Secondary server listener is now closed (in editor it was still open) 2022-07-25 13:02:00 +02:00
bernatx 3083c8e2ed Fix to import into Carla content directly, instead of on a new package 2022-07-22 16:14:44 +02:00
bernatx be2525fb83 Fix decals when importing a map (was messing with other .json files) 2022-07-22 16:14:44 +02:00
bernatx 3595663c9e Fixing returning a copy 2022-07-21 13:24:02 +02:00
bernatx 76e96af6c3 Little fixes from review 2022-07-21 13:24:02 +02:00
bernatx a6ed1f9453 Changing classes of sensors a little 2022-07-21 13:24:02 +02:00
bernatx 2ff36dbfda Removing the PixelReader2 2022-07-21 13:24:02 +02:00
bernatx a9a8e88ed9 Add workaround for Vulkan fences that are not signaled in same frame 2022-07-21 13:24:02 +02:00
bernatx 4ea29070d2 Set synchronous mode automatically in multi-gpu 2022-07-21 13:24:02 +02:00
bernatx 9c9eda84bc Multi GPU first version 2022-07-21 13:24:02 +02:00
Aaron 79e54af4fa Removed static variable of SavePath 2022-07-12 14:45:22 +02:00
Aaron a8762db652 Add undef CreateDirectory to avoid Windows compile error 2022-07-12 14:45:22 +02:00
Aaron c0d259655b Adding missing header 2022-07-12 14:45:22 +02:00
Aaron 1e232e6e72 Added blank space at the EOF 2022-07-12 14:45:22 +02:00
Aaron a9b313f963 Added saving loading particles in independent thread 2022-07-12 14:45:22 +02:00
Axel 8e9e53c29e Added sparse map reprsentation 2022-07-12 14:45:22 +02:00
Guillermo 754b6d7d40 Removed debug message 2022-07-06 11:16:58 +02:00
Guillermo 10160da614 Fixed waypoint bug + new speed limits 2022-07-01 10:53:48 +02:00
aollero 4506ce8871 Unnecessary tab removed 2022-06-21 13:14:03 +02:00
aollero bfe95e86e2 Missing change in reviewable code 2022-06-21 13:14:03 +02:00
aollero d35d2c49c6 Spaces and format corrections 2022-06-21 13:14:03 +02:00
aollero 25016132da Tiling bug fixed and minor changes to get ready for PR 2022-06-21 13:14:03 +02:00
aollero 5a5212d25b Code cleaning and refactoring 2022-06-21 13:14:03 +02:00
aollero 3c6605ff79 Collisions fixed 2022-06-21 13:14:03 +02:00
aollero 71bb22f874 Missing File for large map manager 2022-06-21 13:14:03 +02:00
aollero fc7186a09d Complete pipeline working despite collision and resolution errors 2022-06-21 13:14:03 +02:00
aollero 606008c473 Largemap creation completed 2022-06-21 13:14:03 +02:00
aollero b7757f8d6c Large Map Configuration from source code at map creation 2022-06-21 13:14:03 +02:00
aollero 4787fcfe9f Open drive file created based on a basic opendrive file 2022-06-21 13:14:03 +02:00
aollero d2a52e566d Size in km shown in widget and material is assigned to procedural mesh 2022-06-21 13:14:03 +02:00
aollero 2da799d879 Widget UI improved by locking tabs and loading existing maps 2022-06-21 13:14:03 +02:00
aollero 3d00b66c2b Dead references deleted 2022-06-21 13:14:03 +02:00
aollero e70692cf55 Vulkan support when importing heightmap, but with blocky effect 2022-06-21 13:14:03 +02:00
aollero fa06ddc97a Small changes for adapting to new map generation process 2022-06-21 13:14:03 +02:00
aollero f046812746 Manual weather support 2022-06-21 13:14:03 +02:00
aollero 5360f2045c Pre merge commit 2022-06-21 13:14:03 +02:00
aollero 389c5e1e5f Apply heightmap at landscape creation - not fixing collision problems 2022-06-21 13:14:03 +02:00
aollero 99425a700e Landscape instantiated dynamically 2022-06-21 13:14:03 +02:00
aollero 737c32e776 Map Creation avoiding duplicated GUIDs 2022-06-21 13:14:03 +02:00
aollero ff17f914eb Collision Component Update with warning 2022-06-21 13:14:03 +02:00
aollero b5cbae4a6e Post edit event on landscape not working 2022-06-21 13:14:03 +02:00
aollero e85f9afa23 Grid texture improved 2022-06-21 13:14:03 +02:00
aollero 0a4bc2c7cb Visual Grid 2022-06-21 13:14:03 +02:00
aollero f9643d84ad Starting Water bodies generation 2022-06-21 13:14:03 +02:00
aollero ad8187fa36 Terrain editor layout improved 2022-06-21 13:14:03 +02:00
aollero 3edce5a0dc Terrain editor params exposed in the widget 2022-06-21 13:14:03 +02:00
aollero cf676ba5ca Renaming materials and dummy classes for ROIs 2022-06-21 13:14:03 +02:00
aollero e8dd064c60 Vegetation Tool bug caused the smoothing process fixed 2022-06-21 13:14:03 +02:00
aollero f1070b716e Landscape finally smoothed 2022-06-21 13:14:03 +02:00
aollero 1fa3aa97a0 Preview grid 2022-06-21 13:14:03 +02:00
aollero 67d58c2d3e Terrain and vegetation as independent processes 2022-06-21 13:14:03 +02:00
aollero 6a1a4ca16b Coments and code documentation 2022-06-21 13:14:03 +02:00
aollero 5b985dc857 More sanitazing issues solved 2022-06-21 13:14:03 +02:00
aollero a0da712db2 Path Sanitation to avoid messy directories and redirectors 2022-06-21 13:14:03 +02:00
aollero ef1b9d861c Preview Render Target and Materials 2022-06-21 13:14:03 +02:00
aollero 21f2c371bf VegetationTool working when generation of tiles with some pending TODOs 2022-06-21 13:14:03 +02:00
aollero cc73acc409 First version of the vegetation tool - only for current world 2022-06-21 13:14:03 +02:00
LuisPoveda 5ac3ce6d31
Luis/collisions bushes (#5477)
* Added base class for spring based vegetation simulation

* Excluded small bones from Inertia tensor computation. Added eigen 3.1.0 as dependency for vegetation modules.

* Added patch for eigen 3.1.0 in windows.

* Fixed windows compilation with eigen libraries

* Added automatic hierarchy extraction from skeletal mesh to spring based skeleton. Exposed custom spring vegetation structs to editor.

* Reorganized functions for spring based vegetation simulation. Fixed coordinate transformation bug (from UE left handed frame to right handed frame).

* Changes to use compile with CLang 10

* Improved spring strength settings for infividual branches. Enabled better debugging.

* added bush bp
added bush with sphere to the town10 map

* Fixed bush collision make car fly

* spring based vegetatation component updated

* System to get the bp from foliage mesh and instanciate if exists at runtime

* Added filters for spawning different types of foliage

* Spawning foliage hide and scaling it before showing.

* Added foliage bp class cache system to improve performance

* Changed Sphere Detection for Box and Implemented Object Pooling

* Fixed Dissapearing bushes, testing pooling

* Changed Sign function to not use clang's one

* Moved Spawner Logic out of Vehicle

* fix vegetation spawner now looks for new statich meshes every frame

* PR changes

* PR Changes

* Deleted spaces and scale spawn property

Co-authored-by: Axel <axellopez92@outlook.com>
Co-authored-by: Axel1092 <lopez1092@hotmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2022-06-02 14:35:42 +02:00
glopezdiest 90c624bc8c
Updated the information that traffic lights sent to vehicles 2022-06-01 15:11:29 +02:00
Guillermo d96dc20852 Added client update call 2022-05-26 15:59:28 +02:00
Guillermo b3ea8d0acc Added large map transform 2022-05-26 15:59:28 +02:00
Guillermo e56470659a Fixed raytracing functions 2022-05-24 08:41:38 +02:00
glopezdiest a649c67d7e
Added failure states for vehicles (#5410)
* Added failure states for vehicles

* Added missing endline
2022-05-16 21:55:19 +02:00
Joel Moriana e563a1e605 Added AdditionalDistance constant 2022-05-05 17:40:56 +02:00
Joel Moriana 4d5d3a9169 Changed conditions trigger box location 2022-05-05 17:40:56 +02:00
Joel Moriana cf0600293e Prevent adding trigger boxes inside the intersections 2022-05-05 17:40:56 +02:00
Marcel Pi 139041fd7f
Improvements to the dust_storm weather parameter. (#5388)
* Switched DustStorm parameter from bool to float.

* Automatically detect clang version.

* Revert "Automatically detect clang version."

This reverts commit 4ac1c95c26.

* Update environment.py weather presets.

* Expose dust_storm console command in environment.py + documentation.

* Fix minor DustStorm preset error.

* Update CHANGELOG.md
2022-04-27 12:52:25 +02:00
glopezdiest 7646b326b8 Fixed includes order 2022-04-14 15:24:19 +02:00
Guillermo 1801af84c4 Added a Windows include 2022-04-14 15:24:19 +02:00
Guillermo 3fc55a546f Missing endfile 2022-04-14 15:24:19 +02:00
Guillermo 974d240887 Added ApplyRolloverBehavior function 2022-04-14 15:24:19 +02:00
glopezdiest 8d5204e048
Added set_day_night_cycle parameter (#5322) 2022-04-13 18:25:46 +02:00
glopezdiest c977075b90
Added 4 new attributes to the vehicle blueprints (#5258)
* Added 4 new vehicle attributes
2022-04-12 15:57:54 +02:00
Marcel Pi 9d8c6175ab Added DustStorm boolean option in WeatherParameters. 2022-04-05 11:52:16 +02:00
Axel e50ffbeea3 Large map manager stream distance is set in editor. 2022-04-04 18:00:52 +02:00
anrp 60709f506b Switch to boost::variant2
boost::variant only supports up to 20 types (MPL limit). boost::variant2
has no such limit; switch to it.
2022-03-28 12:35:11 +02:00
aollero 347665aefe Bug fixed when calculaten the height of the river according to landscape 2022-03-16 17:29:44 +01:00
aollero 41427d95fa Procedural water generator widget bug fixed 2022-03-16 17:29:44 +01:00
aollero ad6bf7369c Some more naming and format corrections 2022-03-10 11:40:22 +01:00
aollero a4d1ea431e Some more identation problems 2022-03-10 11:40:22 +01:00
aollero 5f0685c902 Tabs substituted by spaces 2022-03-10 11:40:22 +01:00
aollero 63147bb780 Names addapted to naming convention 2022-03-10 11:40:22 +01:00
aollero 737c9991fc Casting errors fixed 2022-03-10 11:40:22 +01:00
aollero f2f71ba4cd Improvements in the class picker functionality 2022-03-10 11:40:22 +01:00
aollero 339df37c4e Lake generation supported 2022-03-10 11:40:22 +01:00
aollero 703b957674 River Width controlled by the user interface 2022-03-10 11:40:22 +01:00
aollero 68bedd3a83 River meshes spawn dynamically together with the spline points 2022-03-10 11:40:22 +01:00
aollero d045c1f9e8 River spawn bug fixed 2022-03-10 11:40:22 +01:00
aollero 0edc8c3c1b Procedural Rivers Generator - rought funtionality 2022-03-10 11:40:22 +01:00
aollero 3b7675e021 Each tile of the generated map applies a part of the height map 2022-03-10 11:40:22 +01:00
aollero a237d5bcf1 Large map and tiles maps generated based on noise render target 2022-03-10 11:40:22 +01:00
aollero 41d93b4a65 One map is generated procedurally with landscape heightmap on it 2022-03-10 11:40:22 +01:00
aollero 416510bc89 Basic version of Carla Tools Plugin & Map Generator Widget 2022-03-10 11:40:22 +01:00
bernatx 6e2462ddd6 Changing default gamma value 2022-03-08 12:13:14 +01:00
bernatx 4da37d1832 Setting new gamma value 2.4 2022-03-07 13:23:11 +01:00
bernatx 708a6efa49 Changing camera gamma value by default (from 2.2 to 2.4) 2022-03-03 18:30:08 +01:00
Marcel Pi 98cf46d027 Minor fixes for the pull request.
Updated copyrights, added custom normal camera definition function in ActorBlueprintFunctionLibrary and fixed minor include error.
2022-02-18 11:42:32 +01:00
Marcel Pi 3b45bfd165 Added new sensor with camera normals 2022-02-18 11:42:32 +01:00
Joel Moriana 1b80afa276 Added missing include 2022-02-08 20:15:57 +01:00
Joel Moriana e1b6b9feaa Removed unnecessary comment 2022-02-08 20:15:57 +01:00
Joel Moriana 95de1a38dd Removed unnecessary log 2022-02-08 20:15:57 +01:00
Joel Moriana 0e67ca23fd Handle steer speed in the ackermann controller 2022-02-08 20:15:57 +01:00
Joel Moriana a96c5bbdf5 fixed bug not getting max steering when applying commands 2022-02-08 20:15:57 +01:00
Joel Moriana 04ea5f4e55 Added missing includes 2022-02-08 20:15:57 +01:00
Joel Moriana a8497162ab Added large map funcionality for the ackermann controller 2022-02-08 20:15:57 +01:00
Joel Moriana 67e12c34ac Added more review changes 2022-02-08 20:15:57 +01:00
Joel Moriana 87e674c76b Applied review changes 2022-02-08 20:15:57 +01:00
Joel Moriana 51aac42a63 removed unnecessary cast 2022-02-08 20:15:57 +01:00
Joel Moriana 952c3b90ff removed debug messages 2022-02-08 20:15:57 +01:00
Joel Moriana c82f9ffc9f Removing unnecessary comments 2022-02-08 20:15:57 +01:00
Joel Moriana 8cc6f132fc First iteration ackermann controller 2022-02-08 20:15:57 +01:00
Jacopo Bartiromo 0779ebb1c1 Copyright and small error fix 2022-02-03 20:29:49 +01:00
Jacopo Bartiromo eda0a1e575 Changelog and minor changes 2022-02-03 20:29:49 +01:00
Jacopo Bartiromo 0f628e9aa3 Changes from IsSixWVehicle to bIsNWVehicle 2022-02-03 20:29:49 +01:00
Jacopo Bartiromo aaf5f2a9e9 Remove CarlaSimpleVehicle.h 2022-02-03 20:29:49 +01:00
Jacopo Bartiromo 0a9f67c6c3 Support for N Wheeled vehicles 2022-02-03 20:29:49 +01:00
Simon McMahon 6819927c88 fix props not getting packaged on linux 2021-11-15 12:03:48 +01:00
bernatx 613b4e5075 changing to version 0.9.13 2021-11-10 15:11:46 +01:00
Axel afecb11454 Fixed proxies casting shadow. 2021-11-08 18:35:03 +01:00
amparore 62630cef0a
Fixes nullptr bug in CarlaRecorder::AddCollision (PR resubmit, for Axel1092) (#4727)
* Fixed bug causing the server to sigsegv when a vehicle collides an environment object in recording mode

* fix include for windows

Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
Co-authored-by: bernatx <berni2berni>
2021-11-08 10:17:19 +01:00
Axel 67dde79707 Added missing material. 2021-11-08 09:30:35 +01:00
Axel 1afce0ee55 Added checks to prevent rendering before component initilization for instance semantic segmentation. 2021-11-08 09:30:35 +01:00
Axel1092 c96370193b Added missing includes for Windows 2021-11-08 09:30:35 +01:00
Axel 63d5b314c6 Added instance semantic segmentation sensors 2021-11-08 09:30:35 +01:00
Axel c95ab47f87 Fixed compile errors in linux. Fixed lights not turning on at night. 2021-11-05 18:34:49 +01:00
Axel1092 4eeb479c45 Added missing windows includes. 2021-11-05 16:37:17 +01:00
Axel f93fe0f9a3 Fixed missing includes 2021-11-05 16:37:17 +01:00
Axel 33c044d493 Added option to change textures of multiple objects with a single call (saving texture memory). 2021-11-05 16:37:17 +01:00
Axel c99e5adf2a Added functions and structures to update textures in runtime. 2021-11-05 16:37:17 +01:00
bernatx 4284ebb0e1 Added new pose to blend with the animation 2021-11-05 16:29:36 +01:00
bernatx b7a1685166 Return all transforms for bones (world, component and relative) 2021-11-05 16:29:36 +01:00
bernatx 93e4733cf8 First version, bones transform in world space 2021-11-05 16:29:36 +01:00
Axel 76ad143dbe Disabled physics for closed doors. 2021-10-26 18:43:48 +02:00
Axel b5d6eb264b Fixed constraints breaking on spawn. 2021-10-26 18:43:48 +02:00
Axel 62e9e8dc6a Added constraint handling capabilities for door animation 2021-10-26 18:43:48 +02:00
bernatx b617b4a95b Changing some ERROR logs by INFO logs 2021-10-05 19:31:56 +02:00
Daniel Santos-Olivan fba2bd4b3e CarlaWheeledVehicle: Stop being simulated with telemetry
Until now, when the client asked to stop the telemetry, the
information was begin removed in the HUD but it was still being
simulated with telemetry data. Now, we call the new method to stop
the telemetry to completely removed this behaviour.
2021-10-05 10:59:09 +02:00
Axel 893fe216f0 Fixed crash in UE editor when replaying a recorded session. 2021-09-28 11:08:04 +02:00
Daniel Santos-Olivan d492abce74 CarlaWheeledVehicle: added some documentation 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan d294213818 CarlaWheeledVehicle: door anim alpha is always initialized 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 9a81ecf045 CarlaServer: Open/Close door logic implemented in plugin 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan d814312d63 CarlaWheeledVehicle: Fix bad spelling 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan d5db7570be CarlaWheeledVehicle: Refactor door enum 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 0decf47206 CarlaWheeledVehicle: Fix constness in open/close of doors 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan e692759e2f CarlaWheeledVehicle: Remove timelines from code.
There is problem with using arrays of timeslines so we will
do each of the door cases in blueprint.
2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan bab40ff07b CarlaWheeledVehicle: Correct iniatization for alpha vector 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 50069eac3f CarlaWheeledVehicle: Open/CloseDoorAnim implemented in code
From now on, it is not expected to be implemented in blueprint anymore.
2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 8971cf94f1 CarlaWheeledVehicle: Minor changes in ConfigureAnimData
Minor refactor and added to BeginPlay().
2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 9400f8f546 CarlaWheeledVehicle: Added for curve/callbacks for timeline
For now, all the logic happens in the TimelineDefault.
2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 4fb8476211 CarlaWheeledVehicle: Add timelines for doors 2021-09-16 11:28:46 +02:00
Daniel Santos-Olivan 25412daf93 CarlaWheeledVehicle: Added Open/Close door functionality 2021-09-16 11:28:46 +02:00
Axel 808d00d0b0 Fixed UCarlaLight related crash 2021-09-09 13:03:45 +02:00
bernatx 32ffd2c435 Changing to version 0.9.12 2021-07-30 13:12:28 +02:00
bernatx 4d04b4ae29 Cook maps one by one in windows (slower but can package unlimited maps) 2021-07-30 03:07:41 +02:00
Roel Algaba Brizuela c451c3cb8a Axel : Fixed make import for large maps 2021-07-29 22:29:32 +02:00
Axel df9470015c Fixed speed limit matching from opendrive 2021-07-29 13:51:55 +02:00
Daniel Santos-Olivan 63227ba665 Added generation to vehicles and pedestrians 2021-07-28 22:05:48 +02:00
joel-mb 4b0525eef2
[Traffic Manager] InMemoryMap binary file (#4424)
* First iteration of the required files functionality

* WIP: Binary file for in memory map

* Fixed "/Game/" replacement and load new episode by name problems with the required files system

* removed unnecessary changes

* added extra space

* Enable pedestrians building only for single maps, no in tiled maps (temporal)

* Added python selector to make import command

* returning const reference

* fix bug not finding required files

* add TM binary files to packages

Co-authored-by: Alejandro Fraga Cimadevila <alex_fraga95@hotmail.com>
Co-authored-by: bernatx <berni2berni>
Co-authored-by: bernat <bernatx@gmail.com>
2021-07-28 14:44:54 +02:00
Axel e22e6d8027 Fixed pedestrians being moved after dying. 2021-07-28 14:43:18 +02:00
bernat 2ce9897ce9 Fixing vehicle name and compilation on windows 2021-07-28 08:38:25 +02:00
Roel Algaba Brizuela fc8428cd11 Fixed spaces 2021-07-27 20:12:47 +02:00
Roel Algaba Brizuela 0941abc43d Fixed spaces between lines 2021-07-27 20:12:47 +02:00
Roel Algaba Brizuela a118cffcc1 Correct spaces and tabulations 2021-07-27 20:12:47 +02:00
Roel Algaba Brizuela 5d2843c87f Auto stash before rebase of "origin/dev" 2021-07-27 20:12:47 +02:00
Roel Algaba Brizuela cd1776cead Re-Upload : Enabled overlap events on static meshes for chrono-carsim
This is a copy of another branch where there were unnecesary changes to some files and doing a rebase would cause a good amount of conflicts.

Enabled overlap events on all static meshes so it can be detected by carsim and chrono. Also throws an error to log, if a static mesh has it's mesh "empty"
2021-07-27 20:12:47 +02:00
Axel c97381d010 Fixed collision sensor 2021-07-27 19:23:03 +02:00
Axel daf269dd94 Fixed file transfer file paths 2021-07-27 13:07:49 +02:00
Axel fb30cbafac Fixed load xodr file from UWorld 2021-07-27 13:07:49 +02:00
Roel Algaba Brizuela c269c7efb4 Fixed import process fatal error 2021-07-27 13:07:49 +02:00
Daniel Santos-Oliván ec64374db6 Added ShowDebugTelemetry to API 2021-07-23 10:34:54 +02:00
Daniel Santos-Oliván a55bafeacd CarlaWheeledVehicle: Telemetry is enable/disable with one methor 2021-07-23 10:34:54 +02:00
Daniel Santos-Oliván 9bf26a2d84 Bugfig: new physics control was overriding default values
ApplyVehiclePhysicsControl was overriding some of the default
values of the wheel's blueprint. Now, we change it through the
TireData to avoid this problem.
2021-07-23 10:34:54 +02:00
Daniel Santos-Oliván c2a50f070e CarlaWheeledVehicle: Added debug telemetry 2021-07-23 10:34:54 +02:00
Daniel Santos-Olivan c8f14d4b42 Fix lidar parallel scaling
The creation of FCollisionQueryParams object inside each raycasting
point was slowing down some threads breaking the parallel speedup.
2021-07-23 10:28:20 +02:00
Axel c58de91423 Revert to temporal AA, removed partial ghosting. 2021-07-21 17:40:27 +02:00
bernat 76a51b9010 Removing spaces 2021-07-20 22:12:36 +02:00
Roel Algaba Brizuela 66cd52b7e8 Modified file transfer to avoid multiple downloads 2021-07-20 22:12:36 +02:00
bernat 9eba707216 Removing some functions and fixing the map name if in editor 2021-07-20 22:12:36 +02:00
alejandroFraga 6d39572e09 Navigation .bin file integrated with the required file system 2021-07-20 22:12:36 +02:00
alejandroFraga 1a58b48564 OpenDrive .xodr file integrated with the required file system 2021-07-20 22:12:36 +02:00
Alejandro Fraga Cimadevila 47f733c099 Fixed "/Game/" replacement and load new episode by name problems with the required files system 2021-07-20 22:12:36 +02:00
Alejandro Fraga Cimadevila 05a09b1007 First iteration of the required files functionality 2021-07-20 22:12:36 +02:00
Axel c7ce0eab7a Fix for StreetLights not registering in UCarlaLightSubsystem. 2021-07-20 11:04:37 +02:00
Axel 5a41195afc Removed unnecessary warning/error logs. 2021-07-20 11:03:57 +02:00
Axel 5ae79c7d31 Fixed crash caused by actors destroyed by unreal (e.g. actor out of bounds) 2021-07-16 17:21:40 +02:00
Roel Algaba Brizuela dd321ba39f Updated coding style 2021-07-16 17:21:21 +02:00
Roel Algaba Brizuela 62ba09093c Fixed python api commands for rotating vehicle wheels 2021-07-16 17:21:21 +02:00
Axel 54616a0240 Fixed gnss sensor 2021-07-15 10:56:19 +02:00
Axel 6f0c9acc55 Added speed limit to FActorData. 2021-07-13 19:25:44 +02:00
Axel cccb2755eb Fixed rare crash when traffic lights become dormant. 2021-07-13 19:25:44 +02:00
Axel 0cacdad88a Fixed speed limit not reset when waking up actors. 2021-07-13 19:25:44 +02:00
Axel 669c058211 Fixed speed limit component wrong check. 2021-07-13 19:25:44 +02:00
Axel 46fad26755 Fixed speed limit component crash when waking up. 2021-07-13 19:25:44 +02:00
bernat 7986806204 Adding some includes 2021-07-13 19:25:44 +02:00
Axel 46223fa71a Added automatic generation of speed limit signals. 2021-07-13 19:25:44 +02:00
Axel 5456dc5957 Set FXAA antialiasing method 2021-07-13 19:25:44 +02:00
Axel f1d6b9778e Fixed CarlaServer.cpp function to work with the new FCarlaActor class. 2021-07-04 20:11:19 +02:00
Axel bf4e7b0633 Added get_light_boxes in traffic light actors. Added functions to the World to obtain traffic lights from waypoints and junctions. Improved chached map method. 2021-07-04 20:11:19 +02:00
Daniel Santos-Oliván e9efa7677e Added Command: ApplyVehiclePhysicsControl 2021-07-02 10:26:00 +02:00
Daniel Santos-Oliván 96e9f35793 Improve the load of the sublevels
- We flush between sublevel load/unload calls to improve determinism
 - We have added a global uuid to allow the load/unload methods to be
called in the same tick
2021-07-02 10:26:00 +02:00
Roel Algaba Brizuela f8573f4dca Updated grass material 2021-06-16 23:03:53 +02:00
Roel Algaba Brizuela efb538dab3 Removed material num check 2021-06-16 23:03:53 +02:00
Roel Algaba Brizuela 5d31f0d65e Re-upload lane markings color fix 2021-06-16 23:03:53 +02:00
Roel Algaba Brizuela 643043fb8f Created button for possible mobility warnings 2021-06-16 23:03:41 +02:00
Roel Algaba Brizuela a9d17aa665 Fix for warnings of mobility type in buildings 2021-06-16 23:03:41 +02:00
Axel1092 74380cdc23
Fixed existing features for Large Maps (#4293)
* Fixed child-parent when waking up dormant actors. Added profiling traces. Fixed transformation of debug shapes in large maps.

* WIP: renaming FActorView to FCarlaActor. Changing calls related to FCarlaActor to acomodate new typing.

* Renaming FActorView to FCarlaActor. Changing calls related to FCarlaActor to acomodate new typing.

* Now traffic lights can be spawned without controllers inside junctions.

* Added functions to interface the FCarlaActor object with recorder. Started adapting recorder to new FCarlaActor object.

* Fixed missing includes.

* Updated CarlaRecorder and CarlaReplayer to use new FCarlaActor interface for vehicles, walkers and sensors.

* Fixed missing includes.

* Streaming level list now is persistant and can be saved for unreal to detect the dependencies.

* Enabled packages for large maps.

* Added Tiles to the MapPath.txt file. Removed debug warnings.

* Fixed traffic light trigger box placement in large maps.

* Fixed traffic light warning. Set speed limit for dormant actors to 30. Fixed semantic segmentation on streaming levels.

* Fixed Traffic Light issue with recorder and dormant state. Removed old ActorView files.

* Fixing line markings semantics

* Fixed recorder issues with traffic lights.

* Filter out the base large map as available map

* Added tile_stream_distance and actor_stream_distance to world settings.

* removed unused comments.

* Added IsActive functions. Dormant actors that cannot be respawned now remain dormant.

* Fixed missing includes.

* Fixed missing includes

* Review fixes. Missing includes.

* Fixed link errors.

Co-authored-by: bernat <bernatx@gmail.com>
2021-06-11 19:44:16 +02:00
Roel Algaba Brizuela 829664d8a3 Extended PythonAPI for weather 2021-06-11 14:31:49 +02:00
Axel 1a267fbbb1 Removed renderthread and gamethread syncronization for all cameras except dvs. 2021-06-10 09:49:25 +02:00
Daniel Santos-Oliván 6d94b3a3c5 Fix minor typo 2021-06-09 19:28:43 +02:00
Axel f64d341fb7 Fixed missing includes. 2021-06-09 19:28:28 +02:00
Axel 84c5995509 Updated CarlaRecorder and CarlaReplayer to use new FCarlaActor interface for vehicles, walkers and sensors. 2021-06-09 19:28:28 +02:00
Axel e2ebdf8d89 Fixed missing includes. 2021-06-09 19:28:28 +02:00
Axel bd1725b2d2 Added functions to interface the FCarlaActor object with recorder. Started adapting recorder to new FCarlaActor object. 2021-06-09 19:28:28 +02:00
Axel 3b8fda28db Now traffic lights can be spawned without controllers inside junctions. 2021-06-09 19:28:28 +02:00
Axel 11c785e288 Renaming FActorView to FCarlaActor. Changing calls related to FCarlaActor to acomodate new typing. 2021-06-09 19:28:28 +02:00
Axel 8925a4ed54 WIP: renaming FActorView to FCarlaActor. Changing calls related to FCarlaActor to acomodate new typing. 2021-06-09 19:28:28 +02:00
Axel ca9ffeb270 Fixed child-parent when waking up dormant actors. Added profiling traces. Fixed transformation of debug shapes in large maps. 2021-06-09 19:28:28 +02:00
Roel Algaba Brizuela 34084f272f
Fixes for large maps (#4271)
* Changed material routes and import.py

* Changed decal process for large maps

* Fixed spaces

* Removed unnecesary file

* Fixes for PR

* Updated materials for curbs and gutters

* Fix parsing of tiles by name

* Updated marking nodes materials and names

* New content version

Co-authored-by: bernat <bernatx@gmail.com>
2021-06-07 15:34:01 +02:00
Roel Algaba Brizuela 4ee1f63314 Fixed for loop error 2021-06-03 11:36:13 +02:00
Axel 2e76af9001 Fixed float texture format. Added method to convert optical flow to a color visualization. 2021-06-02 13:15:17 +02:00
Shashank Singh a087f2fb74 Going back to initial approach for uint16/float16 Optical Flow but need to do conversion on C++/Client side 2021-06-02 13:15:17 +02:00
Shashank Singh 6b6f639e15 removed unused code and added optical flow processing explanation+example to manual_control.py 2021-06-02 13:15:17 +02:00
Shashank Singh 38beabbad5 added VelocityMaterial.uasset and updated CHANGELOG 2021-06-02 13:15:17 +02:00
Shashank Singh fa9f55a592 Optical Flow 2021-06-02 13:15:17 +02:00
Roel Algaba Brizuela ae0ba81b9f Fixed scale excess and location bug 2021-05-27 15:13:41 +02:00
bernat 55aed10f49 New content, and remove LargeMap as available map 2021-05-26 19:04:29 +02:00
Roel Algaba Brizuela 0ad5982330 Removed space 2021-05-26 13:30:14 +02:00
Roel Algaba Brizuela fd66375188 Fixes for import 2021-05-26 13:30:14 +02:00
bernat 3a53b3cd4e Fix collision of imported meshes 2021-05-26 13:30:14 +02:00
Daniel Santos-Olivan f9d71845e6 Fix values for tire stiffness 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan e3ba9e4940 Added tire stiffness forces to physics control 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 0eb8e2c0a4 FrictionTrigger: Return vehicles to old friction 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan dd6dd7ba11 CarlaWheeledVehicle: Correct setup of the wheels
Setup the wheels correctly after applying the physics control
2021-05-20 16:33:27 +02:00