Commit Graph

1398 Commits

Author SHA1 Message Date
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
bernatx 634066c19c content version and avoid large map test 2022-09-16 16:45:40 +02:00
Guillermo af5b233d1d Added offset detection and expose parameters 2022-08-16 12:20:42 +02:00
Joel Moriana be79ffdbcc Changed enum to intenum 2022-07-29 10:33:22 +02:00
Guillermo 411184fbcc Fixed bug for 0 distance 2022-07-22 15:21:28 +02:00
Joel Moriana 480c50e851 Added lane offset parameter 2022-07-22 09:29:08 +02:00
glopezdiest bf2815ec58
Improved Python agent performance (#5555)
* Improved agent performance

* CHANGELOG
2022-07-01 18:30:56 +02:00
jaivra 0f5252ad62 fixed the indentation of the assignment statement to control variable 2022-05-18 16:21:45 +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
Guillermo 79e6aec314 Pretty code 2022-05-13 09:00:46 +02:00
Guillermo c918960aa1 Added lane changes 2022-05-13 09:00:46 +02:00
Guillermo 49223437b2 Added the instances 2022-05-04 09:52:43 +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
Guillermo 8b8f703b43 Fixed bug at microlanes 2022-04-26 09:38:56 +02:00
Guillermo 46d50df7c5 Fix topology with ending lanes 2022-04-26 09:38:56 +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
glopezdiest c977075b90
Added 4 new attributes to the vehicle blueprints (#5258)
* Added 4 new vehicle attributes
2022-04-12 15:57:54 +02:00
Marcel Pi a07cab89ab Fixed type error. 2022-04-05 11:52:16 +02:00
Marcel Pi 9d8c6175ab Added DustStorm boolean option in WeatherParameters. 2022-04-05 11:52:16 +02:00
anrp 60709f506b Switch to boost::variant2
boost::variant only supports up to 20 types (MPL limit). boost::variant2
has no such limit; switch to it.
2022-03-28 12:35:11 +02:00
Marcel Pi 8dfbb14852 Minor fix for test/smoke/test_sensor_tick_time.py
Added sensor.data.normals to the exception list of test_sensor_tick_time.py
2022-02-18 11:42:32 +01:00
Marcel Pi 98cf46d027 Minor fixes for the pull request.
Updated copyrights, added custom normal camera definition function in ActorBlueprintFunctionLibrary and fixed minor include error.
2022-02-18 11:42:32 +01:00
Marcel Pi 3b45bfd165 Added new sensor with camera normals 2022-02-18 11:42:32 +01:00
Joel Moriana 0e67ca23fd Handle steer speed in the ackermann controller 2022-02-08 20:15:57 +01:00
Joel Moriana 702bf9db50 removed tunning ackermann pid 2022-02-08 20:15:57 +01:00
Joel Moriana 8cc6f132fc First iteration ackermann controller 2022-02-08 20:15:57 +01:00
Guillermo 207ac8c78c Updated smoke test 2022-01-11 11:37:27 +01:00
Guillermo e0719a8270 Fixed vehicle sorting + WIP physics deter check 2022-01-11 11:37:27 +01:00
bernatx 613b4e5075 changing to version 0.9.13 2021-11-10 15:11:46 +01:00
Anshumaan Singh 50abe1218f Update manual_control_steeringwheel.py 2021-11-10 14:54:45 +01:00
Anshumaan Singh 39d6ede417 Fixed an error caused during map name being called
An incorrect attribute call was being made, so `map_name` was changed to `get_map().name` to fix it
2021-11-10 14:54:45 +01:00
bernatx fa51e45e16 Adding example of python script to draw skeleton bones 2021-11-09 17:10:06 +01:00
Jacopo Bartiromo 2d8d738c33 Merge commit 2021-11-09 12:25:37 +01:00
Axel e2aa1ab097 Added example script for runtime texture update 2021-11-09 00:01:30 +01:00
Axel b2b27175c4 Added documentation 2021-11-09 00:01:30 +01:00
Axel 2199d90e1f fixed smoke test 2021-11-08 09:30:35 +01:00
Axel 63d5b314c6 Added instance semantic segmentation sensors 2021-11-08 09:30:35 +01:00
bernatx 5695337c5b Fixing seed as unsigned int 2021-11-05 18:49:11 +01:00
bernatx 5864183fbc Adding documentation for the new function 2021-11-05 18:49:11 +01:00
bernatx 328cfca118 Adding seed for better pedestrians reproducibility 2021-11-05 18:49:11 +01:00
Axel c95ab47f87 Fixed compile errors in linux. Fixed lights not turning on at night. 2021-11-05 18:34:49 +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
Axel 33c044d493 Added option to change textures of multiple objects with a single call (saving texture memory). 2021-11-05 16:37:17 +01:00
Axel c99e5adf2a Added functions and structures to update textures in runtime. 2021-11-05 16:37:17 +01:00
bernatx 115fe2d915 Fixing docs 2021-11-05 16:29:36 +01:00
bernatx 4284ebb0e1 Added new pose to blend with the animation 2021-11-05 16:29:36 +01:00
bernatx b7a1685166 Return all transforms for bones (world, component and relative) 2021-11-05 16:29:36 +01:00
bernatx 93e4733cf8 First version, bones transform in world space 2021-11-05 16:29:36 +01:00