Commit Graph

1036 Commits

Author SHA1 Message Date
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