Commit Graph

307 Commits

Author SHA1 Message Date
MattRoweEAIF d3636d241c
fixed refs in dev (#7232) 2024-03-11 11:49:51 +01:00
Kim Min-su d6d569391f Remove duplicated instance variable `is_junction` 2023-09-27 13:56:45 +02:00
xqgex b917258e95 Typo maxixum => maximum 2023-05-03 16:47:42 +02:00
MattRoweEAIF 102eb3f0c7 updated collision sensor documentation 2023-04-27 11:44:01 +02:00
MattRoweEAIF ade852e619
Review python api (#6330)
* updated missing api docs

* auto generated python_api.md

* @glopezdiest corrections

---------

Co-authored-by: bernat <bernatx@gmail.com>
2023-04-14 08:43:38 +02:00
MattRoweEAIF 5c445df124 added spectator as ego parameter to API docs 2023-04-13 13:05:27 +02:00
MattRowe18 aafc208f63 changed speed limit output units 2023-01-27 14:05:03 +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
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
MattRowe18 a4f5c26efa added extra traffic manager functions 2022-10-17 16:18:24 +02:00
bernatx e9a7c321cd Adding new attachment type 'SpringArmGhost' 2022-09-28 13:54:04 +02:00
Axel1092 a6be1a67f3
Pytorch integration with terramechanics (#5684)
* Added sparse map reprsentation

* Added pytorch for terramechanics modules

* Added saving loading particles in independent thread

* Added blank space at the EOF

* Added texture creation lambda

* Moving function to component

* Added input/output architecture for neural network

* Filling heightmap with particles data. Adding Logging to debug

* Updating Texture data at realtime

* Connected 3 stages, using MPC Position to Update and Texture

* Added square particle sampling. Added second model input/output scheme. Fixed start up crash.

* Added new flags and fixes

* Position to update not updating in material but yes in MPC

* Fixed coordinate frame issues and crashes

* Prepared to follow position in the 1st vehicle in map

* Fixed height map alignment

* Fixed large map and terrain tiles alignment

* Fixed inputs for new model

* Added scale factor

* Fixed slow read write operations

* Bug fixes

* Removed debug output

* Removed nvidia profinling marks

* Preparing merge debug code removed, runtime working by rounding the loading data properly

* Made pytorch optional module

* Added TRACE_CPUPROFILER_EVENT_SCOPE to Update and UpdateTexture

* Added optional pytorch conditions and macros

* Removed static Path

* Fixed #ifdef clause. Added missing include.

* Deformation on vehicle working. Ready to start optimisation

* First optimsation done. Heightmap per Tile

* Updated tiles'heightmap to make their size relative to texture and tilesize

* Fixed slow frames. Added functionality

* Removed unecessary library links

* Fixed pytorch link

* Limited search to relevant tiles

* Added multithreaded particle search. Fixed cuda architectures compilation

* Deformation plane added

* Added missing resources

* Updated particle movement update methods

* Spawn on runtime deformation plane

* Added cachemap lock when initializing a region

* Added UHeightMapDataAsset to hold heightmap data

* Fixing some settings

Co-authored-by: Aaron <samaniegoaaron112@gmail.com>
Co-authored-by: bernatx <bernatx@gmail.com>
2022-09-23 15:39:09 +02:00
Joel Moriana 81c8ab2020 Revert manually changes 2022-07-22 09:29:08 +02:00
Joel Moriana b2bb32be44 Fixed global_percentage_speed_difference description 2022-07-22 09:29:08 +02:00
Joel Moriana 6298937387 Fixed parameter name 2022-07-22 09:29:08 +02:00
Joel Moriana 480c50e851 Added lane offset parameter 2022-07-22 09:29: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
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
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
Jacopo Bartiromo 2d8d738c33 Merge commit 2021-11-09 12:25:37 +01:00
Axel b2b27175c4 Added documentation 2021-11-09 00:01:30 +01:00
bernatx 115fe2d915 Fixing docs 2021-11-05 16:29:36 +01:00
Guillermo f90c2c6123 Added ymls and Cross C++ function 2021-08-07 17:43:38 +02:00
Guillermo fee6a749f5 Exposed some vector functions to the python api 2021-08-07 17:43:38 +02:00
corkyw10 dca7cc3f8d updated Index page, rearranged nav bar, corrected links to broken images, corrected default settings for wheel physics, added anysys rtr information 2021-07-30 12:48:32 +02:00
Corinne 293dad7923
Corkyw10/docs fix typos links (#4243)
* Fixed typo in code snippet. Swapped order of altitude and azimuth

* Fixed image links that needed '../' prefix to be visible on the live documentation

* Removed reference to velocity being affected 2 frames after it is set

* Updated Python API with missing 'set_pedestrians_cross_factor' method

* Regenerated python_api.md
2021-07-29 18:32:36 +02:00
Corinne 4a8342fae1
[NO_BUILD] Missing Python API docs (#4453)
* Adding pythonapi methods

* Added missing Python API methods

* Further missing methods added

* Mssing get_crosswalks method added

* Correction to set gravity method and command
2021-07-29 16:21:02 +02:00
corkyw10 29dbb790d7 Typo fix 2021-07-28 18:11:37 +02:00
Axel eeeba37ec7 Added `center_map` entry to osm2odr documentation 2021-07-28 18:11:37 +02:00
corkyw10 4c088d3725 Created links in markdown and corrected typo 2021-07-28 18:11:37 +02:00
Axel 4d2e40a59a Updated documentation and changelog 2021-07-28 18:11:37 +02:00
Corinne 458fddb9b8
[NO_BUILD] Traffic Manager Updates (#4368)
* Updated name of spanw_npc script

* Traffic manager updates for large maps, generate traffic and deterministic mode.

* Changed reference to back spawn_npc for generate data tutorial as it specifies that it is based on carla 0.9.8

* Corrected min respawn distance
2021-07-15 10:56:45 +02:00
Axel d93aaf7624 Updated optical flow documentation. Added OpticalFlowPixel class. 2021-06-22 11:01:53 +02:00
corkyw10 1091bc5676 Moved horizontal_fov variables to sensor ref blueprint tables. Corrected values in Python API. 2021-05-20 16:33:27 +02:00
corkyw10 e786b9179a Updated PythonAPI with new WheelPhysicsControl values and Lidar/Semantic Lidar values. Fixed bug where 'inherited from' links were broken in API docs. Updated code snippet in tutorial 'control vehicle physics' 2021-05-20 16:33:27 +02:00
Corinne cec8fd90ae
Corkyw10/chrono docs (#4160)
* Added Chrono Integration page to navigation

* Initial draft of Chrono documentation

* Added Python API information for enable_chrono_physics. Made some syntactical changes to first draft of Chrono docs.

* Made the forward slash character in PythonAPI stand out. Added link to Actor class in the Chrono doc.

* Added manual_control_chrono.py to PythonAPI/examples

* Edited chrono torial. Edited changelog.

Co-authored-by: Axel <axellopez92@outlook.com>
2021-05-07 15:16:32 +02:00
corkyw10 e7f020e5d2 Updated PythonAPI docs for set_wheel_steer_direction, get_wheel_steer_angle and VehicleWheelLocation. Added snippet for set_wheel_steer_direction 2021-04-19 10:49:31 +02:00
corkyw10 483107f7f6 Typo fixes in TM docs and corrected default radius of set_hybrid_physics_radius 2021-03-18 09:52:41 +01:00
corkyw10 492b477ae0 Corrected typo for set_hybrid_physics_radius in Python API, corrected reference in TM docs and removed reset_traffic_lights from Python API reference. 2021-03-18 09:52:41 +01:00
corkyw10 4233fe9310 Added information to alert the user that the 'Latest' version of the documentation points to branch and may show features that are not available in any packaged versions of carla as well as updated and improved docs 2021-03-15 15:43:15 +01:00
corkyw10 e18054597a Added extra line to bottom of snippets, updated unload and load map layers snippets to show maps being loaded with differents layers staright away, added info about minimum layout to core maps and Python API warning for load and unload maps. 2021-02-12 18:12:53 +01:00
corkyw10 fe1472ca6e Add code snippets to Python API for toggling env objects and map layers. Corrected spelling of snippets on buttons and headers 2021-02-12 18:12:53 +01:00
corkyw10 ee1fc07caa Included DVS sensor in Core sensors page, fixed some links in Python API and added info about when DVS will not return an image 2021-02-09 14:50:25 +01:00
corkyw10 81afb5481f Fixed broken link in Python API for 2021-02-02 15:27:58 +01:00
corkyw10 e8e978b8d8 moved snippet for draw_string to correct place, removed two references to code_recipes page that no longer exists 2020-12-22 16:13:00 +01:00
corkyw10 fc808973b8 Typos fixes and refactoring 2020-12-21 15:39:47 +01:00
Daniel Santos-Olivan 2f85970f15 Added documentation for new collision model for wheels. 2020-12-21 15:39:47 +01:00
Daniel Santos-Olivan 0c11869d68 Addition to PythonAPI
New substepping parameters to WorldSettings
2020-12-21 15:39:47 +01:00
doterop c0f595ae4f
Added docs for level object control (#3728)
* Added docs for level object control

* Added mds

* Typo fix

* Updated md

Co-authored-by: corkyw10 <corinnewhite@live.co.uk>
2020-12-18 11:48:37 +01:00