Commit Graph

475 Commits

Author SHA1 Message Date
Blyron dcca826ade
Aaron/opendrivetomapineditor (#6056)
* Added way to download files from overpass api

* Save downloaded text to a file

* Changed log type for File manipulation

* Online process files when request is valid

* Correct file format

* Correct file format for UE4 class

* Fix compilation issue due to name change

* Create Widget with OpenFileDialogFunctionality

* Step xodr to map completed

* Generated Static meshes and replace procedural actors

* Created and saved assets during road generation

* Formatted file correctly

* OSM To ODR broguht to UE4

* Full pipeline working on linux

* Added osm2odr support in editor in Windos

* Added Widget to CartaTools

* Fixed Linux compilation error

* Added Carla Game Instance included to avoid compilation error

* Added Simplify to LibCarla, Added timers to measure time generation.  Add mesh deformation during road creation.

* Fixed mesh format translations

* Concated meshes generated in the same lane to avoid errors during simplification

* Avoid Simplify to remove border vertices and try to parallel assets creation process

* Road Generation 0.1 version ready

* Removing Engine Association, Formatting CarlaTools Build dependencies

* Change container type of generated procedural mesh componetns to be supported by UPROPERTY

* Fixed indices jumping by two

* Cleaning branch

* Cleanup last spaces

* Remove spaces on Opendrivetowditor.cpp
2023-02-15 09:50:55 +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
Axel dd3bc8709c Revert to boost 1.80 2022-12-20 13:18:34 +01:00
Axel1092 44fdf8d7d4 Removed unnecessary files 2022-12-20 13:18:34 +01:00
Axel b70a4d5e44 Upgrade boost for Windows 2022-12-20 13:18:34 +01:00
Axel cef4489d0f Upgraded boost 1.81 for linux 2022-12-20 13:18:34 +01:00
bernat ad13db4157 Fix Package.sh script 2022-11-03 16:06:10 +01:00
bernatx f628f204b4 Adding backup for xerces-c library 2022-10-20 10:31:16 +02:00
Axel 2f739238e4 fixed xerces-c dependencies 2022-10-20 10:31:16 +02:00
Axel 4e4d59fad9 Fixed xerces-c dependency 2022-10-19 10:37:10 +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
Daniel Attard 0ef84b22e8 Updating wget when downloading fbxsdk 2022-08-26 09:55:42 +02:00
bernatx 9c9eda84bc Multi GPU first version 2022-07-21 13:24:02 +02:00
LuisPoveda 5ac3ce6d31
Luis/collisions bushes (#5477)
* Added base class for spring based vegetation simulation

* Excluded small bones from Inertia tensor computation. Added eigen 3.1.0 as dependency for vegetation modules.

* Added patch for eigen 3.1.0 in windows.

* Fixed windows compilation with eigen libraries

* Added automatic hierarchy extraction from skeletal mesh to spring based skeleton. Exposed custom spring vegetation structs to editor.

* Reorganized functions for spring based vegetation simulation. Fixed coordinate transformation bug (from UE left handed frame to right handed frame).

* Changes to use compile with CLang 10

* Improved spring strength settings for infividual branches. Enabled better debugging.

* added bush bp
added bush with sphere to the town10 map

* Fixed bush collision make car fly

* spring based vegetatation component updated

* System to get the bp from foliage mesh and instanciate if exists at runtime

* Added filters for spawning different types of foliage

* Spawning foliage hide and scaling it before showing.

* Added foliage bp class cache system to improve performance

* Changed Sphere Detection for Box and Implemented Object Pooling

* Fixed Dissapearing bushes, testing pooling

* Changed Sign function to not use clang's one

* Moved Spawner Logic out of Vehicle

* fix vegetation spawner now looks for new statich meshes every frame

* PR changes

* PR Changes

* Deleted spaces and scale spawn property

Co-authored-by: Axel <axellopez92@outlook.com>
Co-authored-by: Axel1092 <lopez1092@hotmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2022-06-02 14:35:42 +02:00
Axel 843ac4b38e Fix ubbuntu 18 compilation issues 2022-05-02 09:25:24 +02:00
Marcel Pi aaf40aa250 Switched back to using LLVM-8.0. 2022-04-26 16:17:00 +02:00
Marcel Pi 74e0c680cd Switched to a more robust way of detecting the current compiler. 2022-04-26 16:17:00 +02:00
Marcel Pi 9b13826865 Renamed CARLA_CLANG_VERSION_MAJOR to CARLA_LLVM_VERSION_MAJOR. 2022-04-26 16:17:00 +02:00
Marcel Pi 9a005e9c7c Revert "More Setup.sh changes."
This reverts commit ff82140d70.
2022-04-26 16:17:00 +02:00
Marcel Pi dfc799a5d3 More Setup.sh changes. 2022-04-26 16:17:00 +02:00
Marcel Pi 97f3b96659 Minor Setup.sh changes. 2022-04-26 16:17:00 +02:00
Marcel Pi 54d6116d57 Automatically detect clang version. 2022-04-26 16:17:00 +02:00
Marcel Pi 1821df68c4 Removed specific version requirements for clang, lld and gcc. 2022-04-26 16:17:00 +02:00
bernat df05a509f3 Changes to use compile with CLang 10 2022-04-26 16:17:00 +02:00
Axel 107f4cebf8 Fixed commandline overflow when too many tiles are cooked at the same time 2022-04-06 13:12:14 +02:00
Axel 66d29be1a1 Fix xerces download broken link 2022-03-31 10:47:34 +02:00
bernatx 29474670ad Fix import script when mixing props and maps 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 4d04b4ae29 Cook maps one by one in windows (slower but can package unlimited maps) 2021-07-30 03:07:41 +02:00
bernatx 2d717a958e Fixing import.py for python 3 2021-07-30 01:08:15 +02:00
joel-mb 4b0525eef2
[Traffic Manager] InMemoryMap binary file (#4424)
* First iteration of the required files functionality

* WIP: Binary file for in memory map

* Fixed "/Game/" replacement and load new episode by name problems with the required files system

* removed unnecessary changes

* added extra space

* Enable pedestrians building only for single maps, no in tiled maps (temporal)

* Added python selector to make import command

* returning const reference

* fix bug not finding required files

* add TM binary files to packages

Co-authored-by: Alejandro Fraga Cimadevila <alex_fraga95@hotmail.com>
Co-authored-by: bernatx <berni2berni>
Co-authored-by: bernat <bernatx@gmail.com>
2021-07-28 14:44:54 +02:00
bernat 7864c8cc2c Using Carla forked UE4.26 version 2021-07-28 14:39:42 +02:00
Axel 9318f2798d Added --batch-size argument to make import command to limit the amount of tiles to import at a time. 2021-07-27 13:08:11 +02:00
Joel Moriana 00d8faacdf removed lsb_release dependency 2021-07-26 10:25:08 +02:00
Joel Moriana 622a7104b3 skipp wheel repair if not using bionic 2021-07-26 10:25:08 +02:00
bernatx fcfb3db80c Fix auditwheel not found on Jenkins 2021-07-26 10:25:08 +02:00
Joel Moriana d6185fe982 first iteration python wheels support 2021-07-26 10:25:08 +02:00
Bernd Gassmann 9fe5e733ad RSS build uses the libproj version from CARLA
and now favours actually the boost variant from CARLA over the system
installed one
2021-07-21 16:05:25 +02:00
bernatx e466a63fba Setup Visual Studio 2019 for windows 2021-07-15 10:53:16 +02:00
Axel1092 5c3e9c8b09 Fixed package copy files 2021-06-16 10:57:51 +02:00
Axel 8d605e5f73 Removed debug warnings 2021-06-16 10:57:51 +02:00
Axel 42735854e6 Removed xsd file dependencies. 2021-06-16 10:57:51 +02:00
Roel Algaba Brizuela ae0ba81b9f Fixed scale excess and location bug 2021-05-27 15:13:41 +02:00
bernat 3a53b3cd4e Fix collision of imported meshes 2021-05-26 13:30:14 +02:00
Roel Algaba Brizuela ed8809d2a0 Fixed spaces 2021-05-20 14:21:26 +02:00
Roel Algaba Brizuela f1778e9849 Changed decal process for large maps 2021-05-20 14:21:26 +02:00
Roel Algaba Brizuela f2930a4116 Changed material routes and import.py 2021-05-20 14:21:26 +02:00
bernat aa6377c9e1 Updating boost source URL 2021-05-17 20:57:40 +02:00
bernat 80c5e33d5c Calculate navigation data in parallel while cooking 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 4e1976def4 Fixed tabs and spaces for PR 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela f13b16bfad Fix Import.py error 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 8738bf10da Fix errors from rebase 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 631e760fd8 Minor changes 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela f2c7a52a9d Changes for road materials. 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 170154aabd Tiling materials and added more decals 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela dc85b48c11 Check for .fbx 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela e0d63efc5f Changes for large maps 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 49f287c4f1 Added generation of JSON file and bug fixes 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 6aa5898854 Bug fixing and updated road painter import process
The import process now loads a .json file for applying decals to the road. Several bug fixes related to the generation of multiple map textures and dynamic materials. New update to the road painter preset on the art repository.
2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 6f7ba077cb make import road painter materials for maps
First implementation for applying road painter materials to imported maps. However, the user still has to access the road painter blueprint and click on the "Paint all roads button"
2021-05-17 20:56:46 +02:00
bernat 35da5b4190 Fixing conflicts 2021-05-13 19:39:50 +02:00
bernat 50edd95c7a Modify import process to accept the tile size as .json parameter and enable the 'tile to relative' conversion from UE4 (CARLA modification) 2021-05-13 19:39:50 +02:00
bernat bc4d23a5e9 Import maps in tiles 2021-05-13 19:39:50 +02:00
Roel Algaba Brizuela d2cd4b4cfe Fixed further spaces and tabs 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela dab92c7311 Fixed tabs, spaces and comments 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela f4e8dd2d0b Fixed spaces and tabs and updated textures 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 4f1add75ee Updated make import process for spawning decals easier 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela b327e479d4 Changes to apply material to large maps and bug fixes 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 2a65f83aa9 Added generation of JSON file and bug fixes 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela 0a9332c16f Bug fixing and updated road painter import process
The import process now loads a .json file for applying decals to the road. Several bug fixes related to the generation of multiple map textures and dynamic materials. New update to the road painter preset on the art repository.
2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela d76f682005 make import road painter materials for maps
First implementation for applying road painter materials to imported maps. However, the user still has to access the road painter blueprint and click on the "Paint all roads button"
2021-05-07 15:52:21 +02:00
bernat a3797e02ac Using new version of RecastBuilder 2021-05-07 15:17:45 +02:00
Axel1092 cdd12c5a84 Updated Build OSM2ODR commit hash. 2021-04-29 11:33:01 +02:00
Axel1092 3a5b8c0620 Fixed typo. Fixed xerces-c lib name. 2021-04-07 17:47:45 +02:00
Axel de6f3769b4 Fixed libxerces-c installation. 2021-04-07 17:47:45 +02:00
Axel1092 d62fb2fd9b Fixed windows build. 2021-04-07 17:47:45 +02:00
Axel be76107b44 Moved OSM2ODR to a different repo 2021-04-07 17:47:45 +02:00
bernat 7580c682f6 Disable the minimum size of a network packet to be sent 2021-03-31 10:00:24 +02:00
Seonghyeon Lim ce2ad785c5 Fix PythonAPI build script typo. 2021-03-09 10:00:43 +01:00
Axel f8f064a73d Added missing folder creation command 2021-03-08 16:01:50 +01:00
bernat 2a1dc6afe7 Add some logs 2021-03-08 15:59:45 +01:00
Axel1092 55a98646b3 Fixed chrono Dlls separated from the binary file 2021-03-06 01:17:05 +01:00
Daniel Santos-Olivan dfdb252dbd Fix output to xml 2021-03-04 18:29:42 +01:00
Daniel Santos-Olivan 9f9944045d Remove argument for nose2 2021-03-04 18:29:42 +01:00
Daniel Santos-Olivan 9ff93f1593 Smoke_test: Now the order of execution is predetermined 2021-03-04 18:29:42 +01:00
Axel1092 0989aae70b Added PROJ library dependencies in windows. Imrpoved PythonAPI compilation speed in windows. Disabled boost RTTI checks. 2021-03-04 16:16:42 +01:00
Axel ced1d5c88c Added OSM2ODR dependencies for projection capabilities (linux). 2021-03-04 16:16:42 +01:00
bernat 8a140a8ed0 Update --clean-intermediate flag 2021-03-01 15:29:17 +01:00
bernat d04a86b859 Changing 4.24.3 to 4.26.1 2021-02-25 16:48:15 +01:00
Axel1092 30f88cfb73 Removed boost RTTI check. 2021-02-25 16:48:15 +01:00
Axel 546016c664 Set chrono version to 6.0.0. 2021-02-18 10:04:35 +01:00
Axel1092 723d23aaed Small fix for Windows compilation without chrono. 2021-02-18 10:04:35 +01:00
Axel1092 aef432e08b Small fix to windows build 2021-02-18 10:04:35 +01:00
Axel1092 028e029404 Updated chrono install for windows. 2021-02-18 10:04:35 +01:00
Axel bf8e160622 Added release compile mode for chrono library. 2021-02-18 10:04:35 +01:00
Axel1092 2e0b4bc885 Fixed windows compilation issue 2021-02-18 10:04:35 +01:00
Axel1092 14a634aa29 Added chrono compilation support for windows. 2021-02-18 10:04:35 +01:00
Axel 2117794dd7 Created base chrono implementation 2021-02-18 10:04:35 +01:00
bernat f9ca7b5577 Make /Plugins/ folder optional when packaging 2021-01-13 10:54:17 +01:00
bernat 7374804542 Adding plugins to the package 2020-12-22 16:13:50 +01:00