Commit Graph

1513 Commits

Author SHA1 Message Date
Daniel Santos-Olivan 365082c8e2 Added util script to test vehicle physics 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan fd2c3885d8 TestVehiclePhysics: Disabled wheel collision test 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan cf0cd184bb Add collision sensor test to list 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 7dc9e78331 TestVehiclePhysics: Update and enable all tests 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan d8c2342a3c CollisionSensorTest: Enable test and minor update 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 4090eb7fe3 Added smoke test for collision sensor 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 668303ef76 Added smoke to check the point count for Lidar and Semantic Lidar 2021-05-20 16:33:27 +02:00
corkyw10 1091bc5676 Moved horizontal_fov variables to sensor ref blueprint tables. Corrected values in Python API. 2021-05-20 16:33:27 +02:00
corkyw10 e786b9179a Updated PythonAPI with new WheelPhysicsControl values and Lidar/Semantic Lidar values. Fixed bug where 'inherited from' links were broken in API docs. Updated code snippet in tutorial 'control vehicle physics' 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 8b025b0018 Added test for apply control 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 3ee6a1c5d8 smoke.test_vehicle_physics: add filter for cars 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 5f4583bd14 test_determinism: Add more output when failing 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 88d732e899 Updated smoke.test_vehicle_physics
- Fix error in reload of world
 - New test about long stiff values
 - Minor fixes
