Commit Graph

815 Commits

Author SHA1 Message Date
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 65720f04b2 Changing to 0.9.11 version 2020-12-22 16:26:04 +01:00
bernat 7374804542 Adding plugins to the package 2020-12-22 16:13:50 +01:00
bernat a51a73ed87 Update content version 2020-12-21 23:03:06 +01:00
Axel 383c0ebb74 Fixed missing laneChange record in OSM converted OpenDRIVE maps. 2020-12-21 12:20:00 +01:00
bernat c07857a8cc Update content 2020-12-18 20:27:55 +01:00
bernat 0d24c199fa New option to package to a single archive all 2020-12-18 14:32:05 +01:00
Axel 9ead730f53 fixed check.sh 2020-12-18 11:47:39 +01:00
Axel 8521510be8 Fixed unexpected arguments causing an error in .sh build files. 2020-12-18 11:47:39 +01:00
Axel eabca398e9 Fixed build always reporting success even if failed. 2020-12-18 11:47:39 +01:00
bernat e32b13ccf2 Update content version 2020-12-17 19:16:30 +01:00
bernat b6de4cde11 Updating content version 2020-12-16 17:26:06 +01:00
bernat ccd36af546 Updating content version 2020-12-16 10:41:42 +01:00
bernat 71bfacf038 Update content version 2020-12-14 18:25:35 +01:00
bernat c8a330897a Update content version 2020-12-14 12:33:31 +01:00
bernat 8582de10d5 Revert a commit with workaround for windows 2020-12-14 12:33:31 +01:00
bernat 832099c70d Update content 2020-12-14 12:33:31 +01:00
bernat 87f477b852 Fix windows packages argument 2020-12-14 12:33:31 +01:00
bernat a6cb97474c content version 2020-12-14 12:33:31 +01:00
bernat f6325849d5 Workaround to solve the 1024 limitation on windows batch variables 2020-12-14 12:33:31 +01:00
bernat af522c247b Update content version 2020-12-14 12:33:31 +01:00
Axel 95b5242d1e Fixed paths 2020-12-11 16:59:44 +01:00
Axel 23a33eb43e Fixed windows paths 2020-12-11 16:59:44 +01:00
Axel 8881d1e898 Removed argument requirements. 2020-12-11 16:59:44 +01:00
Axel bffd921958 Added python script to edit uproject file. 2020-12-11 16:59:44 +01:00
Axel c0c24f6756 Updated uproject file 2020-12-11 16:59:44 +01:00
Axel1092 f408813e72 Fixed windows carsim toggle. 2020-12-10 20:38:33 +01:00
Axel1092 96b74f25ae Updated bat files to consider --carsim flag 2020-12-10 20:38:33 +01:00
Axel 3fff811bb8 Fixed missing includes 2020-12-10 20:38:33 +01:00
Axel b068dd81d5 Added to enable optional compilation of CarSim plugin. 2020-12-10 20:38:33 +01:00
bernat 64d2fc58f0 new content version 2020-12-03 12:24:24 +01:00
Axel 2e0f69d4a1 Updated ContentVersions.txt 2020-12-03 12:24:24 +01:00
Daniel Santos-Olivan b0cc977a8c Updated Content 2020-12-03 12:24:24 +01:00
Daniel Santos-Oliván 937eb73bfa Change to Windows launch
In this way, we make sure that the correct version of UE4 is used for
carla.
2020-12-03 12:24:24 +01:00
Marc Garcia Puig 13e5f76e62 Fixed error when using "--config" in make package 2020-12-02 11:55:45 +01:00
bernat 595cdd77b8 Updated content (black-listed folder name fixed) 2020-11-04 08:59:28 +01:00
bernat 5cb6488eac Updated content 2020-11-03 18:08:52 +01:00
Yash Jha eccf75bb05 Edited Windows.mk for directories with spaces
Recently added BuildOSM2ODR.bat wasn't quoted, meaning it may not work properly with directories having spaces. Eg.  Space between "My" and "PC" in C:/Users/My PC. This will lead to ignoring the BuildOSM2ODR.bat and ultimately inaccurate build. The issue is fixed in this commit.
2020-10-28 11:36:37 +01:00
Axel b9518b190f Fixed check.sh smoke test python version 2020-10-28 11:35: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 6f4e69da4c Fixed build script parsing arguments. 2020-10-02 11:51:37 +02:00
Axel c62070bbdd Fixed python 2 boost recompilation. 2020-10-02 11:51:37 +02:00
Axel b6c650d438 Python 2 returns. 2020-10-02 11:51:37 +02:00
Axel 247c27e6af Build scripts accept any option and only use those that are needed. 2020-10-02 11:51:37 +02:00
bernat 0c97e9a5de Enable deploy of four number version 2020-09-30 20:22:25 +02:00
Axel c2cb39afca Removed libxerces-c from prerequisites and documentation 2020-09-30 12:52:00 +02:00
Axel ae4102c1c9 Changed xerces-c transcoder. 2020-09-30 12:52:00 +02:00
Axel a4eaba572f Added Xerces-c library to setup.sh 2020-09-30 12:52:00 +02:00
bernat 55a83f911a New version 0.9.10 2020-09-25 14:52:05 +02:00
bernat 25f1780a1e New content version 2020-09-24 20:39:58 +02:00
bernat 549bed21f2 New content version 2020-09-24 12:49:58 +02:00
bernat 0ff1dc4561 New content version 2020-09-23 17:47:11 +02:00
bernat 3e76783217 Fixing python version 2020-09-23 17:47:11 +02:00
Marc Garcia Puig fb96d7f6c7 Updated ContentVersions 2020-09-18 17:24:56 +02:00
Marc Garcia Puig 6b9124f013 Added an accidentally removed `s` 2020-09-18 17:24:56 +02:00
Marc Garcia Puig df74d94a12 Updated CHANGELOG and content versions 2020-09-18 17:24:56 +02:00
Marc Garcia Puig 78c7564835 Updated ExposureCompensation 2020-09-18 17:24:56 +02:00
Marc Garcia Puig 3b81872f05 Updated content version 2020-09-18 17:24:56 +02:00
Axel 58a0709416 Updated ContentVersions 2020-09-16 16:32:45 +02:00
doterop f287a1e7c0
Automatic calculation of vehicle's BB (#3267)
* Added BB calculation

