Commit Graph

1247 Commits

Author SHA1 Message Date
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
Axel 3c1f515b3f Fixed fall through bug for chrono vehicle. 2021-02-18 10:04:35 +01:00
Axel1092 aef432e08b Small fix to windows build 2021-02-18 10:04:35 +01:00
Axel1092 0473b18df1 Added missing .lib from chrono to Build.cs 2021-02-18 10:04:35 +01:00
Axel bf8e160622 Added release compile mode for chrono library. 2021-02-18 10:04:35 +01:00
Axel f45e0d7c08 Added substep algorithm for chrono. Added initial UE4 terrain detection with raycast. 2021-02-18 10:04:35 +01:00
Axel1092 7122ce01c6 mend 2021-02-18 10:04:35 +01:00
Axel1092 b38b92f4b6 mend 2021-02-18 10:04:35 +01:00
Axel1092 2e0b4bc885 Fixed windows compilation issue 2021-02-18 10:04:35 +01:00
Axel1092 14a634aa29 Added chrono compilation support for windows. 2021-02-18 10:04:35 +01:00
Axel 2117794dd7 Created base chrono implementation 2021-02-18 10:04:35 +01:00
Axel 7c3367325f Added chrono library 2021-02-18 10:04:35 +01:00
doterop ac621539f0 Removed previous ReadyToCapture 2021-01-25 17:03:29 +01:00
doterop 2317e35f98 Added tick control on sensor for sensor_tick attribute 2021-01-25 17:03:29 +01:00
Axel 5b59d9ad14 Removed double check for carsim mode. 2021-01-21 10:20:43 +01:00
Axel c0986a07fc Improved movement components vehicle interface. 2021-01-21 10:20:43 +01:00
Daniel Santos-Olivan 3e3b7fcb20 Disable PhysXVehicleManager when physics are off 2021-01-14 10:14:32 +01:00
bernat 458761605e Upgrade UE4 API function to get the project directory 2021-01-13 10:54:02 +01:00
doterop 704c710f3e Removed comment 2021-01-12 17:11:22 +01:00
doterop 668d7fd496 Added exception to register crosswalks 2021-01-12 17:11:22 +01:00
bernat 3f4eed2239 More version changes 2020-12-22 18:34:44 +01:00
Marc Garcia Puig 1930d1d0b1 Removed unneded include 2020-12-18 20:27:01 +01:00
Marc Garcia Puig 861b95e853 Fixed DVS to work with the new rendering pipeline 2020-12-18 20:27:01 +01:00
doterop 726a5383af
Fixed texture streaming issues. (#3738) 2020-12-18 17:42:45 +01:00
Axel 1b257a15c3 Fixed missing defines 2020-12-17 16:49:32 +01:00
Axel 2fe34e0b5a Added actor offset for carsim simulation. 2020-12-17 13:22:39 +01:00
Daniel Santos-Olivan 3985512ccb Removed old commented lines 2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan b5f12907e7 CarlaGameModeBase: Block the LoadWorld when loading levels 2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan 1109f13198 Radar: Removed unused variable 2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan 4aa97d09ef Added support for load/reload maps without disabling the synchronous mode
Now you can add the option of reset_settings=False for not returning
to default options when you load/reload maps.
By default, reset_settings=True so it does not change the current
behavior of the simulator.
2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan 1b9cfeed5e Added camera flag to increase quality 2020-12-15 22:31:48 +01:00
Marc Garcia Puig c0a3ee4a3a Allow UE4 tick rate in sensors 2020-12-15 22:31:48 +01:00
Marc Garcia Puig 961622862c Removed warnings 2020-12-15 22:31:48 +01:00
Marc Garcia Puig ffddc6b6b6 Synchronized game thread with render thread 2020-12-15 22:31:48 +01:00
Marc Garcia Puig baa7af53cb Added some debug lines 2020-12-15 22:31:48 +01:00
Marc Garcia Puig bb635add57 Removed OldTransform workaround 2020-12-15 22:31:48 +01:00
Marc Garcia Puig d6f44df7c9 Changed sensor tick after physics 2020-12-15 22:31:48 +01:00
bernat 1b205b388d Moving template code to CPP 2020-12-15 22:31:48 +01:00
bernat b96428adec Moving RPC at pre-tick and world-snapshot at post-tick 2020-12-15 22:31:48 +01:00
bernat 706d905ed1 Reset sublevels for each map 2020-12-14 12:33:31 +01:00
bernat c86110593a Parsing sublevel maps for each map to package 2020-12-14 12:33:31 +01:00
bernat b144602166 Adding optimized maps to package 2020-12-14 12:33:31 +01:00
Axel 9f13584be8 Update gitignore 2020-12-11 16:59:44 +01:00
Axel df7bfbbb14 Added CarSim config file to gitignore. 2020-12-11 16:59:44 +01:00
Axel bffd921958 Added python script to edit uproject file. 2020-12-11 16:59:44 +01:00
Axel c0c24f6756 Updated uproject file 2020-12-11 16:59:44 +01:00
Axel1092 f408813e72 Fixed windows carsim toggle. 2020-12-10 20:38:33 +01:00
Axel b0fc79a3a6 Updated CarSim API 2020-12-10 20:38:33 +01:00
Axel 3fff811bb8 Fixed missing includes 2020-12-10 20:38:33 +01:00
Axel b068dd81d5 Added to enable optional compilation of CarSim plugin. 2020-12-10 20:38:33 +01:00
Axel 009663e57d Added workarround to enable custom Carsim simfile. 2020-12-10 20:38:33 +01:00
Axel 952bdfcfce Reset velocity to zero on collision to improve stability. 2020-12-10 20:38:33 +01:00
Axel 0c6ce6ecce Added colision detection for carsim. 2020-12-10 20:38:33 +01:00
Axel af6b98e2f8 Fixed physics simulation when carsim is enabled. 2020-12-10 20:38:33 +01:00
Axel 46e4cc7d59 CarSim now does not get license by default, only when enabled. 2020-12-10 20:38:33 +01:00
Axel 802f941fae Added function to set custom carsim simfile. Added option to use ue4 carsim road definition or unreal callback method. 2020-12-10 20:38:33 +01:00
Axel 7739b5eb94 Added first CarSim integration to vehicle class. 2020-12-10 20:38:33 +01:00