Commit Graph

1603 Commits

Author SHA1 Message Date
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
Axel 7fe20be052 Removed shipping logs 2022-04-06 23:34:11 +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
Hita Barasm Mamagani 9c61516d6e Fix version mismatch 2021-10-11 07:41:59 +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
bernat e6379b4aa2 Add Town10HD_Opt as default town 2021-07-26 10:35:39 +02:00
Daniel Santos-Oliván a2c4cc5ffd Added EditorScriptingUtilities plugin 2021-07-23 10:34:54 +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 fa144beade Enabled texture streaming. 2021-07-12 15:29:42 +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 68d75a9874 Fixed inacurate class description. Removed unused files. 2021-06-02 13:15:17 +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
bernat a88170119c Disabling streamming of textures 2021-05-21 09:44:06 +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
Axel1092 5858882848
Fixed missing includes. (#4234) 2021-05-20 16:33:13 +02:00
Axel1092 c46c65ff4f
Large Maps (#4207)
* Added LargeMapManager

* Added DVector Vector of doubles

* Declaration of interface

* Added AUncenteredPivotPointMesh

* Added map generation from assets folder

* Updates on FDVector

* Added tile load on demand

* Fixed load tile issues after rebasing origin

* Updated FDVector

* Added some auxiliary functions

* Added conversion and operator

* Added methods to check and configure the state

* Removed const and updated printed info

* Added macro to avoid logs

* Added info dump functions

* The asset spawn check was added to the tick

* LargeMapManager added to CarlaGM

* Moving to level load autocontrol

* Updated with new function name, AddNewClientToConsider

* Fixing forced tile load

* Added operator*(float)

* Disabled Localplayer

* Now the streaming is handled by us

* Fixed remove of considered actors

* Fixed typo

* Added MapOrigin to the Episode

* Added Vector3DInt to LibCarla

* Removed floats in Vector3DInt

* Added offset to client actor's location

* Fixed old cast warning

* Removed float

* Added explicit cast to avoid warning

* Fixed client actor transform

* Removed unnecessary code

* Added origin offset to spawn_actor

* Adding spawn points generation

* Added spawn points folder in editor

* Changed Spawnpoint for only Transforms

* World rebase is triggered directly

* Added offset when attaching actors

* Detecting hero vehicle

* Added LargeMapManager

* Added DVector Vector of doubles

* Declaration of interface

* Added AUncenteredPivotPointMesh

* Added map generation from assets folder

* Updates on FDVector

* Added tile load on demand

* Fixed load tile issues after rebasing origin

* Updated FDVector

* Added some auxiliary functions

* Added conversion and operator

* Added methods to check and configure the state

* Removed const and updated printed info

* Added macro to avoid logs

* Added info dump functions

* The asset spawn check was added to the tick

* LargeMapManager added to CarlaGM

* Moving to level load autocontrol

* Updated with new function name, AddNewClientToConsider

* Fixing forced tile load

* Added operator*(float)

* Disabled Localplayer

* Now the streaming is handled by us

* Fixed remove of considered actors

* Fixed typo

* Added MapOrigin to the Episode

* Added Vector3DInt to LibCarla

* Removed floats in Vector3DInt

* Added offset to client actor's location

* Fixed old cast warning

* Removed float

* Added explicit cast to avoid warning

* Fixed client actor transform

* Removed unnecessary code

* Added origin offset to spawn_actor

* Adding spawn points generation

* Added spawn points folder in editor

* Changed Spawnpoint for only Transforms

* World rebase is triggered directly

* Added offset when attaching actors

* Detecting hero vehicle

* Only hero vehicles are considered to stream tiles

* Little update on log macro

* Adding support for ghost actors

* Refactored LargeMap classes

* Refactored LargeMap classes

* Revert refactor

* Remove files

* Added dormant state to actors

* Fixed spawn+rebase on new OnActorSpawn

* Removed circular dependency warning

* Converted FActorView into an USTRUCT

* Added actor state conversion to dormant

* Removed ConvertActorDormant

* Added spawn and transition of dormants

* Ghost to Dormant working

* Replicated dormant actors

* Add substraction operators

* Added dormant to ghost conversion

* Fixed some issues in dormant to ghost conversion

* WIP! Attached actors not working properly

* WIP! Attached actors not working properly

* Added tiles loaded from umaps.

* Fixed Missing includes

* Added FActorData classes to save and restore actor state for dormant actors. Edited all client - server calls to recognize the dormant state. FActorView now can hold null AActor* when is dormant. Large Maps now load tiled umaps instead of assets.

* Fixed dormant check for attached actors

* Expanded FActorData classes. Added world observer aware of dormant actors.

* Extended FActorData classes with walker data.

* Fixed missing includes

* Removed some with editor macros.

* Added virtual destructor to FActorData.

* Adding includes

* Fixed warnings. Added UNoWorldOffsetSceneComponent to have unreal actors unnafected by rebase.

* Fixed tile alingment.

* Added sensor data to restore the comunication.

* Added parent hierarchy consideration to sleep/wakeup of ghost/dormant actors.

* Fixed crash for sensor destruction.

Co-authored-by: doterop <daniel.oterop@gmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2021-05-20 16:09:43 +02:00
Roel Algaba Brizuela 689f3a7e8e Fixes for PR 2021-05-20 14:21:26 +02:00
Roel Algaba Brizuela ad8e0b53c1 Removed unnecesary file 2021-05-20 14:21:26 +02:00
Roel Algaba Brizuela f1778e9849 Changed decal process for large maps 2021-05-20 14:21:26 +02:00
Roel Algaba Brizuela f2930a4116 Changed material routes and import.py 2021-05-20 14:21:26 +02:00
Roel Algaba Brizuela a9c859f98d Fix for commandlet 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 4e1976def4 Fixed tabs and spaces for PR 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 8738bf10da Fix errors from rebase 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 79650a40ad Changes for materials with imported maps 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 631e760fd8 Minor changes 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela f2c7a52a9d Changes for road materials. 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 170154aabd Tiling materials and added more decals 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela d21e205c36 Texture creation for road painter 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela e0d63efc5f Changes for large maps 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 6f7ba077cb make import road painter materials for maps
First implementation for applying road painter materials to imported maps. However, the user still has to access the road painter blueprint and click on the "Paint all roads button"
2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela d6b0493b23 Updated make import to apply RoadPainter materials 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela e310adc87a Finished naming script first implementation 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 0f70fd66e9 Reset files back to default state 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 8eab8018e1 Fix DVSCamera include error 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 8e540d60d0 First version - Wheel direction changes 2021-05-17 20:56:46 +02:00
bernat 2407d3ae56 Fix typo 2021-05-13 19:39:50 +02:00
bernat bc4d23a5e9 Import maps in tiles 2021-05-13 19:39:50 +02:00
bernat 1aa53798a2 We don't remove the assets name when importing 2021-05-13 19:39:50 +02:00
bernat d1a5887799 CarlaExported search nomenclature at any position, not only starting with 2021-05-13 19:39:50 +02:00
bernat 70396659b1 Remove duplicated sublevels at cooking 2021-05-13 00:04:38 +02:00
Roel Algaba Brizuela d2cd4b4cfe Fixed further spaces and tabs 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela a685b54402 Revert "Finished naming script first implementation"
This reverts commit abc7bf885b96dd5cd18e99082198f609166ba04e.
2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela dab92c7311 Fixed tabs, spaces and comments 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela f4e8dd2d0b Fixed spaces and tabs and updated textures 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 4f1add75ee Updated make import process for spawning decals easier 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela b327e479d4 Changes to apply material to large maps and bug fixes 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 2a65f83aa9 Added generation of JSON file and bug fixes 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 0a9332c16f Bug fixing and updated road painter import process
The import process now loads a .json file for applying decals to the road. Several bug fixes related to the generation of multiple map textures and dynamic materials. New update to the road painter preset on the art repository.
2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 954ed13c48 Texture creation and apply material in runtime
Extended road painter wrapper class in order to create textures statically in the content folder so the road painter blueprint can paint the road map into these new textures and save them, instead of having to share the same texture over several maps. The material is now applied on runtime (as soon as the map is launched, either in package mode or play mode in the editor)
2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela d76f682005 make import road painter materials for maps
First implementation for applying road painter materials to imported maps. However, the user still has to access the road painter blueprint and click on the "Paint all roads button"
2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 1f1c2798b2 Updated make import to apply RoadPainter materials 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 69a0da33a4 Finished naming script first implementation 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela a3b0f03e2e Reset files back to default state 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 17509022d1 Fix DVSCamera include error 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela c0188774c2 First version - Wheel direction changes 2021-05-07 15:52:21 +02:00
Daniel Santos-Olivan 144b7417af Minor fix 2021-04-26 14:57:18 +02:00
Daniel Santos-Olivan 051a33c505 IMU: Fix some weird cases when the imu gives nan values 2021-04-26 14:57:18 +02:00
Daniel Santos-Oliván 2eddbbcb39 Fix bug in lidar point count 2021-04-14 23:30:03 +02:00
Daniel Santos-Olivan 9a7c05c80e New LineTrace avoids blocking physics scene
This change takes advantage of the new function for raycast
included in the our version of the engine that does not block
the PhysiX scene.
2021-04-12 09:48:03 +02:00
Axel 3679aaa2af Disable chrono upon collision 2021-04-07 17:48:17 +02:00
Axel 5da83fbfb6 Added collision detection for chrono vehicles. 2021-04-07 17:48:17 +02:00
Axel 5bb9c3ad51 Removed unused Timer.h 2021-04-07 12:34:05 +02:00
Axel d7069ee098 Changed profiling macro fot static strings. 2021-04-07 12:34:05 +02:00
Axel 2584d884b9 Added trace profiler events for unreal insights. 2021-04-07 12:34:05 +02:00
doterop 6001da2866 Added scoped timer 2021-04-07 12:34:05 +02:00
doterop 86efe6f581 Added some UE isnights traces 2021-04-07 12:34:05 +02:00
Axel ed6062e5dd Added new argument to recreate sensors in the replayer. 2021-04-01 12:32:30 +02:00
Roel Algaba Brizuela e9fc29898f
Added wheel control (#3868)
* First version - Wheel direction changes

* Updated CHANGELOG.md

* Fix DVSCamera include error

* Updated vehicle wheels direction commands

* Reset files back to default state

* Removed files from PR.

* Updated changelog
2021-03-15 15:42:33 +01:00
bernat 7cf41964b8 Updating exposure value in Linux and UE 4.26 2021-03-08 15:59:45 +01:00
Axel1092 55a98646b3 Fixed chrono Dlls separated from the binary file 2021-03-06 01:17:05 +01:00
Axel 664866953e Fixed package build 2021-03-04 12:48:57 +01:00
Axel 226942381d Removed tabs. 2021-03-04 12:48:57 +01:00
Axel 74180b0fe7 Added missing chrono macros 2021-03-04 12:48:57 +01:00
Axel1092 bffd3968a4 Fixed std issues in chrono implementation in windows. 2021-03-04 12:48:57 +01:00
Axel a1704cb3c7 Enabling exceptions for chrono package. 2021-03-04 12:48:57 +01:00
Axel c5a1a28fa2 Overloaded all UBaseCarlaMovementComponent functions in UChronoMovementComponent 2021-03-04 12:48:57 +01:00
Axel 3fc6bce36c Added JSON ingestion for chrono vehicle definition 2021-03-04 12:48:57 +01:00
bernat b32514edb7 Uses latest RoadRunner nomenclature, and removes the FBX name on assets 2021-03-02 13:06:31 +01:00
doterop 8604f81b0a destroy_actor now returns a bool 2021-03-02 12:56:21 +01:00
bernat 50f0626e5d Fix brightness values for UE 4.26 2021-02-25 16:54:01 +01:00
bernat 7a2c12cfe5 Fix for import process in UE 4.26 2021-02-25 16:52:30 +01:00
Axel1092 30f88cfb73 Removed boost RTTI check. 2021-02-25 16:48:15 +01:00
bernat 3bbc41f1b8 Fix IF scope 2021-02-25 16:48:15 +01:00
bernat 812508116e Changes for compiling UE 4.26 2021-02-25 16:48:15 +01:00
Axel e34e0f40b7 Fixed spawn of sensors during replayer. 2021-02-24 23:12:41 +01:00
bernat a0dbf0f8e5 cleanning code 2021-02-23 19:07:23 +01:00
bernat 47826cd406 Disabling Carsim after collision 2021-02-23 19:07:23 +01:00
bernat 1220b5a669 First version 2021-02-23 19:07:23 +01:00
Axel d76e9c9c1b Review fixes. 2021-02-18 10:04:35 +01:00
Axel 546016c664 Set chrono version to 6.0.0. 2021-02-18 10:04:35 +01:00
Axel e34205399c Fixed .uproject file asociation 2021-02-18 10:04:35 +01:00
Axel1092 d6d4b1f50d Skipping 0 delta times. 2021-02-18 10:04:35 +01:00