Commit Graph

439 Commits

Author SHA1 Message Date
bernatx 028df0c24d changelog 2022-11-29 11:25:26 +01:00
Marcel Pi a152863b11
Merge GBuffer features. (#5960)
* Add Misc/GBuffer

* Add EnqueueRenderSceneImmediateWithGBuffer.

* Modified ASceneCaptureSensor to allow gbuffer recording.

* Minor GBuffer progress.

* More GBuffer changes.

* Removed unnecessary files.

* Add FRHITexture* functions to FPixelReader + temporarily disabled non-gbuffer rendering in ASceneCaptureSensor.

* Add missing FPixelReader functions.

* Minor changes (Switching to Windows).

* Remove FRHITexture functions from FPixelReader, added the file ImageUtil.

* Remove FRHITexture functions from FPixelReader, added the file ImageUtil. (2)

* Added API to listen GBuffer data.

* Added gbuffer serializer classes

* Temporarily remove ViewRect hack.

* Add USceneCaptureComponent* derived classes.

* Disable USceneCaptureComponent*_CARLA and add initial FRHIGPUTextureReadBack-based code.

* Fix and re-enable custom SceneCaptureComponents.

* Fully switch to FRHIGPUTextureReadback.

* Remove unnecessary call to FlushRenderingCommands.

* Minor API changes.

* Add support for PF_DepthStencil in ImageUtil.

* More API progress...

* More API progress... (2)

* Removed testing code.

* Minor changes for testing.

* GBuffer API fixes.

* Improve GBuffer capture code.

* Fixed SceneDepth transfer issues and added SceneStencil, CustomDepth and CustomStencil to the GBuffer capture.

* Fix compilation error due to the usage of C++17 features.

* Removed major memory leak and added manual_control_gbuffer.py.

* Fixed a silly mistake.

* Minor changes to manual_control_gbuffer and SceneCaptureSensor.

* Fix compilation error on some versions of Ubuntu.

* Disable TAA when reading GBuffers to avoid jitter.

* Improve memory usage.

* Progress towards automatically detecting when a GBuffer stream is unused.

* Fix includes in SceneCaptureSensor + minor change in manual_control_gbuffer.py

* Progress on automatically detecting which GBuffers aren't needed.

* Remove unneeded __declspec.

* Revert ASensor changes + fix tutorial_gbuffer.py

* Update CHANGELOG.md

* Apply requested changes for the PR, add gitignore for the file OptionalModules.ini and add a GBufferTextureID enum to the Python API.

* Remove OptionalModules.ini.

* Fix indentation.

* Fix indentation (2).

* Fix indentation (3).

* Add documentation and more indentation fixes.

* Remove commented includes.

* Add missing line break.

* Fix memory leak + remove unneeded files.

* Add .uproject again, fix EngineAssociation.

* Remove unneeded ENQUEUE_RENDER_COMMAND.

* Fix manual_control_gbuffer.py.

* Add `stop_gbuffer` to the Python API.

* Minor fixes.

* Fix performance bug.

Previously, when a client requested a gbuffer that is unused it would stay open, even after stopping it explicitly. This commit fixes this issue.

* Fix indentation.

* Add missing braces, more indentation fixes and simplify some of the code.

* Update sensor.yml docs.

* Update docs.

* Remove unnecessary UE_Log + changed one verbosity level.

Co-authored-by: Axel <axellopez92@outlook.com>
Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
2022-11-29 11:24:26 +01:00
bernatx edbdb1306e changeslog 2022-11-23 16:51:41 +01:00
Bernd Gassmann 6c4d676569 Prevent from segfault OnTriggerEndOverlap
In case the OtherActor is not a Vehicle just return
2022-10-17 16:21:58 +02:00
Guillermo dec92e690c Fixed collision detection 2022-10-11 16:03:32 +02:00
bernatx 67d7da7e88 changelog 2022-09-28 13:54:04 +02:00
bernatx db1637a924 changelog 2022-09-16 09:40:49 +02:00
Joel Moriana 71fa77d648 CHANGELOG updated 2022-08-17 15:32:00 +02:00
Guillermo e33c3400dd CHANGELOG 2022-08-16 12:20:42 +02:00
bernatx f97575b1f3 changeslog 2022-07-25 15:26:55 +02:00
bernatx 5348c0e5b0 changelog 2022-07-22 16:14:44 +02:00
Joel Moriana 17585f4acc CHANGELOG updated 2022-07-22 09:29:08 +02:00
bernatx feb5a572e2 changelog 2022-07-21 13:24:02 +02:00
Guillermo 24e07a31f2 CHANGELOG 2022-07-12 15:49:03 +02:00
glopezdiest bf2815ec58
Improved Python agent performance (#5555)
* Improved agent performance

* CHANGELOG
2022-07-01 18:30:56 +02:00
Guillermo 10160da614 Fixed waypoint bug + new speed limits 2022-07-01 10:53:48 +02:00
glopezdiest 90c624bc8c
Updated the information that traffic lights sent to vehicles 2022-06-01 15:11:29 +02:00
Guillermo b3ea8d0acc Added large map transform 2022-05-26 15:59:28 +02:00
Guillermo e56470659a Fixed raytracing functions 2022-05-24 08:41:38 +02:00
Guillermo 6aa6b137e1 CHANGELOG 2022-05-17 08:43:08 +02:00
glopezdiest a649c67d7e
Added failure states for vehicles (#5410)
* Added failure states for vehicles

* Added missing endline
2022-05-16 21:55:19 +02:00
Guillermo 392cfaec38 CHANGELOG 2022-05-13 09:00:46 +02:00
glopezdiest c11dfddcab
Fixed bug at TM when teleporting vehicles with no physics 2022-05-09 10:10:37 +02:00
Joel Moriana dc077dab28 Updated CHANGELOG 2022-05-05 17:40:56 +02:00
Guillermo 49223437b2 Added the instances 2022-05-04 09:52:43 +02:00
Marcel Pi 139041fd7f
Improvements to the dust_storm weather parameter. (#5388)
* Switched DustStorm parameter from bool to float.

* Automatically detect clang version.

* Revert "Automatically detect clang version."

This reverts commit 4ac1c95c26.

* Update environment.py weather presets.

* Expose dust_storm console command in environment.py + documentation.

* Fix minor DustStorm preset error.

* Update CHANGELOG.md
2022-04-27 12:52:25 +02:00
Marcel Pi 03c008a841 Update CHANGELOG.md 2022-04-26 16:17:00 +02:00
Guillermo 46d50df7c5 Fix topology with ending lanes 2022-04-26 09:38:56 +02:00
glopezdiest 5003e58d7c
New ConstantVelocityAgent and TM parameter (#5290) 2022-04-20 14:44:27 +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
Marcel Pi bbf068bb60 Update CHANGELOG.md 2022-04-05 11:52:16 +02:00
anrp 8ea7afce51 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-31 13:04:26 +02:00
Marcel Pi 3b45bfd165 Added new sensor with camera normals 2022-02-18 11:42:32 +01:00
Joel Moriana d134c45d2b CHANGELOG updated 2022-02-08 20:15:57 +01:00
Joel Moriana 8b6c34e751 CHANGELOG updated 2022-02-08 20:15:57 +01:00
Jacopo Bartiromo eda0a1e575 Changelog and minor changes 2022-02-03 20:29:49 +01:00
Guillermo 9b729b3ced CHANGELOG 2022-01-11 11:37:27 +01:00
bernatx 613b4e5075 changing to version 0.9.13 2021-11-10 15:11:46 +01:00
bernatx c0a9174775 changelog 2021-11-09 10:36:08 +01:00
Axel b2b27175c4 Added documentation 2021-11-09 00:01:30 +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
bernatx 328cfca118 Adding seed for better pedestrians reproducibility 2021-11-05 18:49:11 +01:00
bernatx e48d658699 changelog 2021-11-05 18:48:33 +01:00
berndgassmann 6fc187f4b3
RssSensor fixes (#4604)
* RssSensor fixes

RssSensor:
- make client side calculations threaded to ensure it is not
incrementally delaying the whole client
- support multiple instances of RssSensor
- initialize _last_processed_frame properly

RssRestrictor:
- enable python set_log_level

General:
- Update to RSS v4.4.2 and map v2.4.5_hotfix supporting elevation
- manual_control_rss: enalbe dynamics log level switching

* Update to ad-rss-lib 4.4.3

* really go to ad-rss-lib 4.4.3
2021-11-05 18:12:49 +01:00
bernatx a1ecf54f96 changeslog 2021-11-05 16:29:36 +01:00
Guillermo 030b36eed7 Fixed collision detection for behavior agent 2021-11-05 15:40:28 +01:00
Jacopo Bartiromo 5f07128176
New Traffic Manager features for 0.9.13 (#4786)
* Changes in constant values
Added new constants

* Added Ambulance and Firetruck as unsafe vehicles in spawn_npc.py

* WIP: Rerouting algorithm

* Removing rerouting algorithm.
Fixed collisions at high speed.

* Changes to constant values and cleaning up.

* Users can now set their own path by giving a list of locations.
Implementation of RoadOption for SimpleWaypoints
Implementation of GetNextAction and GetActionBuffer for TM actions
Parameters for setting the path import and starting the import process.
Other minor changes

* Users now only need to use one parameter to import path

* added road option to the cache map

* Introduced RoadOption in InMemoryMap for each swp
Introduced getter in PythonAPI for high level path
Introduced getter in PythonAPI for next high level action
Introduced parameters for random lane changes
Fixed keep right parameter

* Introduced parameter SetImportedRoute to set a RoadOption path for TM controlled vehicles.
Method in Localization Stage to compute a path using RoadOptions.

* CHANGELOG.

* Changing names of methods
Cleanup

* Small changes to Collision Stage
Cleanup of SetRoadOption
Added debug_helper in Loc Stage (to be removed)

* Changes to get_next_action and get_all_actions
Fixed lane changes representation in those methods
Now get_next_action and get_all_actions need the Actor in Python

* Remove debug_helper
Set MAX_BRAKE to 0.7

* Constant values in Loc stage

* Code fixes

* Small changes in collision stage
Adding constants for VLStage
Changes in VLStage

* Choose randomly a right or left lane change if forcing both.

* Reviewable changes
Changes name of variables in Loc stage
Removed unnecessary import

* Minor final changes

* Change of method name in generate_traffic

* Change in Latest ContentVersion.txt

Co-authored-by: Joel Moriana <joel.moriana@gmail.com>
2021-11-03 11:06:14 +01:00
Luca 85da613f51
Vehicle lights state in traffic manager (#4717)
* added vehicle lights stage to the traffic manager under the dev branch

* update CHANGELOG to lastest version and added vehicle lights stage for automatically turn on-off lights

* added vehicle lights stage to the traffic manager under the dev branch

* removed commented code

* cleanups to the code, adding some comments to explain how the trafficmanagerlocal handles the command buffer

* fixing missing reference in ALSM constructor, disabling vehicle light state for dormant vehicles

* bugfix in vehicle_id_list access, added fix to avoid blinking brake lights due to throttle control

* requested changes in the vehicle light stage code

* missing namespace qualifier for constants

* Added explicit method to enable the vehicle lights management by the TM, on a per-vehicle basis. Changed generate_traffic.py to use the new vehicle lights stage instead of just setting a fixed, constant vehicle light status. Docs are updated, accordingly.

Co-authored-by: npunito <npunito>
Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
2021-10-28 16:09:14 +02:00
Axel e28186d3db Updated content versions 2021-10-26 18:43:48 +02:00