Commit Graph

382 Commits

Author SHA1 Message Date
doterop 8f1b401e49
Adding load control on sublevels (#3515)
* Added MapLayer enum

* Added Load/Unload layer functions

* Added calls to register and tag objects on map change

* Added missing file

* Updated MapLayer to support more layers

* Added calls to PythonAPI

* Added default value

* Moved CurrentMapLayer to GI

* Updated manual_control with maplayer handling

* Updated help

* Updated Changelog

* Fixed a missing `;`

* Fixed LoadWorld() API so it works with old code

* Added missing include for shipping builds

* Fixed base enum type of MapLayer

* Removed int number from layer output

* Renamed variables

* MapLayer converted to int32 and added generic enumToString function

* MapLayer back to uint16

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-11-02 11:22:49 +01:00
doterop 4abdd5394f
Character in 2Wheeled BB (#3471)
* Vehicle BB calculation has been updated to include character in 2 wheeled vehicles.

* Updated CHANGELOG.md
2020-10-29 15:20:18 +01:00
Marc Garcia Puig 6d20f7d374 Updated requirements.txt with Pillow 2020-10-27 17:22:02 +01:00
Marc Garcia Puig 4c4b5a6a9e Updated Changelog 2020-10-27 17:22:02 +01:00
San d3f61335dd
osm-xodr conversion encoding correction (#3421)
* open .osm with utf-8 encoding enabled

As the .osm files are utf-8 encoded, it was raising errors while running the config.py script. Added the parameter `encoding='utf-8'` to solve it.

* Update CHANGELOG.md

Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
2020-10-23 10:11:34 +02:00
Pasch, Frederik fddf3c9b2e Update ad-rss-lib to 4.4.0 2020-10-20 14:41:19 +02:00
doterop 4fd68f7894 Updated changelog 2020-10-19 21:31:45 +02:00
doterop d40c47adb5 Updated changelog 2020-10-19 21:31:45 +02:00
Jacopo Bartiromo c54aa11653 CHANGELOG update 2020-10-14 11:16:40 +02:00
bernat 54ab51e57a Updating Changelog 2020-10-09 12:18:48 +02:00
berndgassmann b91e1b5e0e
Merge pull request #3388 from carla-simulator/fix_rss_sensor 2020-10-08 11:29:25 +02:00
bernat 4550573b5e Let skip messages in async, and block on sync mode 2020-10-07 10:56:04 +02:00
bernat 159801fd40 Changelog 2020-09-25 21:15:47 +02:00
Daniel Santos-Olivan 709bfe016f Updated CHANGELOG 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 7c3c259926 Updated CHANGELOG 2020-09-23 20:40:44 +02:00
Jacopo Bartiromo 7360436c9d
Determinism for Traffic Manager (#3333)
* Check for determinism

* Per-vehicle random device

* Parameterised random device seed.

* Changing next waypoint selection logic
to use bucketing random device sample.

Arranging next waypoint selections right to left.

* Change to numpy's random lib

* Sorting blueprints to ensure determinism

* New method for determinism

* ResetAllTrafficLight now works in sync mode.

* Moving recorder stuff to engine module

* Fixed recorder for traffic lights in standalone mode.

* Added check to prevent traffic light from updating during replay.

* Updating old traffic lights to use the traffic light component.

* Moved recorder to posttick.

* Small fix to elapse time function.

* Added reset group function to API.

* Merge with traffic_manager/determinism_check

* Changes in TL reset
Option to save to file for recorder script

* Added automatic signal match with OpenDRIVE.

* Fixed error that caused traffic light actors to be missing in client side.

* Added new frozen behavior.

* Updated documentation and changelog

* Updated ContentVersions.txt

* Review changes.

* fixes merge error

* fixes merge

* Update build_windows.md

Added info about command execution that toke me many time to find out

* Update build_windows.md

Updated as requested in pull request review

* Running Carla when choosing a) deb Carla install

This fixes a minor error in the documentation regarding running carla, if the deb installation was choosen.

* Fix for traffic manager freezing upon map change

* attempt to change sys clock to sim clock

* Remove manual unlock of mutex

* fixing merge error

* Changelog and review fixes

Co-authored-by: Praveen Kumar <pravinblaze@hotmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Axel1092 <axellopez92@outlook.com>
Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
Co-authored-by: Néstor Sabater <web.nsabater@gmail.com>
Co-authored-by: ll7 <32880741+ll7@users.noreply.github.com>
2020-09-22 15:20:52 +02:00
Daniel Santos-Olivan 6478d03657 Updated changelog 2020-09-22 12:00:22 +02:00
doterop cc7b1ea910
Retrieve BBs of all the elements of the level (#3301)
* Added new function to calculate BBs on SKM and SM

* Added BB calculation for an array of actors

* Added BB folliage calculation

* Added a call on the GM to get all the BBs of the level

* Fixed Folliage BB calculation.

* GM::GetAllBBsOfLevel now returns the array of BBs

* Added call on the server side to retrieve the BBs

* Removed debug draw calls

* Added call to the PythonAPI

* Added check for empty folliage actors

* Added missing EOF

* Added new RotateVector function

* Added rotation to the BBs

* Update changelog

* Split BB calculation on more functions

* Add tag query and simplified Folliage actor BB calculation

* Look for ISM instead of HISM

* Cleaning comments

* Fixed BB duplication on BP_Procedural_Buildings

* Fixed BB duplication on vehicles BPs

* Added pedestrians case

* Added CityObjectLabel enum on PythonAPI

* Splitted logic in small functions

* Fixed uint8_t

* Merged BB of the lights in a TL

* Splitted work into more functions

* Added missing BB and rotation to TL

* Cleaned comments

* Added missing include

* Changed None to Any in PythonAPI

* Fixed Any enum

* Added check for empty folliage actors

* Added missing EOF

* Added new RotateVector function

* Added rotation to the BBs

* Update changelog

* Split BB calculation on more functions

* Add tag query and simplified Folliage actor BB calculation

* Look for ISM instead of HISM

* Cleaning comments

* Fixed BB duplication on BP_Procedural_Buildings

* Fixed BB duplication on vehicles BPs

* Added pedestrians case

* Added CityObjectLabel enum on PythonAPI

* Splitted logic in small functions

* Fixed uint8_t

* Merged BB of the lights in a TL

* Splitted work into more functions

* Added missing BB and rotation to TL

* Cleaned comments

* Changed None to Any in PythonAPI

* Fixed Any enum

* Fixed rebase
2020-09-21 18:22:03 +02:00
Marc Garcia Puig df74d94a12 Updated CHANGELOG and content versions 2020-09-18 17:24:56 +02:00
Jacopo Bartiromo 1139d679b1 changelog update 2020-09-18 14:55:14 +02:00
glopezdiest 32721d951f
Waypoint buffer cleans on route reset (#3264) 2020-09-17 15:48:09 +02:00
Axel f008c922ba Updated changelog. 2020-09-16 16:32:45 +02:00
bernat 131764de0c changelog 2020-09-09 23:07:34 +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
Pasch, Frederik d8005283be Update changelog 2020-09-03 16:15:54 +02:00
Marc Garcia Puig 537409d91e Updated ContentVersions and CHANGELOG 2020-09-02 14:44:42 +02:00
Simran Verma 5a6e41d457
Update CHANGELOG.md (#3202)
Co-authored-by: bernat <bernatx@gmail.com>
2020-09-02 12:17:12 +02:00
erdnaxe 33508ad1be
Upgrade carla Docker image to Ubuntu 18.04 (#3054)
Co-authored-by: bernat <bernatx@gmail.com>
2020-09-02 12:08:46 +02:00
bernat 9e8f91337b Change to 0.9.10 version 2020-07-31 23:00:20 +02:00
doterop 758dec2677 Updated changelog 2020-07-31 21:55:30 +02:00
Axel ab692ade56 Updated changelog 2020-07-31 21:50:19 +02:00
Daniel Santos-Olivan dbeec13bfd Updated CHANGELOG 2020-07-31 16:39:06 +02:00
bernat 9430d7e6f3 Update documentation 2020-07-31 16:38:41 +02:00
Daniel Santos-Olivan f140584228 Refactored CHANGELOG 2020-07-31 15:15:01 +02:00
joel-mb aeb30d6b5a
[SUMO co-simulation] Fixed computing not allowed routes (#3129)
* Fixed bug computing not allowed routes

* Removed trailing spaces

Co-authored-by: bernat <bernatx@gmail.com>
2020-07-30 15:31:04 +02:00
Daniel Santos-Olivan 41da4d205f Updated CHANGELOG 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f94a9bad91 Added Open3D example script 2020-07-30 15:16:42 +02:00
Marc Garcia Puig c0244d2e85 Updated the changelog 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
Pasch, Frederik f8dd4e7806 Update ad-rss-lib version 2020-07-23 12:59:37 +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
Timothy Scott 0b781d5fd5
Added noise to Lidar sensor (#3001)
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-07-17 12:33:50 +02:00
Marc Garcia Puig 8557c0b4e5 Updated changelog 2020-07-16 10:13:42 +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 fcc5140873 Updated documentation and changelog 2020-07-10 11:36:31 +02:00
Daniel Santos-Oliván 9b537a226c Update CHANGELOG 2020-07-09 10:24:45 +02:00
Markus Hofbauer 13d9ac7de1 replace deprecated platform dist with distro linux distribution call 2020-07-08 23:17:33 +02:00
Daniel Santos-Olivan e292109879 Updated changelog 2020-07-08 11:44:23 +02:00
doterop cd0c784a71 Updated changelog 2020-07-07 16:53:00 +02:00
Timothy Scott bdc5edd2e6 Fixed gyro to report angular velocity in local sensor frame 2020-07-02 12:22:51 +02:00
Daniel Santos-Olivan 9376c214f3 Updated CHANGELOG 2020-07-02 12:22:12 +02:00
Marc Garcia Puig 35101617be Updated changelog 2020-07-01 19:37:50 +02:00
Axel1092 a4b92a02d9 Updated changelog and content versions. 2020-06-30 21:38:47 +02:00
bernat 9b716e1698 All streams are multi stream now 2020-06-30 13:12:22 +02:00
DSantosO baf43b07a6
Merge pull request #2951 from carla-simulator/dsantoso/lidar-impr
Raycast parallelization
2020-06-18 15:48:29 +02:00
Marc Garcia Puig 083d579961 Added default values for lanes missing width 2020-06-18 14:51:51 +02:00
bernat 6420791795 Removing plugins as submodule 2020-06-12 11:21:28 +02:00
bernat 4cd688fd7c changelog 2020-06-11 16:00:43 +02:00
Hakhyun Kim 7322617da4 Add change log for debug draw collision fix 2020-06-11 13:03:38 +02:00
patmalcolm91 cfee05feff
add support for additional TraCI clients (#2885) 2020-06-11 11:26:59 +02:00
Marc Garcia Puig dcd3c526bf Fixed changelog 2020-06-08 10:49:31 +02:00
Marc Garcia Puig fc133121c7 Added get function for all car light states 2020-06-08 10:49:31 +02:00
Axel1092 827368588d Updated docs and CHANGELOG. 2020-05-29 12:34:29 +02:00
bernat 3fd9fc27f1 Exchange the lane marking colors, they were in reverse 2020-05-11 18:50:51 +02:00
Marc Garcia Puig 87ac3b9a6d Minor fixes and code style adaptation 2020-05-08 20:08:27 +02:00
Marc Garcia Puig 3893a32df4 Updated changelog 2020-05-08 12:12:57 +02:00
Timothy Scott af23cd4cb9 Updated changelog 2020-05-06 15:48:38 +02:00
bernat b67ba6c3c9 Updating to master 2020-05-06 13:09:12 +02:00
Vaan5 06cbfa673d Add missing include in WheelPhysicsControl.h 2020-05-06 13:09:12 +02:00
Marc Garcia Puig e78ccc6852
Rain particles and Update.sh fixes (#2814)
* Fixed camera weather changes

* Updated changelog

* Fixed Update.sh when root path contains and space
2020-05-05 16:46:41 +02:00
bernat 4dc6eba755 New API function to add angular impulse to an actor 2020-05-05 11:16:23 +02:00
bernat af9f0b7d0a Changelog.md with new version 2020-04-23 12:47:42 +02:00
Marc Garcia Puig b15f56807d Updated Changelog 2020-04-22 20:59:21 +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
Joel Moriana 3cda82adec CHANGELOG updated 2020-04-15 11:11:37 +02:00
Axel1092 f2130d1ef4 Updated changelog. Updated Python documentation. 2020-04-13 16:50:32 +02:00
Marc Garcia Puig 8c8acee730 Updated changelog 2020-04-13 16:50:32 +02:00
berndgassmann 07fafaea67
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-04-02 19:59:17 +02:00
Axel1092 69e5e8bbf6 Fixed missing documentation for get_junction function. Updated changelog. 2020-04-02 19:01:31 +02:00
berndgassmann 849a6c54c5
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-31 18:28:22 +02:00
Marc Garcia Puig 0eed245e34 Review fixes 2020-03-31 12:11:39 +02:00
Marc Garcia Puig d3854f8308 Updated the CHANGELOG 2020-03-31 12:11:39 +02:00
berndgassmann dc6c80a820
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-31 10:28:35 +02:00
Jacopo Bartiromo 151e38ce8d
Hybrid mode for Traffic Manager (#2674)
* Improved braking, collision negotiation.

* Improved braking algorithm for smoother approach
to lead vehicle.

* Implemented smoother path boundary modification
to aid smoother braking.

* Re-worked collision negotiation algorithm.

* Improved collision candidate filtering.

* Added safe-guard in case of vehicle removal
in collision stage.

* Used local variable for heavily referenced object
in localization stage.

* Implemented vector relative velocities
for motion planner's collision consideration.

* Moved collision candidate sorting logic
from collision stage to localization stage.

* Sorting collision candidates using their ids
instead of shared pointers to avoid memory corruption.

* Improved conditions for collision consideration
for greater efficiency.

* Removed fps limit in async mode.

* Hybrid physics mode

* Introduced hybrid physics mode parameter
* Implemented physics independent velocity computation
* Modified localization stage to be physics agnostic

* Fixing velocity compute interval in sync and async mode.
Made motion planner stage work with internally computed velocities.

* Made collision stage agnostic to actor physics

* Sampling waypoint buffer for teleportation window

* WIP: Teleportation changes

* WIP2: Teleportation changes

* Fixes waypoint window and vehicle spawning

* hotfix to performance benchmark

* comment out debugs

* changelog

* fixes collision bug

* fixes package error and out_of_range bug

* changes after review

* Left & Right Transit of a lane: Waypoint mapping

Co-authored-by: Praveen Kumar <pravinblaze@hotmail.com>
Co-authored-by: Soumyadeep <soumyadeep.dhar@kpit.com>
2020-03-30 22:53:29 +02:00
Joel Moriana 4ed014a2fe CHANGELOG updated 2020-03-30 20:30:11 +02:00
Joel Moriana 06e6357e65 CHANGELOG updated 2020-03-30 18:50:18 +02:00
berndgassmann 5dda249040
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-30 17:49:15 +02:00
Axel1092 3f96494966 Updated CHANGELOG. 2020-03-30 14:40:39 +02:00
berndgassmann 7d351b721d
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-27 14:45:53 +01:00
Marc Garcia Puig d467bbb1da Used new tri strip function to generate road mesh 2020-03-27 12:51:34 +01:00
Marc Garcia Puig 77c043d55e Fixed and updated CHANGELOG 2020-03-27 12:51:34 +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
Axel1092 901c6171e0 Updated changelog. 2020-03-20 12:01:30 +01:00
Jacopo Bartiromo 4bc53a7f6c
New behavior agent + small changes to manual and automatic control. (#2508)
* pr agent behaviors

* pr agent behaviors

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* limits for steering

* Add files via upload

* pylint formatting

* pylint formatting

* seed flag for repeatability

* seed flag for repeatability

* Add files via upload

* Add files via upload

* first pr review corrections

* Add files via upload

* Add files via upload

* Delete parameters.py

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* start of pedestrian avoidance + minor fixes

* start of pedestrian avoidance + minor fixes

* get_map check

* get_map check

* get_map check.

* Delete basic_agent.py

* Delete roaming_agent.py

* pylint final changes

* Pylint final check

* more pylint

* minor fix

* minor changes

* Add files via upload

* changes in PID + old models

* trying to stabilize waypoint distance

* fixed step in sampling radius

* folder structure change and more stuff

* pylint fix

* re-introducing pedestrian avoidance

* minor things

* deleted unused folder

* restore basic folder

* resurrected behavior agent

* set debug to false

* remove prints + open PR

* changelog

* setting behavior agent as default in auto_control
changing manual_control to have slower increasing braking too

* Requested modifications PR

The vehicle can now accelerate and brake at the same time again.
Removed unnecessary  variable.

* Fix frame rate display for the client

* removing unnecessary duplication
reordering folders
code cleanup for codacity

* unused import

* codacity and travis changes

Co-authored-by: Joel Moriana <joel.moriana@gmail.com>
2020-03-17 11:31:05 +01:00
Rowan McAllister 91f5d909b6 Updated changelog. 2020-03-16 17:05:01 +01:00
Guillermo 51621a9848 CHANGELOG 2020-03-13 18:04:20 +01:00
bernatx 7509e9d8de Changing version to 0.9.8 2020-03-06 16:11:51 +01:00
Jacopo Bartiromo aff8fe8fc3 changelog and remove print 2020-03-06 16:06:34 +01:00
doterop 94affd9b79
Added timeout to World Tick (#2556)
* Added timeout to World Tick

* Updated Changelog

* Fixed timeout on SetEpisodeSettings

Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-03-06 13:04:04 +01:00
Joel Moriana 276720b4ca CHANGELOG updated 2020-03-06 12:57:12 +01:00