Commit Graph

1601 Commits

Author SHA1 Message Date
bernatx 9ecee5069d Fixing static function on windows 2023-01-30 12:25:19 +01:00
Axel 682851d5d1 Added empty actor. Any actor can now be used as reference actor for large maps 2023-01-30 10:09:46 +01:00
anrp f66fd8e7c7 Use Unreal's host SDK on Linux
The supported compiler is clang, but that is not the default on Ubuntu.
Unreal Editor itself ships clang-10 for use on linux (along with the
libc++ that Unreal itself uses) so just use those in CARLA.
2023-01-27 12:39:48 +01:00
LuisPoveda 00f5fa532c removed tabs in the license 2023-01-23 18:00:19 +01:00
LuisPoveda 01c5051d8e removed trailing whitespaces 2023-01-23 18:00:19 +01:00
LuisPoveda 21178b8696 change all C style casts for the C++ version 2023-01-23 18:00:19 +01:00
LuisPoveda 130a2281ba requested changes 2023-01-23 18:00:19 +01:00
LuisPoveda 2d9301a961 add call for recording wheels in multigpu mode 2023-01-23 18:00:19 +01:00
LuisPoveda 37621c3623 Updated FrameData files to have the new changes 2023-01-23 18:00:19 +01:00
bernatx bae3cff0c6 Adding include for windows 2023-01-23 18:00:19 +01:00
LuisPoveda 5543a26871 Fixed recorder/replayer
- Fixed vehicle wheels rotation and steering angle.
- Fixed bikers animations.
2023-01-23 18:00:19 +01:00
bernatx 60873a2f8b Restore gamma value to 2.2 2023-01-18 11:12:10 +01:00
bernatx 3c37150cd5 Replacing PLATFORM_WINDOWS by _WIN32 2023-01-16 17:30:34 +01:00
bernatx cba2231977 texture data on DirectX has some extra bytes that we need to remove before sending data 2023-01-16 17:30:34 +01:00
Axel 5f233585eb Using spectator when no hero vehicles are detected in large maps. Changed error logs to log and warning for large maps 2023-01-16 17:30:17 +01:00
bernatx ca35b61112 updating version to 0.9.14 2022-12-23 10:57:59 +01:00
bernatx 2c28eafe28 send existing actors to all secondary servers when a new connection is done 2022-12-22 15:51:08 +01:00
Axel 70db124d0e Fixed package bug 2022-12-20 14:54:00 +01:00
bernatx c9552887a0 Some sensors are forced to be always on the primary server in multi-gpu mode 2022-12-20 13:18:19 +01:00
bernatx ef54692f45 Using same id's as the cityscape labels 2022-12-20 13:17:59 +01:00
bernatx e608c8c55f Add command to LOAD_MAP in multi-gpu mode 2022-12-19 10:39:53 +01:00
Marcel Pi 182a48a2f9
Marcel/empty gbuffer fix (#6013)
* Change handling of empty gbuffers.

Now, instead of sending an empty image, a black one with the size of the viewport is sent if the target gbuffer is unavailable.

* Add more GBufferID checks + improve empty gbuffer handling.

* Fix manual_control_gbuffer.py error on repeated listen_to_gbuffer.

* Expose is_listening and is_listening_gbuffer to the PythonAPI.

* Fix data race + autoremove unused gbuffers in manual_control_gbuffer.

* Update PythonAPI docs.

* Remove magic number.

* Switch from error to warning on invalid sensor type when requesting gbuffers.
2022-12-07 18:51:17 +01:00
bernatx b7ce0d12df Splitting line of code 2022-11-29 11:25:26 +01:00
bernatx b848ff25ab Adding Bones and VisualTime to Recorder 2022-11-29 11:25:26 +01:00
Axel d3dc199085 Vegetation fixes 2022-11-29 11:25:03 +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
Axel 4617dc73f3 Fix compilation error. Added rider tag to drivers 2022-11-29 11:23:33 +01:00
xgodina d4c1bfc672 Add new tags for semantic segmentation "Bus" and "Rider" 2022-11-29 11:23:33 +01:00
XGodina 2b6f94c8af Fix PR request2 2022-11-29 11:23:33 +01:00
XGodina fa936653bb Fix PR request 2022-11-29 11:23:33 +01:00
XGodina 39fa6d5190 Fix Semantic Segmentation color of Motorcicle 2022-11-29 11:23:33 +01:00
XGodina 30c2b12bef Fix Tunnel Semantic Segmentation 2022-11-29 11:23:33 +01:00
XGodina 88dbe952ff Add new Tags for Semantic Segmentation 2022-11-29 11:23:33 +01:00
bernatx 114a54d753 Fixing the retrieval of optional attributes 2022-11-25 15:39:38 +01:00
Axel 6625d66e78 Fixed light registration issues 2022-11-23 17:58:19 +01:00
bernatx f4334551a0 Removing one std::move from the same variable 2022-11-23 16:51:59 +01:00
Axel 4d92f93b10 Changed rotation and position offsets for chrono. Disabled overlap events for some meshes 2022-11-22 10:00:05 +01:00
Axel 1e6472ac15 Changed Custom movement component begin play execution order to prevent disable before initialization 2022-11-22 10:00:05 +01:00
Axel 75ef963767 Added actor to hold spring parameters 2022-11-04 14:52:51 +01:00
Axel feea507901 Improved collision behaviour 2022-11-04 14:52:51 +01:00
aollero d348dc51ee Region widget missing in previous commit 2022-11-04 14:05:28 +01:00
aollero a908b11be2 Rois small changes after feedback 2022-11-04 14:05:28 +01:00
aollero d7ab334270 Final graphical changes 2022-11-04 14:05:28 +01:00
aollero 50610e57ae Dark heightmap error fixed 2022-11-04 14:05:28 +01:00
aollero ca14a9c6be Region colors and minor changes 2022-11-04 14:05:28 +01:00
aollero 23ae71fb83 Misc editor fixed 2022-11-04 14:05:28 +01:00
aollero 4b079f368a Widget pipeline finished - not tested 2022-11-04 14:05:28 +01:00
aollero 8921a6a21f Minor graphical changes in the weather tab 2022-11-04 14:05:28 +01:00
aollero fab7d5e85d Rainny weather supported for sunset and night times 2022-11-04 14:05:28 +01:00
aollero 08b1a1f7d9 Welcome and NamePath Tab 2022-11-04 14:05:28 +01:00