2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan e3ba9e4940 Added tire stiffness forces to physics control 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 8c6288ea24 Added test for different friction values 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan a52d09286a smoke_vehicle_physics: Fix small bugs 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 0603acf708 Added smoke tests for vehicle physics 2021-05-20 16:33:27 +02:00
Daniel Santos-Olivan 3fbdd5b908 Added Abs method to carla vectors 2021-05-20 16:33:27 +02:00
Axel1092 c46c65ff4f
Large Maps (#4207)
* Added LargeMapManager

* Added DVector Vector of doubles

* Declaration of interface

* Added AUncenteredPivotPointMesh

* Added map generation from assets folder

* Updates on FDVector

* Added tile load on demand

* Fixed load tile issues after rebasing origin

* Updated FDVector

* Added some auxiliary functions

* Added conversion and operator

* Added methods to check and configure the state

* Removed const and updated printed info

* Added macro to avoid logs

* Added info dump functions

* The asset spawn check was added to the tick

* LargeMapManager added to CarlaGM

* Moving to level load autocontrol

* Updated with new function name, AddNewClientToConsider

* Fixing forced tile load

* Added operator*(float)

* Disabled Localplayer

* Now the streaming is handled by us

* Fixed remove of considered actors

* Fixed typo

* Added MapOrigin to the Episode

* Added Vector3DInt to LibCarla

* Removed floats in Vector3DInt

* Added offset to client actor's location

* Fixed old cast warning

* Removed float

* Added explicit cast to avoid warning

* Fixed client actor transform

* Removed unnecessary code

* Added origin offset to spawn_actor

* Adding spawn points generation

* Added spawn points folder in editor

* Changed Spawnpoint for only Transforms

* World rebase is triggered directly

* Added offset when attaching actors

* Detecting hero vehicle

* Added LargeMapManager

* Added DVector Vector of doubles

* Declaration of interface

* Added AUncenteredPivotPointMesh

* Added map generation from assets folder

* Updates on FDVector

* Added tile load on demand

* Fixed load tile issues after rebasing origin

* Updated FDVector

* Added some auxiliary functions

* Added conversion and operator

* Added methods to check and configure the state

* Removed const and updated printed info

* Added macro to avoid logs

* Added info dump functions

* The asset spawn check was added to the tick

* LargeMapManager added to CarlaGM

* Moving to level load autocontrol

* Updated with new function name, AddNewClientToConsider

* Fixing forced tile load

* Added operator*(float)

* Disabled Localplayer

* Now the streaming is handled by us

* Fixed remove of considered actors

* Fixed typo

* Added MapOrigin to the Episode

* Added Vector3DInt to LibCarla

* Removed floats in Vector3DInt

* Added offset to client actor's location

* Fixed old cast warning

* Removed float

* Added explicit cast to avoid warning

* Fixed client actor transform

* Removed unnecessary code

* Added origin offset to spawn_actor

* Adding spawn points generation

* Added spawn points folder in editor

* Changed Spawnpoint for only Transforms

* World rebase is triggered directly

* Added offset when attaching actors

* Detecting hero vehicle

* Only hero vehicles are considered to stream tiles

* Little update on log macro

* Adding support for ghost actors

* Refactored LargeMap classes

* Refactored LargeMap classes

* Revert refactor

* Remove files

* Added dormant state to actors

* Fixed spawn+rebase on new OnActorSpawn

* Removed circular dependency warning

* Converted FActorView into an USTRUCT

* Added actor state conversion to dormant

* Removed ConvertActorDormant

* Added spawn and transition of dormants

* Ghost to Dormant working

* Replicated dormant actors

* Add substraction operators

* Added dormant to ghost conversion

* Fixed some issues in dormant to ghost conversion

* WIP! Attached actors not working properly

* WIP! Attached actors not working properly

* Added tiles loaded from umaps.

* Fixed Missing includes

* Added FActorData classes to save and restore actor state for dormant actors. Edited all client - server calls to recognize the dormant state. FActorView now can hold null AActor* when is dormant. Large Maps now load tiled umaps instead of assets.

* Fixed dormant check for attached actors

* Expanded FActorData classes. Added world observer aware of dormant actors.

* Extended FActorData classes with walker data.

* Fixed missing includes

* Removed some with editor macros.

* Added virtual destructor to FActorData.

* Adding includes

* Fixed warnings. Added UNoWorldOffsetSceneComponent to have unreal actors unnafected by rebase.

* Fixed tile alingment.

* Added sensor data to restore the comunication.

* Added parent hierarchy consideration to sleep/wakeup of ghost/dormant actors.

* Fixed crash for sensor destruction.

Co-authored-by: doterop <daniel.oterop@gmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2021-05-20 16:09:43 +02:00
Roel Algaba Brizuela f953e8dba5 Revert "Disable determinism test temporally" 2021-05-17 20:56:46 +02:00
bernat a3df763a0a Disable determinism test temporally 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 0f70fd66e9 Reset files back to default state 2021-05-17 20:56:46 +02:00
Roel Algaba Brizuela 8e540d60d0 First version - Wheel direction changes 2021-05-17 20:56:46 +02:00
bernat 9b05d44a0f Restore settings after smoke tests 2021-05-17 13:08:12 +02:00
Daniel Santos-Oliván d05d1f5e37 SmokeTest: Removed useless apply_settings in tearDown 2021-05-13 16:18:51 +02:00
Daniel Santos-Oliván 1b258f9e14 TestSync: Removed print 2021-05-13 16:18:51 +02:00
Daniel Santos-Oliván c49da25c99 TestSensorDeterminism: better frame check and optimized world reload 2021-05-13 16:18:51 +02:00
Roel Algaba Brizuela 1dc91fc7c0 Revert "Disable determinism test temporally" 2021-05-07 15:52:21 +02:00
bernat bf82f09a31 Disable determinism test temporally 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela a3b0f03e2e Reset files back to default state 2021-05-07 15:52:21 +02:00
Roel Algaba Brizuela c0188774c2 First version - Wheel direction changes 2021-05-07 15:52:21 +02:00
Corinne cec8fd90ae
Corkyw10/chrono docs (#4160)
* Added Chrono Integration page to navigation

* Initial draft of Chrono documentation

* Added Python API information for enable_chrono_physics. Made some syntactical changes to first draft of Chrono docs.

* Made the forward slash character in PythonAPI stand out. Added link to Actor class in the Chrono doc.

* Added manual_control_chrono.py to PythonAPI/examples

* Edited chrono torial. Edited changelog.

Co-authored-by: Axel <axellopez92@outlook.com>
2021-05-07 15:16:32 +02:00
Axel e6a23ff101 Added traffic light generation functions. 2021-04-29 11:33:01 +02:00
glopezdiest 3360d27486
Improved agent vehicle detection (#3973)
* Improved agent vehicle detection

* Minor CHANGELOG error

Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
2021-04-27 15:02:18 +02:00
corkyw10 e7f020e5d2 Updated PythonAPI docs for set_wheel_steer_direction, get_wheel_steer_angle and VehicleWheelLocation. Added snippet for set_wheel_steer_direction 2021-04-19 10:49:31 +02:00
Daniel Santos-Oliván 55de002ef0 Increase sensor queue timeout for smoke test 2021-04-15 11:19:32 +02:00
Daniel Santos-Olivan 0ca1ae91e8 Fix test_lidar for Python 2.7 2021-04-14 23:30:03 +02:00
Daniel Santos-Olivan c97a7b0a8a Fixed format 2021-04-14 23:30:03 +02:00
Daniel Santos-Oliván 9edb7b2968 Added lidar smoke test
Test for checking that the lidar point count is correct in both lidar
and semantic lidar.
2021-04-14 23:30:03 +02:00
Daniel Santos-Oliván c87a584404 Add world variable to async tests also 2021-04-14 23:30:03 +02:00
Daniel Santos-Olivan e1938e13bd Updated manual control with new camera shots for pedestrians 2021-04-01 12:33:12 +02:00
Axel a0c15d9649 Edited changelog and documentation. 2021-04-01 12:32:30 +02:00
Axel ed6062e5dd Added new argument to recreate sensors in the replayer. 2021-04-01 12:32:30 +02:00
corkyw10 483107f7f6 Typo fixes in TM docs and corrected default radius of set_hybrid_physics_radius 2021-03-18 09:52:41 +01:00
corkyw10 492b477ae0 Corrected typo for set_hybrid_physics_radius in Python API, corrected reference in TM docs and removed reset_traffic_lights from Python API reference. 2021-03-18 09:52:41 +01:00
corkyw10 4233fe9310 Added information to alert the user that the 'Latest' version of the documentation points to branch and may show features that are not available in any packaged versions of carla as well as updated and improved docs 2021-03-15 15:43:15 +01:00
Roel Algaba Brizuela e9fc29898f
Added wheel control (#3868)
* First version - Wheel direction changes

* Updated CHANGELOG.md

* Fix DVSCamera include error

* Updated vehicle wheels direction commands

* Reset files back to default state

* Removed files from PR.

* Updated changelog
2021-03-15 15:42:33 +01:00
Axel 7d135da9c6 Added shut_down function to TM. 2021-03-08 13:31:28 +01:00
Axel 26f4bbec5b Changed wait method for next frame. Undone changes to determinsm smoke test. 2021-03-08 13:31:28 +01:00
Axel 57bee724f3 TM will stay in deterministic mode after the deterministic test. 2021-03-08 13:31:28 +01:00
Axel 33981f135b Fixed smoke test. 2021-03-08 13:31:28 +01:00
Guillermo 27ddb69d8d Improved local planner set_global_plan function 2021-03-05 14:08:19 +01:00
Daniel Santos-Olivan 8830de82d9 smoke_test: Change test order 2021-03-04 18:29:42 +01:00
Daniel Santos-Olivan 6b40b00a29 smoke_test: Reload the map after each test 2021-03-04 18:29:42 +01:00
Daniel Santos-Olivan 9ff93f1593 Smoke_test: Now the order of execution is predetermined 2021-03-04 18:29:42 +01:00
Axel1092 0989aae70b Added PROJ library dependencies in windows. Imrpoved PythonAPI compilation speed in windows. Disabled boost RTTI checks. 2021-03-04 16:16:42 +01:00
Axel d8bc438f6f Added proj string capabilities to OSM to OpenDRIVE conversor. 2021-03-04 16:16:42 +01:00
Axel ced1d5c88c Added OSM2ODR dependencies for projection capabilities (linux). 2021-03-04 16:16:42 +01:00
Axel 3fc6bce36c Added JSON ingestion for chrono vehicle definition 2021-03-04 12:48:57 +01:00
Jacopo Bartiromo eacda536b4 Added Ambulance and Firetruck as unsafe vehicles in spawn_npc.py 2021-03-02 13:01:58 +01:00
Daniel Santos-Olivan 6a879c89db manual_control: fix pedestrians 2021-03-02 12:57:31 +01:00
Daniel Santos-Olivan 49447d6ce9 manual_control: Minor modification to lateral camera. 2021-03-02 12:57:31 +01:00
Daniel Santos-Olivan fc88b8796f New script to visualize multiple sensors in a single window 2021-03-02 12:57:31 +01:00
Daniel Santos-Olivan e6e651952a check_lidar_bb: Added script used to check bounding boxes and lidar
This script compares that all the points that lidar measure are inside
the bounding boxes of all the cars.
This is useful to check that both lidar colliders and BB are ok.
2021-03-02 12:57:31 +01:00
Daniel Santos-Olivan 838e79ffca manual_control: Improve camera positions
Now the transforms of the cameras are compute taking
in account the size of the car.
2021-03-02 12:57:31 +01:00
doterop f379c63d43 Added functions to initialize is_alive from episode information 2021-03-02 12:56:21 +01:00
bernat d04a86b859 Changing 4.24.3 to 4.26.1 2021-02-25 16:48:15 +01:00
bernat 5079eb7474 Disable determinism test temporally 2021-02-25 16:48:15 +01:00
bernat 812508116e Changes for compiling UE 4.26 2021-02-25 16:48:15 +01:00
Axel bf8e160622 Added release compile mode for chrono library. 2021-02-18 10:04:35 +01:00
Axel f45e0d7c08 Added substep algorithm for chrono. Added initial UE4 terrain detection with raycast. 2021-02-18 10:04:35 +01:00
Axel 7c3367325f Added chrono library 2021-02-18 10:04:35 +01:00
corkyw10 e18054597a Added extra line to bottom of snippets, updated unload and load map layers snippets to show maps being loaded with differents layers staright away, added info about minimum layout to core maps and Python API warning for load and unload maps. 2021-02-12 18:12:53 +01:00
corkyw10 fe1472ca6e Add code snippets to Python API for toggling env objects and map layers. Corrected spelling of snippets on buttons and headers 2021-02-12 18:12:53 +01:00
corkyw10 ee1fc07caa Included DVS sensor in Core sensors page, fixed some links in Python API and added info about when DVS will not return an image 2021-02-09 14:50:25 +01:00
corkyw10 81afb5481f Fixed broken link in Python API for 2021-02-02 15:27:58 +01:00
Daniel Santos-Olivan 198fa38c9b Improve benchmark script:
- Added option for sync mode (on by default)
 - Added a warm-up time after spawning actors to not contaminate the results
 - Added option for no rendering mode (on by default)
 - Added two new cases for Lidar (100k and 1M points)
 - Allow to cancel the execution like other scripts
 - Added the option to benchmark only a sublist of maps, sensors and
types of weather
 - Added a parameter to show all the maps, sensors and types of weather possible
2021-01-29 09:59:45 +01:00
Guillermo 18f2558223 Fixed bug related to RoadOptions 2021-01-29 09:59:25 +01:00
doterop 35c35c0055 Fixed how fixed_delta_seconds is obtained 2021-01-25 17:03:29 +01:00
doterop 23bf0fb16a Removed comments 2021-01-25 17:03:29 +01:00
doterop fa2cde9ace Added smoke test for sensor_tick check 2021-01-25 17:03:29 +01:00
bernat 65720f04b2 Changing to 0.9.11 version 2020-12-22 16:26:04 +01:00
corkyw10 e8e978b8d8 moved snippet for draw_string to correct place, removed two references to code_recipes page that no longer exists 2020-12-22 16:13:00 +01:00
corkyw10 fc808973b8 Typos fixes and refactoring 2020-12-21 15:39:47 +01:00
Daniel Santos-Olivan 2f85970f15 Added documentation for new collision model for wheels. 2020-12-21 15:39:47 +01:00
Daniel Santos-Olivan 0c11869d68 Addition to PythonAPI
New substepping parameters to WorldSettings
2020-12-21 15:39:47 +01:00
bernat c07857a8cc Update content 2020-12-18 20:27:55 +01:00
doterop c0f595ae4f
Added docs for level object control (#3728)
* Added docs for level object control

* Added mds

* Typo fix

* Updated md

Co-authored-by: corkyw10 <corinnewhite@live.co.uk>
2020-12-18 11:48:37 +01:00
Daniel Santos-Olivan 78aa7cb1bc ApplySettings now check the episode settings
This method now check that the episode settings have
effect in the server as expected.
2020-12-17 19:03:20 +01:00
Daniel Santos-Olivan dde86b42bb Added all the settings to the Python out stream 2020-12-17 19:03:20 +01:00
doterop d979b7f97a
Added docs for map layers control (#3729)
* Added doc for load/unload_map_layer

* Added MapLayer enum doc

* Fixed default param

* Updated load_world doc

* Added reset_settings param

* Added mds

* Some typo fixes and highlighted warning labels

* Fixed conflicts

Co-authored-by: corkyw10 <corinnewhite@live.co.uk>
2020-12-17 16:53:45 +01:00
doterop ad9c80b559 Updated docs 2020-12-17 15:18:58 +01:00
Daniel Santos-Olivan efc7fb35bd Adapted smoke test for Python2 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 46691473ee Fix compatibility with Python2 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 12ae848a1d Temporarily removed the collision smoke test 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan c21ea546c4 Minor changes to test jenkins 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 462d8eaac4 Increased timeout to avoid Jenkins error 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan f2b1407c84 Small change to check jenkins execution 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan c53ca4d3bd We need to load Town03 for executing those tests 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 568cef9ec9 Added collision determinism tests 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan d8e66e33ad Correct import 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 080e96eb34 Minor improvements 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 046d78c091 Remove temporal files 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan ad3b02cf91 Minor improvements 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 75feb3d1a8 Add minor improvements 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan cffda1b8de Added smoke test for raycast sensor determinsm 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 9fb5aeb9c1 Minor fixes 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan fd4a7d54a5 Bugfixed and minor additions
The save_snapshots should be done after the sensor syncrononization,
if not, it cant be known what you are saving.
Also added the load of Town03 and fix a small bug in error print.
2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan acca36534e Minor update 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 12effc5d7d Updated raycast determinism script 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 2d36060e52 All the test are stored in a list now 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan e48f997358 Collision check script updated 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 5899fa9e6a Minor improvement in script 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan f46dac8aba Add support for multiple sensors in one scenario 2020-12-15 22:33:21 +01:00
Daniel Santos-Olivan 203b5f3160 test_determinism: change to reload the world in synchronous mode 2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan 76bb65d24d Temporarily disable the determinism test 2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan d75b6e989b test_snapshopt: Remove tick to avoid touching the ground 2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan 5a3e1fdbb8 test_spawnpoints: Remove tick to avoid touching the ground 2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan 84ca97618a Minor PythonAPI fix 2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan 8f6806be69 Added default arguments in PythonAPI for reset settings
Also exposed the reset_settings in the GenerateOpendriveWorld
2020-12-15 22:31:48 +01:00
Daniel Santos-Olivan 4aa97d09ef Added support for load/reload maps without disabling the synchronous mode
Now you can add the option of reset_settings=False for not returning
to default options when you load/reload maps.
By default, reset_settings=True so it does not change the current
behavior of the simulator.
2020-12-15 22:31:48 +01:00
Axel b1c9cfb529 Added deterministic pedestrians and carsim documentation. 2020-12-15 18:21:11 +01:00
Erasmus Cedernaes 6b39cc310b Fixing build for Python 3.9 (deprecation error)
- See https://docs.python.org/3/c-api/init.html#c.PyEval_InitThreads for info on thread initialization
2020-12-15 15:00:48 +01:00
Hamid Ebadi adb0e9f8ca
Converting html tags (table, image, link, etc.) into markdown (#3629)
* Converting html tags (table, image, link, etc.) into markdown, fixing an issue with python marrkdown generation script

* Converting tables for pandoc

* Incorrect code block

* Changelog is updated

Co-authored-by: Corinne <38050983+corkyw10@users.noreply.github.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-12-14 13:15:32 +01:00
Axel b0fc79a3a6 Updated CarSim API 2020-12-10 20:38:33 +01:00
Axel 802f941fae Added function to set custom carsim simfile. Added option to use ue4 carsim road definition or unreal callback method. 2020-12-10 20:38:33 +01:00
Axel 7739b5eb94 Added first CarSim integration to vehicle class. 2020-12-10 20:38:33 +01:00
doterop 30db7e21d4
Added culling control (#3656)
* Added culling configuration to settings

* Updated changelog
2020-12-09 15:22:20 +01:00
Guillermo ae36a62461 Added an offset to the local planner 2020-12-07 15:28:57 +01:00
Axel e936d83ad3 Fixed missing initialization variable. 2020-12-03 12:24:24 +01:00
Axel cba230bc0d Added toggle to select deterministic/physically based ragdoll animation. 2020-12-03 12:24:24 +01:00
Daniel Santos-Olivan 235cc8ffee Added wheel sweep by default in manual_control 2020-12-03 12:24:24 +01:00
Daniel Santos-Olivan 3835de9b0d Added sweep wheel option to VehiclePhysicsControl 2020-12-03 12:24:24 +01:00
Marc Garcia Puig 6ad2610d33 Fixed docs 2020-11-24 16:57:51 +01:00
doterop c98eb974c6 Added Any as a filter option instead of None 2020-11-24 10:30:35 +01:00
doterop a95d3d74a8 Added filter by type 2020-11-24 10:30:35 +01:00
doterop 42c4c15569 Fixed EnvironmentObject Python type 2020-11-24 10:30:35 +01:00
doterop c9fb00d8f2 Naming fix 2020-11-24 10:30:35 +01:00
doterop 6c85458b0e Added display initialization to avoid posible noise 2020-11-23 10:47:07 +01:00
doterop 42d67c2d28 Moved bounding_box to actor 2020-11-20 15:03:03 +01:00
Farzad 5ce501d079 Fixed bug "'World' object has no attribute 'player'" when using BehaviorAgent with an instance of carla.libcarla.World class. 2020-11-16 14:27:25 +01:00
Axel af0dbd00db Increased smoke test timeout. 2020-11-16 10:23:15 +01:00
Axel 238d93021a Small fixes. 2020-11-16 10:23:15 +01:00
Axel 06bd2a9bdd Added enhanced determinism flag. 2020-11-16 10:23:15 +01:00
Axel 77b5e0faf7 Added smoke test for tm determinism. 2020-11-16 10:23:15 +01:00
Marc Garcia Puig 993f440bb8 Fixed int to uint8_t 2020-11-12 13:57:26 +01:00
Marc Garcia Puig 8ffbf13fc7 Fixed carla.Actor semantic_tags 2020-11-12 13:57:26 +01:00
Daniel Santos-Olivan 3663d6f79f Add noise seeds to the determinism script 2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan 1b12813071 Removed trailing white spaces 2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan e72c0ddb13 Minor spelling fix 2020-11-11 11:17:52 +01:00
Daniel Santos-Olivan db64712a53 Added script for check sensor determinsm 2020-11-11 11:17:52 +01:00
Praveen Kumar 50ed66ac2c Registration lock while frame re-allocation 2020-11-07 20:34:10 +01:00
Daniel Santos-Olivan f6da3d1718 Minor formatting changes 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan f5e42c6760 Updated script with performance benchmark and some minor things 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan 301eb9032e Changed default substepping parameters 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan 95d27a5dcc Moved test script 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan e481df0293 Minor name changes 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan 0af41974bc Added more output to the repetition counter 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan 1c69f2acc0 Added car-walker collision test 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan e3639a1591 Minor improvements 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan 65ea83e96f Small error fixed 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan 37d0075e35 Improved the check of the simulations 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan 25175e1c46 Added a script to test collisions 2020-11-05 14:25:04 +01:00
Daniel Santos-Olivan bbd3f4df4f Added substepping options in world options
Now, we can modify the substepping in the client.
TODO: Remove Logs
2020-11-05 14:25:04 +01:00
doterop 040fedb1fc Removed Gils 2020-11-03 13:05:56 +01:00
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
Marc Garcia Puig 6d20f7d374 Updated requirements.txt with Pillow 2020-10-27 17:22:02 +01:00
Marc Garcia Puig 1255def994 Added sync sensor transform smoke test 2020-10-27 17:22:02 +01:00
Marc Garcia Puig 311f509d11 Small example fixes 2020-10-27 17:22:02 +01:00
Marc Garcia Puig ad4fc6e0a9 Added lidar_to_camera.py 2020-10-27 17:22:02 +01:00
Axel1092 003e74fc91
Raycasting (#3483)
* Added raycasting and point projection capabilities to python api.

* Added documentation of new functions.

* Fixed missing .f on floats

Co-authored-by: doterop <daniel.oterop@gmail.com>
2020-10-26 11:13:35 +01:00
Jacopo Bartiromo 52d706014b Remove TM's Traffic Light reset, and use the new one from World instead 2020-10-26 09:07:58 +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
sergi.e a90956ad0c
sergi-e/tm-determinism-and-updates-docs (#3453)
* New methods of the TM module

* First iteration on determinism

* Warning on sync mode for both world and TM in adv_synchrony_timestep.md and PythonAPI ref

* Iteration on J review!

* fixed broken link
2020-10-20 18:32:20 +02:00
Axel 530f56e78b Changed LaneType enum from unsigned to signed type 2020-10-20 16:24:00 +02:00
sergi-e 59e171a285 Fixed sorting lin ni gen_overview 2020-10-20 14:42:25 +02:00
sergi-e a00a97714b Fixed method sorting 2020-10-20 14:42:25 +02:00
Pasch, Frederik fddf3c9b2e Update ad-rss-lib to 4.4.0 2020-10-20 14:41:19 +02:00
doterop a0fc0178a5 Removed BB on PythonAPI 2020-10-19 21:31:45 +02:00
doterop 2fbfda2f24 Renamed and added enable/disable call 2020-10-19 21:31:45 +02:00
doterop df6e6eef65 Renamed object to mesh 2020-10-19 21:31:45 +02:00
doterop 374995b835 Added CarlaObject and objects function. 2020-10-19 21:31:45 +02:00
Axel 97be57b11a Added comments 2020-10-19 10:30:46 +02:00
Axel1092 aedd709119 Fixed map.get_waypoint function crashing with LaneType.Any 2020-10-19 10:30:46 +02:00
sergi.e 31fff28bc6
sergi-e/api-snipets (#3409)
* First iteration with snipets, copy button and snippet button for all methods

* New iteration with snipets implemented and test snipets

* New iteration without yaml intervention, with auxiliary doc deleted and responsive buttons to window width

* New iteration with snipets copied from recipes, images added, and invisible button for small window

* Fixed some marging issues & code formatting

* Removed recipe reference and its instances. Snipets are now scalable to window width. Added button to close snipet. doc_gen_snipets.py is now imported in doc_gen.py. Cleaned css inside .py and added to extra.css

* New iteration with two functionalities for snipet buttons. Pop up for small windows.

* Fixed bp_library.md

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-10-15 16:48:48 +02:00
sergi.e 00b2d85fe8
sergi-e/warning-docs-version (#3435)
* Fixed get_lightmanager remaining instances

* added warning regarding docs version

* fixed deg/s in carla.Actor
2020-10-13 14:41:10 +02:00
sergi-e 79100c1571 Fixed carla.Imaage iter 2020-10-08 16:27:40 +02:00
sergi-e 507121620d First iteration on iter methods 2020-10-08 16:27:40 +02:00
berndgassmann b91e1b5e0e
Merge pull request #3388 from carla-simulator/fix_rss_sensor 2020-10-08 11:29:25 +02:00
sergi-e a12943d329 First iteration of sync 2020-10-07 11:42:28 +02:00
Daniel Santos-Olivan 95abf25a10 Added EnableGravity and better SetSimulatePhysics 2020-09-30 19:38:54 +02:00
Axel c2cb39afca Removed libxerces-c from prerequisites and documentation 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
doterop e05b58c2a4
Retrieve BBs of level (#3360)
* 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

* Fixing wrong BB on splines

* Fixed ISM transform to World

* Fixed duplication of RotateVector

* Added Rotation to BB output string

* Removed hidden components and procedural building

* Fixed string BB output

* Removed logs

* Fixed filter on pedestrians

* Fixed black debug lines in package

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-09-24 23:33:11 +02:00
sergi-e 568ca0ee33 Last fixes 2020-09-24 17:04:39 +02:00
sergi-e a58a1f5b6d First iteration 2020-09-24 17:04:39 +02:00
sergi-e 79457a6e76 New iteration on Ja comments 2020-09-24 14:48:55 +02:00
sergi-e b17b2e44df Notes on spawn_npc.py 2020-09-24 14:48:55 +02:00
sergi-e aa2d37a124 New iteration on Ja comments 2020-09-24 14:48:55 +02:00
sergi-e 017f8e3290 Changed parameter name 2020-09-24 14:48:55 +02:00
sergi-e e97bb44b5c First iteration 2020-09-24 14:48:55 +02:00
sergi-e fda9e9fb9e New iteration on M comments 2020-09-24 13:31:39 +02:00
sergi-e b926304b4c First iteration 2020-09-24 13:31:39 +02:00
sergi-e 6b1298111b New iteration with units and fixes 2020-09-24 12:39:02 +02:00
sergi-e b79461f0c4 New iteration with parameters, commands and fixes on DS comments 2020-09-24 12:39:02 +02:00
sergi-e 402731cefa Fixes on commands 2020-09-24 12:39:02 +02:00
sergi-e d324f3a28b First iteration 2020-09-24 12:39:02 +02:00
sergi-e 8e52da614c Impulse fixed to N*s 2020-09-24 11:14:59 +02:00
sergi-e 2613604bc1 New iteration on O and B reviews 2020-09-24 11:14:59 +02:00
sergi-e c9e8c09b41 New fixes on M and D comments 2020-09-24 11:14:59 +02:00
sergi-e d50cb35a9f Fixed typos on normal impulse and accelerometer. Fixed angular impulse from N*m*s to degrees for carla.Actor and command.ApplyAngularImpulse() 2020-09-24 11:14:59 +02:00
sergi-e 638b43e974 Added some specific notes on rotations 2020-09-24 11:14:59 +02:00
sergi-e 935644d877 First iteration with units 2020-09-24 11:14:59 +02:00
Jacopo Bartiromo e7ff12fa78 Changes default behavior for OSM parameter in TM 2020-09-23 20:43:30 +02:00
Daniel Santos-Olivan b0090775a1 Fix format tabs/newlines 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 8bc91527a7 VehiclePhysics: Small bug fixed 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan ffabf4cf3e Added ApplyForce and ApplyTorque 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan c1f88565d5 Improving the script 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan e93dae859a Change parameters name to be more descrive. 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 11f5a749f4 Removed commented features from PythonAPI 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 14fa890aa9 Added some clarificacion to the example script 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan befe694950 Commented ImpulseLoc/ForceLoc to avoid compiling error 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan ced3a6ab8e Added an script to test vehicle_physics 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 30ba2b3323 Exposed AddForce and AddTorque 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan ad74bef0c3 Added Constant Velocity Mode to manual_control.py 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 4447661d66 First version of the Constant velocity mode
This mode can be enabled in the API and it will keep
a velocity constant.
For now, it needs to be disable automatically but this
can be improved in the future.
2020-09-23 20:40:44 +02:00
sergi-e 81de76fa18 First iteration 2020-09-23 10:34:32 +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
Axel b963a9e367 Updated docs. 2020-09-22 15:04:28 +02:00
Axel a75fc59eb0 Added reset all traffic lights function. 2020-09-22 15:04:28 +02:00
Daniel Santos-Olivan f1dd2d77fa Added the change of name also in Commands of PythonAPI 2020-09-22 12:00:22 +02:00
Daniel Santos-Olivan 9f5758577d SetVelocity -> SetTargetVelocity
Change the commands set_velocity to set_target_velocity
for both linear and angular velocities.
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 7e0546f9c8 Fixed open3d example name 2020-09-18 17:24:56 +02:00
Praveen Kumar f3d357d7d0 Implemented vehicle removal in OSM mode. 2020-09-18 14:55:14 +02:00
Praveen Kumar bc5871330a Implemented parameter for OSM mode. 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
doterop 5bdd65ca0e Added call to the PythonAPI 2020-09-10 15:48:22 +02:00
bernat b574ca57e8 Fix manual_control_steeringwheel.py memory leak 2020-09-09 23:07:34 +02:00
bernat 6de460466e Fix manual_control.py memory leak 2020-09-09 23:07:34 +02:00
sergi-e 140bb675d1 Minor fix in Python API 2020-09-03 23:03:13 +02:00
Pasch, Frederik 251d2bbbb7 Remove switch to different default rss parameter, add new members 2020-09-03 16:15:54 +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 d75e1516b3 Fixed open3d name 2020-09-02 14:44:42 +02:00
Marc Garcia Puig aabde2182b Small color fix 2020-09-02 14:44:42 +02:00
Marc Garcia Puig 564a15989b Added sem seg water and changed Dynamic color 2020-09-02 14:44:42 +02:00
Marc Garcia Puig c6b6fe6d71 Added color tags in opend3d.py 2020-09-02 14:44:42 +02:00
bernat 9e8f91337b Change to 0.9.10 version 2020-07-31 23:00:20 +02:00
doterop 77f812aed4 Added tick after apply_settings 2020-07-31 21:55:30 +02:00
doterop 91786a7596 Removed wait 2020-07-31 21:55:30 +02:00
doterop a4fa5a82dd Added prints to see what test is running and added wait before starting sync mode 2020-07-31 21:55:30 +02:00
Axel 6d56aa843f Updated function naming. 2020-07-31 21:50:19 +02:00
sergi-e 8765f0fd62 New iteration: PythonAPI, default params, and fixes for Linux build and FAQ 2020-07-31 21:50:19 +02:00
Axel1092 b25b1c4ba6 Updated docs 2020-07-31 21:50:19 +02:00
Axel1092 41ef5040f0 Updated docs 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
Daniel Santos-Olivan 7a413c845a Added new semantic tags to open3d script 2020-07-31 20:19:40 +02:00
Daniel Santos-Olivan 66a123e2e3 Sensor Sincronization
Added script as an example to syncronize all gathering
of sensor data in the client.

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-07-31 16:39:06 +02:00
bernat 9430d7e6f3 Update documentation 2020-07-31 16:38:41 +02:00
bernat d23ce106bc Add stop for the replayer 2020-07-31 16:38:41 +02:00
sergi-e 3ebcc89dd3 New iteration by S 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 2454972098 Refactored documentation 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 96d0ae27e6 Refactor SemanticLidar in LibCarla and PythonAPI 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 187b720902 Updated documentation for RawLidar 2020-07-31 15:15:01 +02:00
Guillermo 8c1181ca00 Fixed global planner's RoadOptions 2020-07-30 16:13:17 +02:00
Daniel Santos-Olivan 245cd0abe9 Removed comment to avoid codacy error 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 573830453f Minor change to satisfy pylint 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan a67d9732f2 Added open3d and matplotlib to requirements.txt 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 378a526524 Minor modification in open3d script
Be careful with the sleep time, its correct value
may vary between machines
2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan f5f992ceff Change delta time reference for profiling 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 65ae2c0366 Minor changes in raycast sensor script 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f94a9bad91 Added Open3D example script 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan f972b32a33 Minor changes to raycast sensor script to adapt to last changes 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 07b4decbfa Update script for rawlidar 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 3c5f051f93 Changed data structures to data folder 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan fdb3553b2c Added data/serializer structures for RayLidar 2020-07-30 15:16:42 +02:00
Daniel Santos-Oliván 2b606fc639 Added RayCastRawLidar to the test script 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f11747892f Small fix on environment.py regaring the lights 2020-07-29 16:09:18 +02:00
Pasch, Frederik e70480c664 RSS: Fix calculation of steering angle
As ad-rss-lib is using a right-handed and CARLA left-handed coordinate system, the calculation of the steering angle must be inverted

+ remove obsolete openscenario
2020-07-23 12:59:37 +02:00
sergi.e 9fcde86b05
First iteration (#3089) 2020-07-23 00:52:16 +02:00
Axel1092 bb553e1073 Updated docs. removed coma separations. 2020-07-20 15:10:34 +02:00
sergi.e e5e993c7b1
Fixed transform coord (#3047) 2020-07-15 17:20:52 +02:00
sergi.e b24dedc5d8
sergi-e/fix-actor-alive (#3055)
* First draft

* Fix on recorder show info
2020-07-15 13:39:55 +02:00
sergi.e db9572faa6
sergi-e/dif-rigid-spring (#3043)
* First iteration

* Added warning regarding springarm bug

* Fix on warning
2020-07-15 11:27:41 +02:00
Pasch, Frederik baffc906be Fix egg inclusion 2020-07-14 17:53:28 +02:00
Pasch, Frederik 89443073bf Disable pylint check 2020-07-14 17:53:28 +02:00
Pasch, Frederik 05aac9c0fb Update pylintrc, fix vehicle lights on restricted vehicle control 2020-07-14 17:53:28 +02:00
Pasch, Frederik 805f7c2863 Pylint cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik 2cb29ba938 Further cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik bc898acdf9 Cleanup 2020-07-14 17:53:28 +02:00
Bernd Gassmann 0332185e6f Update PythonAPI docu
+ Codeformatting of RSS parts
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 fcc5140873 Updated documentation and changelog 2020-07-10 11:36:31 +02:00
Axel1092 2d26512209 Added new frozen behavior. 2020-07-10 11:36:31 +02:00
Axel1092 07d016d318 Added reset group function to API. 2020-07-10 11:36:31 +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 1926b68e70 Change variable name to adapt to code standard and added
stream operator for LidarDetection
2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 8e68cbdd8a Fix error in the serializer of LidarMeasurament. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 1d9bb78a8d Format changes to answer review 2020-07-08 11:44:23 +02:00
Daniel Santos-Oliván 07a871309b Updated documentation 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 97cf13700c First version of the documentation. Yet to be completed. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 759f7bfe6d In sensor profiling, setting no rendering mode. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan da2e29f5ef Lidar Intensity: Added intensity to lidar's output
For now, only takes into account the intensity loss
due to the the atmosphere atenuation.
2020-07-08 11:44:23 +02:00
Marc Garcia Puig 114e42357a Matrix creation simplification 2020-07-02 12:22:12 +02:00
Daniel Santos-Olivan 1aa286f6a9 Added a getter to the 4-matrix form of the
inverse transformation for the client
2020-07-02 12:22:12 +02:00
Daniel Santos-Olivan 7e2b57338b Exposing the 4-matrix form of the transformation
to the client API
2020-07-02 12:22:12 +02:00
Axel1092 f39bc70242 Added velocity, acceleration and platform time to recorder. 2020-07-02 11:53:36 +02:00
sergi.e f6831da92e
sergi-e/issues_06 (#3005)
* Brief additions

* Fix on Light manager docs
2020-07-01 13:18:44 +02:00
bernat 315bfc45bf Trimming spaces and renaming variable 2020-06-30 13:12:22 +02:00
bernat 9b716e1698 All streams are multi stream now 2020-06-30 13:12:22 +02:00
Marc Garcia Puig b695dbf2f5 Fixed numpy versions for requirements.txt 2020-06-29 17:40:39 +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 701a5009bf
Fixed weather out in PythonAPI (#2957) 2020-06-16 12:18:58 +02:00
Marc Garcia Puig c21e823850 Fixed environment.py 2020-06-10 14:43:21 +02:00
Marc Garcia Puig 97cb2dfec0 Fixed fog_falloff in Boost Python 2020-06-10 14:43:21 +02:00
marcos909 c29a1908e9 Renamed environment.py 2020-06-10 14:43:21 +02:00
sergi-e 45da3ae55e New iteration with changes on environment.py, light explanation and lights explanation 2020-06-10 14:43:21 +02:00
Marc Garcia Puig 07fe7a7153 Added weather parameter fog_fallow to PythonAPI 2020-06-10 14:43:21 +02:00
marcos909 7484c60949 Deleted old weather.py
Added Environment.py (controls weather and lights)
2020-06-10 14:43:21 +02:00
sergi-e 06375cc866 Order in parameters changed 2020-06-10 14:43:21 +02:00
sergi-e 9b6e9fc2b0 First iteration 01 2020-06-10 14:43:21 +02:00
Marc Garcia Puig ed2f997f98 Updated command docs 2020-06-08 10:49:31 +02:00
Marc Garcia Puig a9c0f51633 Added `get_vehicles_light_states` into docs 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
Marc Garcia Puig 923960751f Added batch command SetVehicleLightState 2020-06-08 10:49:31 +02:00
Praveen Kumar 1e98335808
Traffic manager 2.0 (#2833)
* Traffic Manager 2.0

* WIP: new class structure for TM 2.0
Yet to use the new classes in TrafficManagerLocal

* WIP: new class structure integration

* Fix for python api build.

* Fix for hybrid mode crash.

* Fixed incorrect collision cache.
Fixed crash upon map change.
Minor reformatting.

* Fixed collisions with unregistered actors.
Fixed collisions among multiple traffic manager instances.
Fixed vehicle destruction upon being stuck for too long.

* Fixed vehicle wobble on steep roads

* Waypoint buffer extension at junction entrance.

* WIP: Revamped intersection anticipation.

* Implemented waypoint occupancy tracking.

* * considering buffer independent waypoints
for determining blocked junction exit.

* considering longitudinal extreme points
for localizing unregistered actors.

* Removed debug statements

* Intersection anticipation for vehicles moving across path.

* Fixed intersection anticipation in Town03, Town04.

* Safe interval length check for intersection anticipation.

* Distance check from safe interval for blocked exit.

* Removed debug statements

* * Intersection anticipation exception for roundabout in Town03.
* Updated comments.

* codacity fix

* more codacity fixes

* formatting and minor changes

* bad indentation

* Removed debug statements and updated comments.

* fixes unused variable error in make examples

* Increased minimum obstacle distance for lane change
to avoid partial lane changes.

* Removing crude stopping logic at junction entrance
for blocked junction case.

* Ignoring small intersection segments
for intersection anticipation.

* Fixed issue in unblocking mechanism
due to incorrect clock initialization.

* Fixing intersection entrance identification.

* Fixed incorrect safe space after junction detection.

* Fixed collision negotiation conditions
to work well inside intersections
and avoid deadlocks in roundabout turns.

* Replaced in file constants of InMemoryMap
with definitions from Constants.h

Updated comments

* Added a check to avoid collision considerations
in case  of traffic light hazard in motion planner.

* Re-organised include statements for ALSM.h/.cpp files.

Fixed a double initialization precision.

* WIP: Refactoring ALSM::Update

* Refactored ALSM::Update into shorter functions.

* ALSM: Corrected numeric comparision precision
and container access optimizations.

* Initial review changes

* CollisionStage: addressed pr comments.

* Constants.h, DataStructures.h: addressed pr review comments.

* InMemorMap: review comment addressal.

* LocalizationStage: Review comment addressal

* New class for random generation instead of rand()

* Removed unused code

* MotionPlanStage: re-organized include statements.

* MotionPlanStage: review comment addressal.

* SimulationState, DataStructures: minor refactoring.

* SnippetProfiler, TrackTraffic: Review comment addressal.

* Refactored include statements for
SimpleWaypoint, SnippetProfiler, TrackTraffic files.

* TrafficLightStage: review comment addressal.

* Using sleep instead of continue to time hybrid mode.

* Changing fixed array allocation with dynamic resizing.

* Refactored include statements for TrafficManager

* Removed clamp macro

* Added const to Networking constants

Co-authored-by: Jacopo Bartiromo <jackbart94@gmail.com>
Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
2020-06-05 00:02:10 +02:00
Axel1092 827368588d Updated docs and CHANGELOG. 2020-05-29 12:34:29 +02:00
Axel1092 cd277af189 Code clean up. 2020-05-29 12:34:29 +02:00
Axel1092 605c99136d Improved standalone mesh split. 2020-05-29 12:34:29 +02:00
Axel1092 543f502512 Fixed large RAM usage in cubic polinomial curves. 2020-05-29 12:34:29 +02:00
Axel1092 704b32fa1a Added python scripts to load OSM maps into Carla simulation. 2020-05-29 12:34:29 +02:00
Axel1092 734912df54 Added optional recast execution. 2020-05-29 12:34:29 +02:00
Axel1092 381d6b2d97 Fixed string length limit in ToFString and FromFString in String.h. Fixed some parameters not used in standalone mode. 2020-05-29 12:34:29 +02:00
sergi.e 8ea1093954
sergi-e/res-pics (#2891)
* New pictures and some minor fixes!

* Docs/start_quickstart.md
2020-05-26 19:18:14 +02:00
sergi.e 09945c9a8c
Fix force lane change right/left (#2872) 2020-05-20 14:47:37 +02:00
bernat 09ec923c87 Removed the temporal workarounds 2020-05-14 14:22:30 +02:00
bernat a93ddab26a Fixing Pylint errors 2020-05-14 14:22:30 +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
doterop 1c7306f982 Fix use of reserved keyword in python 2020-05-11 14:44:54 +02:00
Marc Garcia Puig 4eb6714e04 Removed unnecessary PythonAPI classes 2020-05-08 20:08:27 +02:00
sergi-e d305afa2fa DVS docs reviewed 2020-05-08 20:08:27 +02:00
Javier Hidalgo-Carrió 38432de658 python api: move logic in sensor data methods to DVSEventArray 2020-05-08 20:08:27 +02:00
Marc Garcia Puig 9f5f4b9a2e Moved ToImage() and added a use case in man_contr 2020-05-08 20:08:27 +02:00
Marc Garcia Puig 87ac3b9a6d Minor fixes and code style adaptation 2020-05-08 20:08:27 +02:00