Commit Graph

298 Commits

Author SHA1 Message Date
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
doterop d979b7f97a
Added docs for map layers control (#3729)
* Added doc for load/unload_map_layer

* Added MapLayer enum doc

* Fixed default param

* Updated load_world doc

* Added reset_settings param

* Added mds

* Some typo fixes and highlighted warning labels

* Fixed conflicts

Co-authored-by: corkyw10 <corinnewhite@live.co.uk>
2020-12-17 16:53:45 +01:00
doterop 84f128db3b Added mds 2020-12-17 15:18:58 +01:00
Axel b1c9cfb529 Added deterministic pedestrians and carsim documentation. 2020-12-15 18:21:11 +01:00
Hamid Ebadi adb0e9f8ca
Converting html tags (table, image, link, etc.) into markdown (#3629)
* Converting html tags (table, image, link, etc.) into markdown, fixing an issue with python marrkdown generation script

* Converting tables for pandoc

* Incorrect code block

* Changelog is updated

Co-authored-by: Corinne <38050983+corkyw10@users.noreply.github.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-12-14 13:15:32 +01:00
Marc Garcia Puig 6ad2610d33 Fixed docs 2020-11-24 16:57:51 +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
sergi.e a90956ad0c
sergi-e/tm-determinism-and-updates-docs (#3453)
* New methods of the TM module

* First iteration on determinism

* Warning on sync mode for both world and TM in adv_synchrony_timestep.md and PythonAPI ref

* Iteration on J review!

* fixed broken link
2020-10-20 18:32:20 +02:00
sergi-e a00a97714b Fixed method sorting 2020-10-20 14:42:25 +02:00
sergi.e 31fff28bc6
sergi-e/api-snipets (#3409)
* First iteration with snipets, copy button and snippet button for all methods

* New iteration with snipets implemented and test snipets

* New iteration without yaml intervention, with auxiliary doc deleted and responsive buttons to window width

* New iteration with snipets copied from recipes, images added, and invisible button for small window

* Fixed some marging issues & code formatting

* Removed recipe reference and its instances. Snipets are now scalable to window width. Added button to close snipet. doc_gen_snipets.py is now imported in doc_gen.py. Cleaned css inside .py and added to extra.css

* New iteration with two functionalities for snipet buttons. Pop up for small windows.

* Fixed bp_library.md

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-10-15 16:48:48 +02:00