* Updated changelog

* Removed logs

* Improved BB calculation

* Added BB calculation

* Updated changelog

* Removed logs

* Improved BB calculation

* Updating content version

Co-authored-by: bernat <bernatx@gmail.com>
2020-09-09 14:29:31 +02:00
Axel 40296dfa90 Fixed python version argument string. 2020-09-04 17:24:16 +02:00
Axel 443113c890 Removed python 2 prerequisites. 2020-09-04 17:24:16 +02:00
Axel 658a7fb370 Fixed smoke test. 2020-09-04 17:24:16 +02:00
Axel 172d947ed8 Removed Python 2 from default builds. 2020-09-04 17:24:16 +02:00
Axel 2829e63f1b Added libxerces-c and setuptools version 2020-09-04 17:24:16 +02:00
Axel 63ad110bf5 Fixed test compilation. 2020-09-03 19:27:53 +02:00
Axel 15f93a6862 Added libpng to linux setup. 2020-09-03 19:27:53 +02:00
Pasch, Frederik 5f67e28821 Update RSS library to 4.1.0
Add setMapLogLevel() to rss sensor API
2020-09-03 16:15:54 +02:00
Marc Garcia Puig 537409d91e Updated ContentVersions and CHANGELOG 2020-09-02 14:44:42 +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
bernat 9e8f91337b Change to 0.9.10 version 2020-07-31 23:00:20 +02:00
doterop 7726382734 Updated ContentVersion 2020-07-31 21:55:30 +02:00
Axel 733e3a8fc9 Review fixes 2020-07-31 21:50:19 +02:00
Axel 89eb183fd8 windows package fix. 2020-07-31 21:50:19 +02:00
Axel 0e80bd8309 Updated package. 2020-07-31 21:50:19 +02:00
Axel1092 a9d0eb11ef Compilation fix. 2020-07-31 21:50:19 +02:00
Axel1092 009e92edf4 Minor build system update 2020-07-31 21:50:19 +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 8f5a5b43dc Added converter build system for windows. 2020-07-31 21:50:19 +02:00
Axel1092 1047c76d2b Added settings class for osm to odr conversion and documentation. 2020-07-31 21:50:19 +02:00
Axel1092 ed4805557b Finishing fist iteration of the OSM2ODR API 2020-07-31 21:50:19 +02:00
Axel1092 a3fa0f7bed Added xsd schema files to PythonAPI 2020-07-31 21:50:19 +02:00
Axel1092 f9baef5050 Added OSM to XODR to PythonAPI. 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 aa48256e93 Update RPClib with fix of crash when closing session 2020-07-31 15:15:35 +02:00
Marc Garcia Puig 4d9da5e374 Updated ContentVersion.txt 2020-07-29 16:09:18 +02:00
Fabian Oboril a71e6e9fe6 Fixed spdlog version to v1.7.0 for RSS
Just using the v1.x branch is now longer working, as it
requires a cmake newer than 3.5.
2020-07-29 16:02:09 +02:00
germanros1987 a4cbea5173
Update: Make CARLA faster in a docker container (#3098) 2020-07-28 12:20:00 -07:00
bernat 91790e20be Update content version 2020-07-23 21:55:10 +02:00
Pasch, Frederik f8dd4e7806 Update ad-rss-lib version 2020-07-23 12:59:37 +02:00
bernat c0e6754cef Update content version 2020-07-22 18:25:55 +02:00
bernatx 5661215174 Updating assets content 2020-07-21 10:43:03 +02:00
bernat 6757ae7059 Update assets content 2020-07-17 15:38:06 +02:00
bernat 72df68b56a Add module distro to docker 2020-07-17 15:38:06 +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
Pasch, Frederik bc898acdf9 Cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik 88ae9d04ae Update to AD RSS Library 4.0.0
- Added support for unstructured scenes and pedestrians.
- Rework rss example folder structure
- Python based debug drawing
- Handle negative speeds
- Fixes #2871 by linking libproj statically.
- Fixes #2958 by using sequential colcon build
- Allow setting log level
- Add ActorConstellationCallback
- Move setting of RssDynamics to python code
2020-07-14 17:53:28 +02:00
Axel1092 08fd7585e5 Updated ContentVersions.txt 2020-07-10 11:36:31 +02:00
pedroburito ad7621749e Update install_boost.bat
Specify target toolset while bootstraping (required when using VS2019 Buildtools and targeting 2017 toolchain)
2020-07-09 09:16:42 +02:00
Philipp Dittmann 6bfe53fb46 add 4 more missing backslashes to bat files 2020-07-09 09:16:17 +02:00
Philipp Dittmann 9ad22a290a Fix backslash for UE4_ROOT in Util/BuildTools/BuildCarlaUE4.bat 2020-07-09 09:16:17 +02:00
Philipp Dittmann 20bb4c55bd Fix Windows build: Batch Files: proper handling of input, (back)slashes, spaces 2020-07-09 09:16:17 +02:00
bernat ba63075f37 Move required modules into documentation 2020-07-08 23:17:33 +02:00
Markus Hofbauer 13d9ac7de1 replace deprecated platform dist with distro linux distribution call 2020-07-08 23:17:33 +02:00
bernat 74d37a85f1 Update UE4 version (from 4.22.2 to 4.24.3) 2020-07-07 16:55:07 +02:00
Johannes Schmitz c0b5f3f017 Remove unecessary line from launcher script to avoid sudo
The launcher script CarlaUE4.sh shouldn't require sudo. In fact the line that
requires sudo is not necessary at all since the executable flag is already
set.
2020-07-07 16:53:43 +02:00
Axel1092 a4b92a02d9 Updated changelog and content versions. 2020-06-30 21:38:47 +02:00
Marc Garcia Puig ab46478929 Updated content version 2020-06-10 14:43:21 +02:00
Joel Moriana f8407118f8 Fixed quality level in debian package 2020-06-03 11:35:16 +02:00
Joel Moriana a9c3007a6b Fix codacy errors 2020-06-03 11:35:16 +02:00
Joel Moriana 6d631a6933 Add support for new carla releases
* Allow choosing carla release through a parameter when calling the script.
* Package name updated to carla-simulator.
* Package URL updated.
* Automatic detection of python3 and python2 egg files.
* Adds Co-Simulation folder to the debian package.
2020-06-03 11:35:16 +02:00
bernat 74981af663 Added a test in smoke tests to check all spawnpoints in all maps 2020-05-14 14:22:30 +02:00
bernat 0e60250a2b If UE4_ROOT is not specified, then use the last version found in the registry 2020-05-04 10:04:52 +02:00
bernat 3f6e308301 Fix windows script to find UE4 directory 2020-05-04 10:04:52 +02:00
bernat 1a2c2ea76a Changing to version 0.9.9 2020-04-23 15:52:28 +02:00
bernat 07ff7f3ad1 Better build script 2020-04-22 23:21:11 +02:00
bernat 2eb2a0c047 Adding make docs on windows 2020-04-22 21:03:11 +02:00
bernat b3c6279248 Update ContentVersions 2020-04-22 21:02:55 +02:00
bernat 0b401bc792 Update ContentVersions.txt 2020-04-22 19:24:48 +02:00
bernat b58414265b Change windows package to Shipping mode 2020-04-22 19:24:19 +02:00
bernat 52b7073b48 Fixing idention 2020-04-22 12:24:28 +02:00
bernat 19627ac094 Smoke test fix, and windows clean fix 2020-04-22 12:24:28 +02:00
doterop 4384e386c2
Light API (#2756)
* Added CarlaLight class.

* Added get and set for carla light type.

* Added LightManager, Light and LightState

* Fixed unapplied changes

* Fixed LM::GetAllLights

* Fixed Python getter

* Added LightManager, Light and LightState. Python bindings included.

* Completed LightManager communication and LightSubsystem on server

* Fixed concurrency and color conversion

* Added check for null case on RegisterLight and UnregisterLight

* Fixed map change crash in editor.

* Added client syncronization.

* Updated Python docs.

* Fixed client sync

* Added CarlaLight class.

* Added get and set for carla light type.

* Added LightManager, Light and LightState

* Fixed unapplied changes

* Fixed LM::GetAllLights

* Fixed Python getter

* Added LightManager, Light and LightState. Python bindings included.

* Completed LightManager communication and LightSubsystem on server

* Fixed concurrency and color conversion

* Added check for null case on RegisterLight and UnregisterLight

* Fixed map change crash in editor.

* Added client syncronization.

* Updated Python docs.

* Fixed client sync

* Updated changelog

* New iteration on lights docs

* Fixed docs

* Content version updated

* Removed NonCopyable

* Compilation fix.

Co-authored-by: Axel1092 <axellopez92@outlook.com>
Co-authored-by: sergi-e <rigesklaine@gmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2020-04-17 12:29:54 +02:00
bernat 7d3d1796b1 Add opendrive files on packages, for standalone mode 2020-04-15 16:59:26 +02:00
bernat 244a85a9a1 Improved creation of json with 'json' module 2020-04-15 14:57:06 +02:00
bernat ff6d7d79e4 Remove build.utils from import (only used in Docker) 2020-04-15 14:57:06 +02:00
bernat a0294e9e78 Fix Codacy errors 2020-04-15 14:57:06 +02:00
bernat 22ebc81599 Fix PyLint errors 2020-04-15 14:57:06 +02:00
bernat fef9387750 Gives write access to the input folder in Docker 2020-04-15 14:57:06 +02:00
bernat a88c28a972 Adding autogeneration of JSON file if none exist 2020-04-15 14:57:06 +02:00
bernat 8e7d839f07 Adding check to shared library 2020-04-15 14:57:06 +02:00
bernat 53e6d48ce9 Fixing Codacy 2020-04-15 14:57:06 +02:00
bernat 63a19846d6 More checks in script 2020-04-15 14:57:06 +02:00
bernat 72e6a88ce1 Fix running FBX2OBJ with .SO file 2020-04-15 14:57:06 +02:00
berndgassmann cf413fa8b4
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-04-07 17:05:32 +02:00
bernat 04b5e4fcd4 Add backup for LibPNG for windows (SourceForge is not reliable) 2020-04-06 22:40:38 +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
Bernd Gassmann 179ec725fa Fix some robustness issues
Create RssCheck (again) when Listen is called to prevent from creating
loggers all the time someone lopps over the actor list and the
actor/sensor instances getting created.

Only traverse actor list in CreateWorldModel once.

tbb::parallel_for_each() gets already created actors and doesn't loop
itself over actor list (which blocks).

Finally changed code format of RSS to keep 120 chars per line.
2020-03-31 18:30:50 +02:00
berndgassmann 849a6c54c5
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-31 18:28:22 +02:00
bernat c393f3a1b1 Adding Co-Simulation on packages 2020-03-31 16:33:19 +02:00
berndgassmann dc6c80a820
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-31 10:28:35 +02:00
bernat 1c468bbca9 Updating ContentVersions.txt 2020-03-30 23:32:29 +02:00
bernat 4977071f40 Updating ContentVersions.txt 2020-03-30 22:57:43 +02:00
Bernd Gassmann d913938f1f Integrate ad-rss without find_package to cope with cmake 3.5 and newer boost version 2020-03-30 17:52:37 +02:00
Bernd Gassmann 19075c8ecb Remove src and build folders before cloning repos 2020-03-30 14:02:50 +02:00
Bernd Gassmann 808028db33 Remove submodules and build ad-rss under Build folder 2020-03-30 12:42:06 +02:00
Bernd Gassmann 7ad35a9ec5 Adapted to clang8 boost built
and added some words on colcon installation in Docu.
2020-03-30 11:00:50 +02:00
berndgassmann ee5c7c8c42
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-30 09:46:50 +02:00
bernat 35c346c170 Updating ContentVersions.txt 2020-03-29 16:30:28 +02:00
bernat 7df4f97ca9 Move backup to a public S3 2020-03-28 13:16:20 +01:00
bernat c65e6e67e6 Adding boost backups to prevent regular web failures from BinTray 2020-03-28 12:07:08 +01:00
bernat 585f868334 Updating ContentVersions.txt 2020-03-27 22:12:36 +01:00
berndgassmann 7d351b721d
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-27 14:45:53 +01:00
bernat 457b63b85e Upgrade to LLVM 8.0.1 2020-03-27 12:51:02 +01:00
Bernd Gassmann 67b17ee42a Code format according to google style
and tried to spot the remaining CamelStyle variable names and changed to
snake_style

Added code formatting script and clang-format slightly changed from
google format:
AccessModifierOffset: -1 -> -2
AllowShortFunctionsOnASingleLine: All -> Empty
ConstructorInitializerIndentWidth: 4 -> 2
2020-03-25 18:34:29 +01:00
Bernd Gassmann 45d0554483 Revert not required Setup.sh changes 2020-03-24 19:34:06 +01:00
Bernd Gassmann 20e61ef747 Try to comply with codacy output 2020-03-24 18:28:42 +01:00
Bernd Gassmann eea9359527 Integrate AD RSS v3.0.0
Move carla::client::Timestamp ostream operator to Timestamp.h to enable
reuse in log messages

Use of generated python interfaces of ad::physics, ad::map and ad::rss
types

RssSensor (and therefore also the RssRestrictor) now work globally on
the whole road network.

RssCheck: object conversion done in parallel using tbb
2020-03-24 13:46:54 +01:00
bernat 254639cd87 Updating ContentVersions.txt for 4.24 content 2020-03-20 12:01:30 +01:00
bernat 27e3733020 Upgrading windows scripts to 4.24 2020-03-20 12:01:30 +01:00
bernat 5905ef7cc2 More fixes to Jenkinsfile (Doxygen, Windows...)
Adding more scripts to Jenkinsfile


Adding autoscaling scripts
2020-03-19 17:34:07 +01:00
Joel Moriana 903cb22662 Using webclient instead of start-bitstransfer to download dependencies 2020-03-19 17:34:07 +01:00
bernatx 7509e9d8de Changing version to 0.9.8 2020-03-06 16:11:51 +01:00
bernatx fdcc0eaad0 Fixing Doxygen in Jenkinsfile 2020-03-06 14:38:22 +01:00
Marc Garcia Puig f47d9bd569 Improved linux recast installation 2020-03-06 12:55:37 +01:00
Marc Garcia Puig 74202dade8 Fixing Jenkins Recast install 2020-03-06 09:49:38 +01:00
Marc Garcia Puig ee343dbe9b Added support for recast build from server-side 2020-03-06 09:49:38 +01:00
himanshugoswami 8509511e52 Resolved Codacy issue 2020-03-05 14:36:39 +01:00
himanshugoswami 4a0333834c Added Makefile to make debian packaging OS independent 2020-03-05 14:36:39 +01:00
himanshugoswami 2b41b1cbf3 code refactoring 2020-03-05 14:36:39 +01:00
himanshugoswami f3f0f49e85 code refactoring 2020-03-05 14:36:39 +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
doterop 85b192530d
Doterop/traffic manager (#2468)
* Initial implementation of t.m. performance script

* Remove redundant getLocation() calls

* Demo for inter-client communication via Carla server

* WIP: To do: For client usage needed to be changed.

* Instead or client instance episodeProxy is passed to TM

* Instead or client instance episodeProxy is passed to TM

* parmeter improvements (walkers,cars,signs,lights)

* adding section id to map setup

* fix manual_control to reload car with autopilot on

* Instead of client instance episodeProxy is passed to TM.

* WIP: Only added vehicle register via RPC server / client call in TM to
local instance from remote instance. Similarly other APIs we need to
added.

* Added all TM APIs

* carla client now can provide TM instance if required.

* While getting TM instance if server given data is not valid new TM
instace is created. Need to decide what to do with earlier registed
vehicle with previous TM.

* Updated with HealthCheckRemoteTM() function to check TM server status
instead of ResetAllTrafficLights() for any new user client.

* Dynamic port selection added to TM server instace (in case of multiple
TM serve run, it required).

* Fixed change map error

* If registered TM at carla server is not present then remote TM should be
freed and new local TM instance is created.

* Created Process for Local TM.
It cheaks with total registered vehicles in it, if no register vehicles
for 5 sec, it closes it self.

In python spawn_npc.py Client Timeout set to 10 sec. as creating Process
is system dependent call and takes time.

User has to unregister vehicle before destroying it (if activated with
TM). Also neet to check TM unregister function to remove vehicles from
register list.

* Fix for collision ignore bug

* Update TM exit function check to compare registered vehicles with world
actors that if any valid vehicle present cointinue to run the TM else
stop.

* Print removal

* Splited work of main for loop in ApplyBatchCommandsSync

* WIP! Trying to get client directly

* WIP! Trying to access episode properly without getting it from TM ctr

* Changes to BatchControlStage for Sync Mode
Changes to Parameters for Synch Mode

* Added port support for TM. Multiclient MultiTM

* Added additions for RPC Synchronous Tick to TM.
Error handeling and code organization.

* Exposed API for Sync Mode

* TMServer notifies Server that it is gonna be destroyed

* Exposed Python API for Sync Mode

* Add TM as separate process and synchronous tick calls

* SetSynchronousModeTimeOutInMiliSecond method added

* TM shutsdown and informs to the connected clients

* WIP! Map change issues again

* Updated Traffic Manager for:
1) Multi-client, Multi-TM (as required) can be reistered to server.
2) TM is not a PROCESS separated from the user-client.
3) TM will exit if user-client exit.
4) If server closed, TM also get closed by catching runtime err.

