Commit Graph

1188 Commits

Author SHA1 Message Date
Daniel Santos-Olivan 3835de9b0d Added sweep wheel option to VehiclePhysicsControl 2020-12-03 12:24:24 +01:00
Daniel Santos-Olivan d87a5f213e Minor formatting change 2020-11-24 15:14:17 +01:00
Tobias Völkel 3d50aa01c4 Remove obsolete modulo operation 2020-11-24 15:14:17 +01:00
Tobias Völkel 7d0a46d45d Add horizontal fov property to lidar description 2020-11-24 15:14:17 +01:00
doterop 6b27c8226f Fixed bug on BB to Comp conversion 2020-11-24 10:30:35 +01:00
doterop 7e42db5ab2 Fixed BP_Sky name overlap issue 2020-11-24 10:30:35 +01:00
doterop 1d482fa9cf Fixed SKM BB default tag filter 2020-11-24 10:30:35 +01:00
doterop 5574e8fa62 Fixed ISM transform 2020-11-24 10:30:35 +01:00
doterop c98eb974c6 Added Any as a filter option instead of None 2020-11-24 10:30:35 +01:00
doterop 32851266ff Fixed ISM id collision 2020-11-24 10:30:35 +01:00
doterop a95d3d74a8 Added filter by type 2020-11-24 10:30:35 +01:00
doterop b58f86382d Reduced distance of moved instanced of ISM and forced a move on a variable 2020-11-24 10:30:35 +01:00
codeffee 03b354d291 Fixed save path 2020-11-24 10:30:35 +01:00
doterop 00f5740c89 Fixed id overlap 2020-11-24 10:30:35 +01:00
doterop 69c6b0a90e Added IdStr for debug 2020-11-24 10:30:35 +01:00
doterop 70dd76ba90 Removed logs 2020-11-24 10:30:35 +01:00
doterop f66a6159a6 Added callback to async level load 2020-11-24 10:30:35 +01:00
doterop db8f0eff16 Fixed incorrect check and removed some logs 2020-11-24 10:30:35 +01:00
doterop efdd33cf27 Updated ObjectRegister with ISM control 2020-11-24 10:30:35 +01:00
doterop e83fd71040 Added check to register objects 2020-11-24 10:30:35 +01:00
doterop 6392c0bf00 Added methods to get the mesh components 2020-11-24 10:30:35 +01:00
doterop 41c437b12a Created ObjectRegister to control the level object handling 2020-11-24 10:30:35 +01:00
doterop ab16a64ffb Added type to EnvironmentObject 2020-11-24 10:30:35 +01:00
doterop 4c7b7cbd71 BB is now in local space 2020-11-20 15:03:03 +01:00
doterop 5474c72876 Added BB calculation to all actors 2020-11-20 15:03:03 +01:00
Daniel Santos-Oliván 8f569e7cd2 Fix build in windows 2020-11-11 11:17:52 +01:00
Marc Garcia Puig 13370fdeca Added noise_seed in Lidar and Radar sensors 2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan 1b12813071 Removed trailing white spaces 2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan ea194c462e Fix for preprocessing condition in SemanticLidar 2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan d3935f6824 Minor spelling change 2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan 9e7a132af2 Making the result of radar deterministic 2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan fcac0e5528 Fix determinisim of the lidar's point cloud
The general dropoff are precomputed so the random number generator
is queried always in the correct order.
2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan a5ea491e4b Added enhanced physics and change default substepping options 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan 301eb9032e Changed default substepping parameters 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan bbd3f4df4f Added substepping options in world options
Now, we can modify the substepping in the client.
TODO: Remove Logs
2020-11-05 14:25:04 +01:00
doterop 4f1e1b225f Changed to a better name 2020-11-02 17:53:54 +01:00
doterop a0a2c83f13 Updated TL and TS to be spawned on sublevels 2020-11-02 17:53:54 +01:00
doterop 8f1b401e49
Adding load control on sublevels (#3515)
* Added MapLayer enum

* Added Load/Unload layer functions

* Added calls to register and tag objects on map change

* Added missing file

* Updated MapLayer to support more layers

* Added calls to PythonAPI

* Added default value

* Moved CurrentMapLayer to GI

* Updated manual_control with maplayer handling

* Updated help

* Updated Changelog

* Fixed a missing `;`

* Fixed LoadWorld() API so it works with old code

* Added missing include for shipping builds

* Fixed base enum type of MapLayer

* Removed int number from layer output

* Renamed variables

* MapLayer converted to int32 and added generic enumToString function

* MapLayer back to uint16

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-11-02 11:22:49 +01:00
Axel 7a14a53107 Added missing break 2020-10-30 21:58:55 +01:00
Axel 34d857fea1 Added prop position to recorder. 2020-10-30 21:58:55 +01:00
doterop 4abdd5394f
Character in 2Wheeled BB (#3471)
* Vehicle BB calculation has been updated to include character in 2 wheeled vehicles.

* Updated CHANGELOG.md
2020-10-29 15:20:18 +01:00
Marc Garcia Puig a53c697f69 Sync IMU transforms 2020-10-27 17:22:02 +01:00
Marc Garcia Puig d8b36e652a Fixed camera callback transform 2020-10-27 17:22:02 +01:00
Daniel Santos-Olivan 5e420b0fa8 Filter sublevels and BaseMap in GetAvailableMaps 2020-10-27 12:30:28 +01:00
Axel1092 003e74fc91
Raycasting (#3483)
* Added raycasting and point projection capabilities to python api.

* Added documentation of new functions.

* Fixed missing .f on floats

Co-authored-by: doterop <daniel.oterop@gmail.com>
2020-10-26 11:13:35 +01:00
doterop 81a90f3886 Added missing file 2020-10-19 21:31:45 +02:00
doterop dbe7c2a89f Fixed tick activation 2020-10-19 21:31:45 +02:00
doterop 2fbfda2f24 Renamed and added enable/disable call 2020-10-19 21:31:45 +02:00
doterop ce31f3a1b6 Added GetBBsOfActor 2020-10-19 21:31:45 +02:00
doterop df6e6eef65 Renamed object to mesh 2020-10-19 21:31:45 +02:00
doterop 04da915ab2 Objects are registered at the beginning of the level. 2020-10-19 21:31:45 +02:00
doterop ccee43bffa Added GetObjects call to server-side 2020-10-19 21:31:45 +02:00
bernat 4550573b5e Let skip messages in async, and block on sync mode 2020-10-07 10:56:04 +02:00
doterop 7e736696e3 Fixed sensor_tick on cameras 2020-10-07 03:05:18 +02:00
Daniel Santos-Olivan 22c3e9cf55 Minor reformatting 2020-10-06 14:57:55 +02:00
Daniel Santos-Olivan 509ed941dd Fix SemLidar (correction of the last commit) 2020-10-06 14:57:55 +02:00
Daniel Santos-Olivan 49e5ef05a7 RayCastSemanticLidar: Fix id problem
We were getting the id from ActorInfo and this one
it is not the same as the client's actor id.
Now, we take it from FActorView and it is the correct one.
2020-10-06 14:57:55 +02:00
Daniel Santos-Olivan 7bd1d6e920 SetEnableGravity fixed for pedestrians
Also removed some debug prints
2020-09-30 19:38:54 +02:00
Daniel Santos-Olivan 95abf25a10 Added EnableGravity and better SetSimulatePhysics 2020-09-30 19:38:54 +02:00
doterop 83d752ef94 Moved SendPixels to OnWorldPostActorTick. 2020-09-30 17:36:41 +02:00
doterop 7a522e1fc9 Fixed shadow variable warning. 2020-09-30 17:36:41 +02:00
Daniel Santos-Olivan 8bd3df5bf3 Reinforce collisions in SetSimulatePhysics(true) 2020-09-30 17:14:58 +02:00
doterop 0c6d27e8b7 Camera delegate moved to OnEndFrame (game thread) 2020-09-29 18:03:31 +02:00
Daniel Santos-Olivan 63b3071c9a Fix SetSimulatePhysics for pedestrians 2020-09-29 17:43:36 +02:00
Axel1092 dfa4bb6e15 Upgraded to DX12 2020-09-29 10:15:01 +02:00
doterop e05b58c2a4
Retrieve BBs of level (#3360)
* Added new function to calculate BBs on SKM and SM

* Added BB calculation for an array of actors

* Added BB folliage calculation

* Added a call on the GM to get all the BBs of the level

* Fixed Folliage BB calculation.

* GM::GetAllBBsOfLevel now returns the array of BBs

* Added call on the server side to retrieve the BBs

* Removed debug draw calls

* Added call to the PythonAPI

* Added check for empty folliage actors

* Added missing EOF

* Added new RotateVector function

* Added rotation to the BBs

* Update changelog

* Split BB calculation on more functions

* Add tag query and simplified Folliage actor BB calculation

* Look for ISM instead of HISM

* Cleaning comments

* Fixed BB duplication on BP_Procedural_Buildings

* Fixed BB duplication on vehicles BPs

* Added pedestrians case

* Added CityObjectLabel enum on PythonAPI

* Splitted logic in small functions

* Fixed uint8_t

* Merged BB of the lights in a TL

* Splitted work into more functions

* Added missing BB and rotation to TL

* Cleaned comments

* Added missing include

* Changed None to Any in PythonAPI

* Fixed Any enum

* Added check for empty folliage actors

* Added missing EOF

* Added new RotateVector function

* Added rotation to the BBs

* Update changelog

* Split BB calculation on more functions

* Add tag query and simplified Folliage actor BB calculation

* Look for ISM instead of HISM

* Cleaning comments

* Fixed BB duplication on BP_Procedural_Buildings

* Fixed BB duplication on vehicles BPs

* Added pedestrians case

* Added CityObjectLabel enum on PythonAPI

* Splitted logic in small functions

* Fixed uint8_t

* Merged BB of the lights in a TL

* Splitted work into more functions

* Added missing BB and rotation to TL

* Cleaned comments

* Changed None to Any in PythonAPI

* Fixed Any enum

* Fixed rebase

* Fixing wrong BB on splines

* Fixed ISM transform to World

* Fixed duplication of RotateVector

* Added Rotation to BB output string

* Removed hidden components and procedural building

* Fixed string BB output

* Removed logs

* Fixed filter on pedestrians

* Fixed black debug lines in package

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-09-24 23:33:11 +02:00
doterop 161923c1dd Cleaned some unneeded code 2020-09-24 11:04:45 +02:00
doterop bb56f3f1ce Updated BP to code 2020-09-24 11:04:45 +02:00
doterop b5050e0a79 Added Wall support 2020-09-24 11:04:45 +02:00
doterop 68e0097787 Added roof 2020-09-24 11:04:45 +02:00
doterop 24975b908c Fixed corner visibility and editor updates 2020-09-24 11:04:45 +02:00
doterop 6841350a28 Fixing BP child actor creation 2020-09-24 11:04:45 +02:00
doterop eb11522d18 Fixed trasnform update 2020-09-24 11:04:45 +02:00
doterop efcb0068e3 Continuation of the port 2020-09-24 11:04:45 +02:00
doterop 0bbeeddf6a First steps on ProceduralBuiding port to C++ 2020-09-24 11:04:45 +02:00
Daniel Santos-Olivan b0090775a1 Fix format tabs/newlines 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan a22bdc51cc Added commands for AddTorque and AddForce 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 72d8fcb08e Add Warning in the internal use of impulse/force at location 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 30ba2b3323 Exposed AddForce and AddTorque 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 1144e69113 Fix disable_constant_velocity binding 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 4447661d66 First version of the Constant velocity mode
This mode can be enabled in the API and it will keep
a velocity constant.
For now, it needs to be disable automatically but this
can be improved in the future.
2020-09-23 20:40:44 +02:00
Axel e82a6d352c Removed debug warning. 2020-09-23 17:25:25 +02:00
Marc Garcia Puig 1ef830d173 Added DefaultScalability.ini so UE4 doesn't disable EyeAdaptionQuality on Low Quality 2020-09-23 10:26:20 +02:00
Marc Garcia Puig 625d032f23 Fixed debug lines with current illumination 2020-09-22 17:54:43 +02:00
Jacopo Bartiromo 0c83622153
Support Off state for traffic lights in Traffic Manager (#3332)
* Support off state for traffic lights in Traffic Manager

* Removed off state workarround.

Co-authored-by: Axel <axellopez92@outlook.com>
2020-09-22 15:41:10 +02:00
Jacopo Bartiromo 7360436c9d
Determinism for Traffic Manager (#3333)
* Check for determinism

* Per-vehicle random device

* Parameterised random device seed.

* Changing next waypoint selection logic
to use bucketing random device sample.

Arranging next waypoint selections right to left.

* Change to numpy's random lib

* Sorting blueprints to ensure determinism

* New method for determinism

* ResetAllTrafficLight now works in sync mode.

* Moving recorder stuff to engine module

* Fixed recorder for traffic lights in standalone mode.

* Added check to prevent traffic light from updating during replay.

* Updating old traffic lights to use the traffic light component.

* Moved recorder to posttick.

* Small fix to elapse time function.

* Added reset group function to API.

* Merge with traffic_manager/determinism_check

* Changes in TL reset
Option to save to file for recorder script

* Added automatic signal match with OpenDRIVE.

* Fixed error that caused traffic light actors to be missing in client side.

* Added new frozen behavior.

* Updated documentation and changelog

* Updated ContentVersions.txt

* Review changes.

* fixes merge error

* fixes merge

* Update build_windows.md

Added info about command execution that toke me many time to find out

* Update build_windows.md

Updated as requested in pull request review

* Running Carla when choosing a) deb Carla install

This fixes a minor error in the documentation regarding running carla, if the deb installation was choosen.

* Fix for traffic manager freezing upon map change

* attempt to change sys clock to sim clock

* Remove manual unlock of mutex

* fixing merge error

* Changelog and review fixes

Co-authored-by: Praveen Kumar <pravinblaze@hotmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Axel1092 <axellopez92@outlook.com>
Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
Co-authored-by: Néstor Sabater <web.nsabater@gmail.com>
Co-authored-by: ll7 <32880741+ll7@users.noreply.github.com>
2020-09-22 15:20:52 +02:00
Axel a75fc59eb0 Added reset all traffic lights function. 2020-09-22 15:04:28 +02:00
Daniel Santos-Olivan 9f5758577d SetVelocity -> SetTargetVelocity
Change the commands set_velocity to set_target_velocity
for both linear and angular velocities.
2020-09-22 12:00:22 +02:00
doterop cc7b1ea910
Retrieve BBs of all the elements of the level (#3301)
* Added new function to calculate BBs on SKM and SM

* Added BB calculation for an array of actors

* Added BB folliage calculation

* Added a call on the GM to get all the BBs of the level

* Fixed Folliage BB calculation.

* GM::GetAllBBsOfLevel now returns the array of BBs

* Added call on the server side to retrieve the BBs

* Removed debug draw calls

* Added call to the PythonAPI

* Added check for empty folliage actors

* Added missing EOF

* Added new RotateVector function

* Added rotation to the BBs

* Update changelog

* Split BB calculation on more functions

* Add tag query and simplified Folliage actor BB calculation

* Look for ISM instead of HISM

* Cleaning comments

* Fixed BB duplication on BP_Procedural_Buildings

* Fixed BB duplication on vehicles BPs

* Added pedestrians case

* Added CityObjectLabel enum on PythonAPI

* Splitted logic in small functions

* Fixed uint8_t

* Merged BB of the lights in a TL

* Splitted work into more functions

* Added missing BB and rotation to TL

* Cleaned comments

* Added missing include

* Changed None to Any in PythonAPI

* Fixed Any enum

* Added check for empty folliage actors

* Added missing EOF

* Added new RotateVector function

* Added rotation to the BBs

* Update changelog

* Split BB calculation on more functions

* Add tag query and simplified Folliage actor BB calculation

* Look for ISM instead of HISM

* Cleaning comments

* Fixed BB duplication on BP_Procedural_Buildings

* Fixed BB duplication on vehicles BPs

* Added pedestrians case

* Added CityObjectLabel enum on PythonAPI

* Splitted logic in small functions

* Fixed uint8_t

* Merged BB of the lights in a TL

* Splitted work into more functions

* Added missing BB and rotation to TL

* Cleaned comments

* Changed None to Any in PythonAPI

* Fixed Any enum

* Fixed rebase
2020-09-21 18:22:03 +02:00
Axel1092 9586cd24d5
Existing actors in replayer are positioned to the initial position. (#3328) 2020-09-21 14:42:18 +02:00
Marc Garcia Puig 33f39e30ee Changed Color Contrast from1.5 to 1.2 2020-09-18 17:24:56 +02:00
Marc Garcia Puig 78c7564835 Updated ExposureCompensation 2020-09-18 17:24:56 +02:00
Marc Garcia Puig 943b04a580 Updated EV100 values 2020-09-18 17:24:56 +02:00
Marc Garcia Puig 16ae46e47d Fixed ISO to 100 2020-09-18 17:24:56 +02:00
Marc Garcia Puig 19af3a40c7 Default camera mode is now histogram 2020-09-18 17:24:56 +02:00
Marc Garcia Puig 788f9e33f7 Fixed histogram exposure mode 2020-09-18 17:24:56 +02:00
Axel def0b38a9a Removed comments. 2020-09-17 18:35:30 +02:00
Axel 7bbb7f9c54 Fixed ugly z-fighting issue with OSM maps. Added AProceduralMeshActor for easier actor inspection in the editor. 2020-09-17 18:35:30 +02:00
doterop fd0e3f00a7 Cleaned atlas code and rolled back to OnEndFrameRT SendPixels 2020-09-17 15:46:32 +02:00
Axel ec7b3b63fd Added off state to traffic lights. 2020-09-16 17:13:58 +02:00
Axel 7b914bd13a Updated comments. 2020-09-16 16:32:45 +02:00
Axel 2a2b7d9bc8 Added static mesh factory. 2020-09-16 16:32:45 +02:00
doterop b753498ecb Removed debug draw calls 2020-09-10 15:48:22 +02:00
doterop 33700bd6e3 Added call on the server side to retrieve the BBs 2020-09-10 15:48:22 +02:00
doterop 1855d34c56 GM::GetAllBBsOfLevel now returns the array of BBs 2020-09-10 15:48:22 +02:00
doterop af0d92676d Fixed Folliage BB calculation. 2020-09-10 15:48:22 +02:00
doterop abcc0f30d7 Added a call on the GM to get all the BBs of the level 2020-09-10 15:48:22 +02:00
doterop 3b6a6bbb24 Added BB folliage calculation 2020-09-10 15:48:22 +02:00
doterop be1299f5c5 Added BB calculation for an array of actors 2020-09-10 15:48:22 +02:00
doterop 2ca15c3bc5 Added new function to calculate BBs on SKM and SM 2020-09-10 15:48:22 +02:00
doterop f287a1e7c0
Automatic calculation of vehicle's BB (#3267)
* Added BB calculation

* Updated changelog

* Removed logs

* Improved BB calculation

* Added BB calculation

* Updated changelog

* Removed logs

* Improved BB calculation

* Updating content version

Co-authored-by: bernat <bernatx@gmail.com>
2020-09-09 14:29:31 +02:00
Marc Garcia Puig b15f0d2d50 Added Terrain sem seg label 2020-09-02 14:44:42 +02:00
Marc Garcia Puig 8a02d7aa7b Fixed Linux detection in exposure compensation 2020-09-02 14:44:42 +02:00
Marc Garcia Puig 44225dabb4 Added and extra s to the Vehicles folder 2020-09-02 14:44:42 +02:00
Marc Garcia Puig 1726e88192 Added fix to OS dependant exposure compensation 2020-09-02 14:44:42 +02:00
Marc Garcia Puig 36ba6216c9 Fixed TrafficLight name 2020-09-02 14:44:42 +02:00
Marc Garcia Puig 3918ce2d6d Fixed name for new paths 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 8cff64fd00 Added new semantic tags 2020-09-02 14:44:42 +02:00
doterop 7bf2b87356 Avoided atlas and added checks to avoid invalid resources 2020-08-28 09:58:55 +02:00
doterop ea6c14b6c5 Fix wrong condition on empty atlas 2020-08-28 09:58:55 +02:00
Axel ba812e75a3 fixed spelling. 2020-08-20 17:22:58 +02:00
Axel cc4f86b8d6 Fixed trigger box generation for traffic signs with road width equal to 0 2020-08-20 17:22:58 +02:00
Elvir Crncevic 49c4286fce Resolve compiler warning for signed indexing 2020-08-17 12:20:02 +02:00
elvircrn 2871475659 Remove unnecessary resource locking by reducing the level of parallelism in the inner loop. 2020-08-17 12:20:02 +02:00
Marc Garcia Puig 7a998a4abd Fixed black debug lines 2020-07-31 23:08:59 +02:00
bernat 9e8f91337b Change to 0.9.10 version 2020-07-31 23:00:20 +02:00
doterop 1cddd05f8e Removed check to force sendStream 2020-07-31 21:55:30 +02:00
doterop dea15ec319 Moved sendstream to GM tick 2020-07-31 21:55:30 +02:00
doterop 158247ddb5 Fixed clean texture and sendPixels now is on the same frame 2020-07-31 21:55:30 +02:00
doterop ac76cbb71a Fixed atlas recreation after sensor deletion 2020-07-31 21:55:30 +02:00
doterop 04b9086add Fixed unsigned mistmatch 2020-07-31 21:55:30 +02:00
doterop 70dc79d18f Cleaned comment 2020-07-31 21:55:30 +02:00
doterop 797db914e1 Removed intermediate copy between atlas and sensor. Cleaned code. 2020-07-31 21:55:30 +02:00
doterop a6fbd3bfe2 Removed fences 2020-07-31 21:55:30 +02:00
doterop ba22c0a583 Removed delegate 2020-07-31 21:55:30 +02:00
doterop d1ae53f049 Fixed CopyTextureFromAtlas 2020-07-31 21:55:30 +02:00
doterop dc9a3fd1aa Enqueue order grouped on the GM 2020-07-31 21:55:30 +02:00
doterop d7cb538b60 Cleaning comment 2020-07-31 21:55:30 +02:00
doterop c4af666678 The atlas Texture is now vertical 2020-07-31 21:55:30 +02:00
doterop a2b6f8abf6 Added fences and separeted each step 2020-07-31 21:55:30 +02:00
doterop 2430559d8c Added check of atalas size texture before created 2020-07-31 21:55:30 +02:00
doterop 67b9d7d0d2 Atlas Working 2020-07-31 21:55:30 +02:00
doterop 477ae9d2c8 First iteration creating an atlas 2020-07-31 21:55:30 +02:00
codeffee d528243112 Changed measure scope. 2020-07-31 21:55:30 +02:00
doterop 77e6ebb7d2 Changed rendermode 2020-07-31 21:55:30 +02:00
doterop ea8ed416d1 Pixels now are preallocated and filled. 2020-07-31 21:55:30 +02:00
doterop f38ac48b39 Scene Capture Sensors are now enqueued to the end of the frame 2020-07-31 21:55:30 +02:00
Marc Garcia Puig 7df66a98ff Fixed light in low quality mode 2020-07-31 20:19:55 +02:00
bernat d23ce106bc Add stop for the replayer 2020-07-31 16:38:41 +02:00