Commit Graph

50 Commits

Author SHA1 Message Date
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-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 be76107b44 Moved OSM2ODR to a different repo 2021-04-07 17:47:45 +02:00
Axel c0c24f6756 Updated uproject file 2020-12-11 16:59:44 +01:00
Pasch, Frederik fddf3c9b2e Update ad-rss-lib to 4.4.0 2020-10-20 14:41:19 +02:00
berndgassmann b91e1b5e0e
Merge pull request #3388 from carla-simulator/fix_rss_sensor 2020-10-08 11:29:25 +02:00
Axel 172d947ed8 Removed Python 2 from default builds. 2020-09-04 17:24:16 +02:00
Axel 3926fec5fb fixed argument parsing issue. 2020-08-27 11:29:47 +02:00
Axel c2f703b504 Added version to python3 compilation options. 2020-08-27 11:29:47 +02:00
Axel1092 f6676ca8e9 Cleaned up build files. 2020-07-31 21:50:19 +02:00
Axel1092 550c252813 Renaming OSM2ODR 2020-07-31 21:50:19 +02:00
Axel1092 f87593aa30 Removed executable. Integration with PythonAPI. 2020-07-31 21:50:19 +02:00
Axel1092 8109473775 Added converter. 2020-07-31 21:50:19 +02:00
bernat 5ac2ba712c
Adding make commands to retrieve the Plugins (#3017)
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-07-17 12:36:49 +02:00
bernat ff6d7d79e4 Remove build.utils from import (only used in Docker) 2020-04-15 14:57:06 +02:00
bernat 63a19846d6 More checks in script 2020-04-15 14:57:06 +02:00
Bernd Gassmann f3930a8f0f Ensure make package always package the correct version
Add postfix to libcarla_client{_rss}{_debug}.a in RSS variant.
make package target always rebuilds the final python shared library and
so cannot package wrong version.
Put LGPL lisence in python egg if RSS is linked.
2020-04-03 19:57:44 +02:00
Bernd Gassmann fa8a80c41a add make package.rss target 2020-04-01 16:10:50 +02:00
Marc Garcia Puig f47d9bd569 Improved linux recast installation 2020-03-06 12:55:37 +01:00
Marc Garcia Puig ee343dbe9b Added support for recast build from server-side 2020-03-06 09:49:38 +01:00
Marc Garcia Puig 90284dc91e
Modifying pipeline for use AWS cloud (#2504)
Build success


Added package


Remove delete workspace for testing


Clean workspace after build


Add deploy for testing


Relocation of Unreal Engine


Using absolute path for UnrealEngine


Execute shell


Test without remove at end


Using bash instead of shell


New jenkins file for testing nodes

new tag

modified

modify 'test' stage


all in GPU


tags


all in 'build' and 'gpu'


Adjust some scripts to run smooth on GPU slave


force deploy always


Disable docker push


Remove all on slaves at end


add some locks


add some parallel stages


Fix windows package, now it copies all required files


Add 7zip option to compress package for windows


Add 'make CarlaUE4Editor' to windows


Fix the program files path for windows 64


More jobs on parallel


Add Update.bat to windows pipeline


Fixing make CarlaUE4Editor


Commenting stages in windows


Enable again download of content and fix artifact


Build only Ubuntu


Enable deploy of Docker


Make packaging of additional maps


Enabling windows build again


Adding Deploy for windows


Change URL to the new S3 buckets


Changed the Jenkins public IP


Fixes from Codacy


Disable Windows build


Add more time to smoke tests for connecting


Add 'run' option of examples without compilation


Enabled delete all after job


Adds a lock for the packaging


Removing all locks


Update the Doxygen step in Ubuntu


Fix nodes to use
2020-03-05 13:16:18 +01:00
Marc Garcia Puig 069b63873c Temporal fix for jenkins not able to compile FBX 2020-02-28 16:56:37 +01:00
Marc Garcia Puig 790c6e9058 Fixed pedestrian navigation when import command 2020-02-28 16:01:47 +01:00
Marc Garcia Puig 5f23dd9e52 Fixed linux FBX2OBJ installat 2020-02-28 16:01:47 +01:00
Marc Garcia Puig 9cdf00155e Added RecastBuilder to linux package 2020-02-28 11:02:45 +01:00
Marc Garcia Puig 51a4683d30 Fixed dirty deploy 2019-12-11 21:11:26 +01:00
Jacopo Bartiromo 2362f71216 Removing traces of old make TrafficManager 2019-12-11 16:31:51 +01:00
bernatx 00b901c9e2 Updating Docker pipeline to rebuild pedestrian binary for navigation 2019-12-11 15:42:40 +01:00
Johannes Quast fe83f1ab3b Add Responsibility Sensitive Safety (RSS) to CARLA Client library
- Add build variant with RSS sensor
 - Add RSS result visualization
 - Add RSS Restrictor implementation
 - Add RSS manual control example
2019-12-09 16:37:32 +01:00
Marc Garcia Puig 535cb7681e Small fixes in gnss and in automatic BP doc gen 2019-11-19 16:10:39 +01:00
Praveen Kumar 42af9614a0 Updated TrafficManager (#2112)
* Initial commit

This commit imports files from scenario_runner repository

* WIP TrafficDistributor
Set horizontal integral component to 0
Fixed startup concurrency issue

* TrafficDistributor first crude version

* Code asthetics, Uncrustified.

* Code clean up

* Fixed more concurrency bugs

* Reduced number of vehicles per core
Fixed some unhandled exceptions

* EOD commit 29AUG2018

* Re-organizing directory structure

* WIP code re-organization

* Redesigned PipelineStage
Implemented Messenger to communicate between stages
Implemented LocalizationStage
Added StageEnum
Removed unecessary files

* WIP Testing LocalizationStage

* Implemented and benchmarked LocalizationStage
Achieved single stage throughput of 600,000,000

* Implemented CopyBufferList() in LocalizationStage

* Fixed stage stalling and corrected benchmark

* Setting worker thread count to 1

* Code re-organization for porting MotionPlannerStage

* WIP - porting MotionPlanner

* Moved thread management logic into PipelineStage base class

* Implemented output data frame switching
Moved relavent structures and types from MotionPlannerStage.h to PIDController.h

* Re-organized directory structure to be consistent with rest of the project
Initialized frame_selector in constructor

* WIP - EOD commit 02SEP209

* WIP - managed to break deadlock between sender and receiver

* Implemented common mutex sharing for thread management in PipelineStage
Added small timeout for thread locking in PipelineStage
Finally broke deadlocks in stage integration

* Porting BatchControlStage to new design

* Ported BatchControlStage to new design
Fixed array indexing bug
Messaging actor_id instead of actor pointer to BatchControlStage
Improved thread co-ordination logic in PipelineStage

* Fixed array exetreme indexing issue

* Fixed thread co-ordination logic for multiple worker thread case

* Ported PID state map to dynamically allocated vector
Changed thread co-ordination time out to 1ms

* WIP - EOD 03092019

* Ported CollisionStage to new design
Added debug helper parameter
Added directionality pre-condition to check polygon overlap
Streamlined boundary functions
Fixed actor id to array index map
Passing individual buffers from localization
Using unsigned int keys in VicinityGrid

* WIP - fixing localization conflict on frame switching

* Fixed localization frame switching bug

* Ported TrafficLightStage to new design (#2078)

* Implemented TrafficLightStage with new architecture

* Implemented slowdown on approaching junction

* Integrated all stages into Pipeline class

* Ported PipelineExecutable.cpp to work with new Pipeline

* WIP - Fixing TrafficDistributor

* Switching to single thread stage actions
Added release options to CMakeLists.txt
Changed vicinity grid keys to string

* Changed TrafficDistributor to TrafficDistribution
This class only meant to keep track of vehicles acrros different road positions

* Changed TrafficDistributor declaration in LocalizationStage

* WIP - Lane changes

* Streamlined traffic distribution implementation

* Implemented a working lane change policy

* Fixed const correctness for ActionThreadManager and Action methods
Chaned varialbe++ to ++variable wherever suitable

* Using STL's numeric_limits instead of arbitrary high values for infinity
Made suitable constants static
Camelcase starting with uppercase for InMemoryMap methods
Fixed comment notions in all files

* Streamlined boolean return values from methods in CollisionStage.cpp
Using short hand for boost::geometry
More comments on boundary calculation logic
Camelcasing for methods

* Fixed TrafficDistribution vehicle tracking logic
Removed distance limit for lane change

* Moved lane change logic to TrafficDistributor.cpp

* Implemented logic to avoid collisions with unregistered actors

* Implemented graceful stop functionality for traffic manager

* Code aesthetics

* Added debug support for TrafficDistributor.cpp
Fixed Test.cpp

* Defined constants in TrafficDistributor.cpp
Code aesthetic changes

* Update README.md

* Aphabetical ordering of header include statements

* Code streamlining and aesthetic changes

* Review comment changes (#2116)

Review comment changes
Removed frame_map from TrafficLightStage

* Made changes  for review comments (#2117)

* Fixed implicit private inheritence for LocalizationStage
Removed unecessary using <method> statements in concrete stage classes

* Removed break logic from all loops

* Added detailed comments to all header files

* Minor review comment changes to collision stage

* Detailed comments for all .cpp files

* Implemented batch spawn and delete

* Added minimum distance check for lane change
Increased wait time after sending batch spawn command

* Simplified geodesic boundary creation in collision stage

* Changing to unsigned integers when appropriate
Shorter name aliasing

* Changes for code reveiw comments

* Removed white spaces

* Code review changes
Using carla::geom::Math::DistanceSquared whenever possible
Better name aliasing
Function signature checks

* Code aesthetics, text formatting

* Changes for appropriate auto keyword usage

* Grammar check

* Grammatical correction

* Distance based check points and boundary generation
instead of index based checks

* Using explicit typing wherever possible instead of auto

* Review comment changes

* Review comment changes

* Added time margin for approaching vehicles for lane change
Increased minimum collision boundary
Streamlined InMemoryMap::StructuredWaypoints
Implemented gradual braking in PIDController
Added left right checks in SimpleWaypoint
Removed redundant method in SimpleWaypoint

* Initial implementation for reproducibility

* Fixed radomization during path selection

* Added Vicinity grid-key checker for grid to actor_id map

* WIP: junction negotiation enhancement

* Polygon to polygon distance based collision negotiation

* Update Linux.mk

* Update CMakeLists.txt

* Update Vars.mk

* Update README.md

* Update getting_started.md

* Review comment changes
Namespace aliasing checks
Redundant function call checks
Default constants defined in motion planner stage
Removed hard braking to slow down near junctions
Lane change approaching vehicle check time margin
Added -h option to get help on traffic manager

* Reverting to carla::client::Vehicle::GetTrafficlightState non-signalised junctions

* Added communication timeout and implemented stopping when carla stops
Removed throughtput measurement logic from PipelineExecutable

* Updated gitignore

* updated CHANGELOG.md

* updated CHANGELOG.md

* WIP: negotiating non-signalised junction

* Time duration ticketing system for non-signalised junctions
Changed from pre-randomised to run time randomised decisions at junctions

* Removing debug draw statements

* Fixed make and cmake, more work required

* Added traffic manager build to jenkins

* updated docs
2019-10-07 16:30:51 +02:00
Marc Garcia Puig 987a257800 Now 'make package' works with standalone packages 2019-07-10 01:35:47 +02:00
Marc Garcia Puig 1d46aadcd2 Make option for API Docs + added class Docs in MD 2019-07-09 19:18:46 +02:00
nsubiron b6549adda8 Automate nightly build deployment 2019-05-03 10:13:10 +02:00
nsubiron 814e4374f2 Compile and run C++ client example in CI pipelines 2019-04-24 17:37:21 +02:00
nsubiron 574733df8b Add GDB mode to make launch 2019-03-30 14:29:57 +01:00
nsubiron 1c5e6c74bc Reorder LibCarla build steps 2019-03-18 15:49:09 +01:00
nsubiron aeb22d19a2 Add targets for cleaning individual build modules 2019-03-15 13:04:18 +01:00
nsubiron 40836a1fd4 Add infrastructure for smoke tests in Jenkins 2019-03-14 20:17:55 +01:00
nsubiron e9d22073c7 Split LibCarla build into debug and release 2019-03-13 17:18:47 +01:00
Daniel Novillo Villarejo 56fc04e490 Improved naming
Added support for importing multiple files
2019-01-29 12:00:58 +01:00
Daniel Novillo Villarejo 0730688e48 Maps extraction tool without testing 2019-01-29 12:00:58 +01:00
nsubiron 6ff8784f16 Compile server pipeline with -fno-exceptions, split unit tests for client and server 2019-01-26 17:27:14 +01:00
nsubiron 319075609d Minor fixes to Linux Makefile 2018-12-11 16:35:34 +01:00
nsubiron 7e9656ede3 Fix 'make hard-clean' 2018-10-27 13:21:35 +02:00
nsubiron 4c0110c42f Fine grained targets in Makefile 2018-10-19 11:43:10 +02:00
nsubiron 98a90496f6 Support for Python 3 on Linux 2018-10-19 11:23:33 +02:00
nsubiron 4f9299c2b5 Compile all client code with setup.py and custom boost version 2018-07-26 19:07:05 +02:00
nsubiron 0b90c448bf Replace Linux build system 2018-07-04 19:08:42 +02:00