* Server side changes ...

* Fixed possible stall on TM destruction

* fixing collision stage + cybertruck not safe

* Merge branch 'master' into 'soumyadeep/traffic_manager'

* WIP! Disconnection of server has to be properly handled by clients

* format update

* Fix bug unsignalized junctions

* # WARNING: head commit changed in the meantime

Merge branch 'doterop/traffic_manager' into soumyadeep/traffic_manager
Updates for Syncronized Tick.

* Updated runtime exception in Episode for smooth exit if TN server closed
for any other user client.

* Better Exception handeling

* Merged with jackbart94/tm_reduce_getloc_calls

* Merged soumyadeep/traffic_manager.
Removed World getter and recovered Episode as a parameter of TM ctr.
Fixed syntax errors.

* Initial implementation of t.m. performance script

* Remove redundant getLocation() calls

* Demo for inter-client communication via Carla server

* WIP: To do: For client usage needed to be changed.

* Instead or client instance episodeProxy is passed to TM

* Instead or client instance episodeProxy is passed to TM

* parmeter improvements (walkers,cars,signs,lights)

* fix manual_control to reload car with autopilot on

* Instead of client instance episodeProxy is passed to TM.

* WIP: Only added vehicle register via RPC server / client call in TM to
local instance from remote instance. Similarly other APIs we need to
added.

