Commit Graph

1317 Commits

Author SHA1 Message Date
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
doterop 7a6edc405c Added check on invalid BBs 2020-12-09 23:34:26 +01:00
doterop 30db7e21d4
Added culling control (#3656)
* Added culling configuration to settings

* Updated changelog
2020-12-09 15:22:20 +01:00
doterop 263face290 Changed visibility of root SM 2020-12-04 12:39:34 +01:00
doterop de8b2e4ada Forced building to be static 2020-12-04 12:39:34 +01:00
doterop 127823b6d0 Added method to hide all child actors 2020-12-04 12:39:34 +01:00
Axel f229b0c899 Added base class for walker. Disabled setting walker state when walker is dead. 2020-12-03 12:24:24 +01:00
Axel cba230bc0d Added toggle to select deterministic/physically based ragdoll animation. 2020-12-03 12:24:24 +01:00
Daniel Santos-Olivan 4d635d5c92 Disable Wheel Sweep for bikes 2020-12-03 12:24:24 +01:00
Daniel Santos-Olivan 560dc5a56d Logic for changing the wheel collision in CarlaWheeledVehicle 2020-12-03 12:24:24 +01:00
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
Marc Garcia Puig 93a3ed4cd9 Minimal debug fix 2020-07-31 15:16:06 +02:00
Marc Garcia Puig e9a0f2968d Fixed enum values 2020-07-31 15:16:06 +02:00
Marc Garcia Puig 3d3e82f8ad Added Sky, Ground and Bridge 2020-07-31 15:16:06 +02:00
Daniel Santos-Olivan a131e16ddb Minor formatting corrections 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 96d0ae27e6 Refactor SemanticLidar in LibCarla and PythonAPI 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan e0430e66a1 Refactor SemanticLidar in server side. 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan d7b1e4a315 RayCastRawLidar: Added optimization in the tag getter 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan c8ee455b05 Small optimization 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 64183b025a Change of type to avoid windows error 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 29508fefa4 Remove dropoff/noise/intensity related parameters from RawLidar 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan b5a297fea2 Added postprocess method for noise and intensity dropoff 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan f5e68a275b Removed unused comments 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan d1889fed85 Remove arguments from Preprocess to allow for optimization 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 20df95d202 Removed spaces 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan afd43914e9 RayCastLidar: Optimizing the normal lidar. 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 247c3731b7 Correct tag the LiDAR. 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 0d1257b271 Removed old logs 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 5eb2f6dc18 Tagger: Added some functions to the class to be used anywhere 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 92892ec8e9 Rewrite of RayCastLidar to inherit from RayCastRawLidar
to reuse code
2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 12cf111a45 Rewrite the RayCastRawLidar to store all info
- We needed to change completly the way we store and compute
  the data because for some reason we could access the actor
  information from the computation threads so we store all
  the FHitResult in the Sensor and then we compute the Detection
  information when we store in the LidarRawData structure.
2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 3c5f051f93 Changed data structures to data folder 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 3e1f17741c LidarRawData now inherits from LidarData to avoid repetion of code 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 08e97be923 Rename LidarData and prepare it for merge it with LidarRawData 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 1ac43909aa Updated RayCastRawLidar with new data classes 2020-07-30 15:16:42 +02:00
Daniel Santos-Oliván f26ae8f8ac RayCastRawLidar: First version, still in a very early stage. 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f55be134d1 Changed exposure_compensation 2020-07-29 16:09:18 +02:00
Marc Garcia Puig 583b6e9fbb Added docs 2020-07-29 16:09:18 +02:00
Marc Garcia Puig b505660b63 Exposed camera bloom and lens flare effect 2020-07-29 16:09:18 +02:00
Marc Garcia Puig db3c6472a5 Changed more camera parameters to match the new ilumination 2020-07-29 16:09:18 +02:00
Marc Garcia Puig 09a193564b Fixed ilumination camera values 2020-07-29 16:09:18 +02:00
Axel1092 215ceff451 Added stops in the ground from roadrunner. 2020-07-28 09:28:17 +02:00
Axel1092 6d4e92bc6d Small fix to traffic light spawn. 2020-07-28 09:28:17 +02:00
Axel1092 cbd12ac056 Added detection of 'Speed_' object record from roadrunner to interpret it as a speed signal. 2020-07-28 09:28:17 +02:00
Axel1092 5428354e5c Added automatic match of traffic lights and signals with existing actors. 2020-07-28 09:28:17 +02:00
Marc Garcia Puig c18ccca7f3 Fix for sem seg untaged objects spawned frm client 2020-07-23 16:12:08 +02:00
Axel1092 b1be4afef2 Fix for transparency see-through 2020-07-22 20:13:34 +02:00
Axel1092 a44c38168a Query formatting fixes. 2020-07-20 15:10:34 +02:00
Axel1092 be4bf24ed8 Fixed query format. 2020-07-20 15:10:34 +02:00
Axel1092 68ede3c5d3 Fix windows compilation issue 2020-07-20 15:10:34 +02:00
Axel1092 98b6b2e610 Compilation fix 2020-07-20 15:10:34 +02:00
Axel1092 bb553e1073 Updated docs. removed coma separations. 2020-07-20 15:10:34 +02:00
Axel1092 28fea86a19 Prevent event from being written to the recorder when there are none. 2020-07-20 15:10:34 +02:00
Axel1092 aec7251955 Added Trigger volumes to recorder. Infor formatting changes. 2020-07-20 15:10:34 +02:00
Axel1092 eb63a2aae8 Added traffic light time events. 2020-07-20 15:10:34 +02:00
Axel1092 b1a475d2b4 Added physics control to recorder info. 2020-07-20 15:10:34 +02:00
Timothy Scott 0b781d5fd5
Added noise to Lidar sensor (#3001)
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-07-17 12:33:50 +02:00
Marc Garcia Puig a73b1e4209 Fixed Import pipeline 2020-07-16 10:13:42 +02:00
Axel1092 f324c73b10 Review changes. 2020-07-10 11:36:31 +02:00
Axel1092 2d26512209 Added new frozen behavior. 2020-07-10 11:36:31 +02:00
Axel1092 4f1851be3f Fixed error that caused traffic light actors to be missing in client side. 2020-07-10 11:36:31 +02:00
Axel1092 4d46387eb8 Added automatic signal match with OpenDRIVE. 2020-07-10 11:36:31 +02:00
Axel1092 07d016d318 Added reset group function to API. 2020-07-10 11:36:31 +02:00
Axel1092 5ccaa39d60 Small fix to elapse time function. 2020-07-10 11:36:31 +02:00
Axel1092 780f0fe460 Moved recorder to posttick. 2020-07-10 11:36:31 +02:00
Axel1092 e8a4630610 Updating old traffic lights to use the traffic light component. 2020-07-10 11:36:31 +02:00
Axel1092 6f41587170 Added check to prevent traffic light from updating during replay. 2020-07-10 11:36:31 +02:00
Axel1092 3ef383157d Fixed recorder for traffic lights in standalone mode. 2020-07-10 11:36:31 +02:00
Daniel Santos-Olivan 1d9bb78a8d Format changes to answer review 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan c2cf1e9c95 Removed forgotten commented code 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan d18ba38144 Added custom drop off of lidar points from the API 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan ba230da58f Small update in the drop off random values. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 6f6cf65dd2 Bugfixed, using distance in meters to be
coherent
2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 3902c256da Added some noise to the LiDAR output, needs to
be tested
2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan cea1981b5c Bugfix: the lidar points are now output in the
sensor's coordinate system.
2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan da2e29f5ef Lidar Intensity: Added intensity to lidar's output
For now, only takes into account the intensity loss
due to the the atmosphere atenuation.
2020-07-08 11:44:23 +02:00
doterop 355571e89f Added renderdoc plugin to unreal project 2020-07-07 16:53:00 +02:00
Axel1092 6ea32e4e98 Fixed QueryInfo parsing error. 2020-07-02 21:40:30 +02:00
Timothy Scott bdc5edd2e6 Fixed gyro to report angular velocity in local sensor frame 2020-07-02 12:22:51 +02:00
Daniel Santos-Olivan 6d65a60d23 Bugfix: the lidar points are now output in the
sensor's coordinate system.
2020-07-02 12:22:12 +02:00
Axel1092 693d0112f7 Review changes 2020-07-02 11:53:36 +02:00
Axel1092 f39bc70242 Added velocity, acceleration and platform time to recorder. 2020-07-02 11:53:36 +02:00