Commit Graph

425 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