* Added all TM APIs

* carla client now can provide TM instance if required.

* While getting TM instance if server given data is not valid new TM
instace is created. Need to decide what to do with earlier registed
vehicle with previous TM.

* Updated with HealthCheckRemoteTM() function to check TM server status
instead of ResetAllTrafficLights() for any new user client.

* Dynamic port selection added to TM server instace (in case of multiple
TM serve run, it required).

* Fixed change map error

* If registered TM at carla server is not present then remote TM should be
freed and new local TM instance is created.

* Created Process for Local TM.
It cheaks with total registered vehicles in it, if no register vehicles
for 5 sec, it closes it self.

In python spawn_npc.py Client Timeout set to 10 sec. as creating Process
is system dependent call and takes time.

User has to unregister vehicle before destroying it (if activated with
TM). Also neet to check TM unregister function to remove vehicles from
register list.

* Fix for collision ignore bug

* Update TM exit function check to compare registered vehicles with world
actors that if any valid vehicle present cointinue to run the TM else
stop.

* Splited work of main for loop in ApplyBatchCommandsSync

* WIP! Trying to get client directly

* WIP! Trying to access episode properly without getting it from TM ctr

* Changes to BatchControlStage for Sync Mode
Changes to Parameters for Synch Mode

* Added port support for TM. Multiclient MultiTM

* Added additions for RPC Synchronous Tick to TM.
Error handeling and code organization.

* Exposed API for Sync Mode

* TMServer notifies Server that it is gonna be destroyed

* Exposed Python API for Sync Mode

* Add TM as separate process and synchronous tick calls

* SetSynchronousModeTimeOutInMiliSecond method added

* TM shutsdown and informs to the connected clients

* WIP! Map change issues again

* Updated Traffic Manager for:
1) Multi-client, Multi-TM (as required) can be reistered to server.
2) TM is not a PROCESS separated from the user-client.
3) TM will exit if user-client exit.
4) If server closed, TM also get closed by catching runtime err.

* Fixed possible stall on TM destruction

* fixing collision stage + cybertruck not safe

* Merge branch 'master' into 'soumyadeep/traffic_manager'

* WIP! Disconnection of server has to be properly handled by clients

* format update

* Fix bug unsignalized junctions

* # WARNING: head commit changed in the meantime

Merge branch 'doterop/traffic_manager' into soumyadeep/traffic_manager
Updates for Syncronized Tick.

* Updated runtime exception in Episode for smooth exit if TN server closed
for any other user client.

* Better Exception handeling

* Merged with jackbart94/tm_reduce_getloc_calls

* Merged soumyadeep/traffic_manager.
Removed World getter and recovered Episode as a parameter of TM ctr.
Fixed syntax errors.

* Rebased with master

* Changes after rebase

* Solving tab errors

* Updated Changelog

* Removing Destroyed vehicle's from TM Server

* Fixed uint compatibility with Windows

* Merged soumyadeep/traffic_manager. Discarded destroyed actors

* -Removed unnecessary files

* restoring docs from rebase

* Fix windows compilation

* refactoring stage-related code

* more code refactoring

* When map change the simulation doesn't throw exception anymore

* Fixed incorrect episode

* Fixed map change and TM remote detached thread destruction

* Syntax and comments fixes

* Missed change on previous commit

* Fixed compile minor compile issue

* Cleaned and fixed some issues after merge

* fix to sync localization bugs
modified PID parameters
revamping spawn_npc

* deleted tm_spawn_npc

* fixes spawn error in sync mode

* Redoing TM sync logic

* finished performance benchmark for tm

* deprecated wrapped methods:
register_vehicle
unregister_vehicle

* New TM management

* Fixed sync mode on TM

* Cleaned TM of prints and unussed functions

* collision stage checks for (0,0,0) to ignore.
in memory map has an # between keys to avoid possible mixup.
fixed spawn_npc with new sync mode

* changelog

* added more connection retries

* fixed changelog + comments (see reviewable)

* Moved socket include's to single header

* Added missing line at the end of the file

* Fixed syntax errors

* final commit

* Minor correction in comment

* update copyright year to 2020 + removed break

* restoring unwanted changes

* patch for smoke test error

* Removed "todo" for pylint

Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
Co-authored-by: Praveen Kumar <35625166+pravinblaze@users.noreply.github.com>
Co-authored-by: Soumyadeep <soumyadeep.dhar@kpit.com>
Co-authored-by: joel-mb <joel.moriana@gmail.com>
Co-authored-by: Sekhar Barua <58979936+sekhar2912@users.noreply.github.com>
Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-02-28 19:58:13 +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 e23d62dd88 Added support for space in paths 2020-02-28 16:01:47 +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
Jeff Xiao 8e881ad5a7 Only create target folder if source folder exists
build.sh returns without errors even if there it does not generate a .bin file
this is a slight improvement on the existing fix
2020-02-28 16:01:47 +01:00
Michele Bianchi 8687ab18bc Updated Import.py style 2020-02-28 16:01:47 +01:00
Michele Bianchi a5e311e286 Don't assume that the map contains a pedestrian navmesh 2020-02-28 16:01:47 +01:00
Marc Garcia Puig 739001f04c Fixed codacy errors 2020-02-28 11:16:53 +01:00
nsubiron 9b1d307afc Use folder checksum to determine if CMake needs to be re-run 2020-02-28 11:16:53 +01:00
Marc Garcia Puig 9cdf00155e Added RecastBuilder to linux package 2020-02-28 11:02:45 +01:00
Marc Garcia Puig 28396910ff Added the map to the default package 2020-02-28 11:02:45 +01:00
Marc Garcia Puig b5c32aa8d2 Fixed PR issues 2020-02-28 11:02:45 +01:00
Axel aa017da604 Fixed indentation. 2020-02-25 12:07:45 +01:00
Axel 4cfcf1e52a Updated boost patch to fix exception error. 2020-02-25 12:07:45 +01:00
nsubiron c27aa1e40b Upgrade Boost to 1.72.0 2020-02-25 12:07:45 +01:00
krmartin 379cb5c319 Update install_rpclib.bat 2020-02-25 11:47:43 +01:00
Jit Ray Chowdhury 692bfeb144 added -iterate for BuildCookRun in Package.sh for faster re-cook 2020-02-21 15:43:01 +01:00
Marc Garcia Puig 7eda35fe80 Deleted opendrive cephes lib 2020-02-07 17:16:48 +01:00
Marc Garcia Puig 744a2d47e0 Fixed style 2020-02-07 17:16:48 +01:00
Cesar De Souza 31219b1c42 Fixed windows boost fix 2020-02-07 17:16:48 +01:00
Axel 01f9a3894b Added boost fix for windows. 2020-02-07 17:16:48 +01:00
Axel fc098c2579 Modified boost files to fix make package error. 2020-02-07 17:16:48 +01:00
urishab cad0c23ee6 better error message for missing "py launcher" 2020-02-04 15:34:25 +01:00
Marc Garcia Puig 92f2dde355 Updated cont_ver, since older one had invalid xodr 2020-02-04 10:39:01 +01:00
Marc Garcia Puig 2e656362c9 Updated docs and content version 2020-02-04 10:39:01 +01:00
bernatx 5a904579af Fixing wrong comparison in 'if' clause 2020-02-03 18:14:10 +01:00
Jeff Xiao cb9a48e40c Update Util/BuildTools/BuildPythonAPI.bat
Co-Authored-By: Gökhan Barış Aker <gokhanbarisaker@gmail.com>
2020-02-03 12:05:31 +01:00
Jeff Xiao 781ca97676 Fix make clean and success message 2020-02-03 12:05:31 +01:00
Marc Garcia Puig 7bd95e49b6 Updated ContentVersion.txt 2020-01-20 20:53:58 +01:00
bernat b9fbbf7fd0 Release candiadate (#2310) 2019-12-21 04:59:22 +01:00
Marc Garcia Puig 51a4683d30 Fixed dirty deploy 2019-12-11 21:11:26 +01:00
bernatx 47a2d82738 Release Linux 0.9.7 2019-12-11 18:17:36 +01:00
Jacopo Bartiromo 2362f71216 Removing traces of old make TrafficManager 2019-12-11 16:31:51 +01:00
Jacopo Bartiromo d4b57a44b7 Fixes pyconfig.h error 2019-12-11 16:31:51 +01:00
Xavi d3a504bb9b Update Content Version Release 2019-12-11 15:42:40 +01:00
bernatx 19ddc9fb79 Add BIN files to package 2019-12-11 15:42:40 +01:00
bernatx 36eacf67cc Fix docker utils 2019-12-11 15:42:40 +01:00
bernatx 0891cd6746 Fixing import.py 2019-12-11 15:42:40 +01:00
bernatx 00b901c9e2 Updating Docker pipeline to rebuild pedestrian binary for navigation 2019-12-11 15:42:40 +01:00
bernatx 5f1b5e18e0 Fix import on windows, and rename imported assets 2019-12-11 15:17:51 +01:00
German Ros ebbf2748b9 Update: New Dockerfile to support OpenGL and Vulkan in headless mode
* Support for OpenGL and Vulkan in headless mode
2019-12-11 14:56:29 +01:00
bernatx 960fac7e47 Last version of Recast 2019-12-11 12:07:59 +01:00
Marc Garcia Puig 6161c54b01 Added gitignore file in DockerUtils 2019-12-11 12:07:59 +01:00
bernatx 5fc36879ed Updating Recast last version 2019-12-11 12:07:59 +01:00
Marc Garcia Puig afea285a93 Fixed Setup.sh permissions and other files 2019-12-11 12:07:59 +01:00
bernatx ad0488006a Walkers check vehicles in the direction to go 2019-12-11 12:07:59 +01:00
bernatx a41815f54c Fixing pedestrians collision with vehicles 2019-12-11 12:07:59 +01:00
bernatx f12e63890f Finetunning pedestrians collision 2019-12-11 12:07:59 +01:00
bernatx e2bb97bbaa Update Recast version 2019-12-11 12:07:59 +01:00
bernatx 780f0b0b75 Fixes from PR. Added distance to check for vehicles. 2019-12-11 12:07:59 +01:00
bernatx f1b48b88ea Add hash to the Recast folder to identify latest version 2019-12-11 12:07:59 +01:00
bernatx a0317960d3 Update new Recast version 2019-12-11 12:07:59 +01:00
bernatx 18a89f410c Update new Recast version to use 2019-12-11 12:07:59 +01:00
bernatx 1c4b8c4bea Pedestrians check if a vehicle is near before crossing 2019-12-11 12:07:59 +01:00
bernatx b6cfcbe92c Using last version of Recast 2019-12-11 12:07:59 +01:00
bernatx 21f0bcf2e1 Use last version of Recast fork 2019-12-11 12:07:59 +01:00
bernatx 2060558da7 Pedestrians now can try to avoid vehicles 2019-12-11 12:07:59 +01:00
Xavi 927a3091fb Update content version 2019-12-11 05:07:04 +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
manishthani 89e329b738
Fixed bugs of importing assets (#2068)
* Refactor Commandlet + made small fix

* fixed scale of assets when importing them

* Fixed bug of adding assets automatically, but semantic segmentation to be fixed

* small fix + hiding movemeshes call until its stable

* Meshes are moved to semantic segmentation folders

* Retagging semantic segmentation

* Redefined tags, refactor and added comments

* Updated Changelog

* created a move assets commandlet

* Removing RoadRunnerFiles folder

* readded flag of only prepare maps in import script

* Removing ContentBrowser module

* Added Import folder

* updated readme

* Apply zero rotation

* updated doc link

* updated readme

* refactoring

* Adding more comments and refactoring

* Removed unnecesary include header files

* Remove unnecessary includes in source files
2019-09-17 14:57:22 +02:00
nsubiron e2c4dc1312 Increase version 2019-07-12 19:39:27 +02:00
nsubiron 1fb8c65b35 Add build config as argument to the package command 2019-07-12 19:03:04 +02:00
nsubiron c9af8a71b8 Update content link 2019-07-11 11:42:38 +02:00