Commit Graph

1140 Commits

Author SHA1 Message Date
Axel 7c3367325f Added chrono library 2021-02-18 10:04:35 +01:00
Axel 3bb3b0d3d5 Revert "Fixed tm loosing control of cars with low fps"
This reverts commit 30fc87a11a.
2020-12-22 20:19:50 +01:00
Axel 30fc87a11a Fixed tm loosing control of cars with low fps 2020-12-22 16:12:26 +01:00
Daniel Santos-Olivan 07d0f66c30 Simulator: We return to sync frame but with lower timeout 2020-12-21 23:04:07 +01:00
Daniel Santos-Olivan 14c22d9267 Fix Async - FixedDeltaTime mode
In ApplySettings we also need to check that the FixedDeltaTime
is correctly set when asynchronous mode.
2020-12-18 22:43:46 +01:00
Daniel Santos-Olivan 846b24cfac Removed synchronization causing timeout in apply_settings 2020-12-18 22:43:46 +01:00
Daniel Santos-Olivan 5d7a978527 Corrected type to avoid compilations issues in windows. 2020-12-17 19:03:20 +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
Jacopo Bartiromo 5170ca5880 Extends mutex to TM stages 2020-12-16 22:02:45 +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
Daniel Santos-Olivan fd18ad85a9 Fix problem with reload map in the new syncronous pipeline 2020-12-15 22:31:48 +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
Axel cba230bc0d Added toggle to select deterministic/physically based ragdoll animation. 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
Axel ad58149d17 Fixed distance > 0.0 bug for landmark search. 2020-12-03 10:07:44 +01:00
Axel 6189aa59f6 Changed the default value of lane change record to match OpenDRIVE specification. 2020-11-25 11:50:00 +01:00
Axel 2fbae920b9 Fixed conversion of std::string to FString. 2020-11-25 09:23:45 +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 ab16a64ffb Added type to EnvironmentObject 2020-11-24 10:30:35 +01:00
doterop 42d67c2d28 Moved bounding_box to actor 2020-11-20 15:03:03 +01:00
Daniel Santos-Olivan d3879a1c53 Removed warning in LibCarla 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
Axel c7ca5d1b2b Review fixes 2020-11-05 16:15:02 +01:00
Axel 5a56cb38d5 Small update to default lane validities. 2020-11-05 16:15:02 +01:00
Axel d7d79c3a63 Fixed bug in waypoint.get_landmarks(). Removed landmarks with lane validity [0,0]. 2020-11-05 16:15:02 +01:00
Daniel Santos-Olivan f6da3d1718 Minor formatting changes 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 1c08f651d4 Added warnings for substepping parameters. 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 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
adsim d1321419b2 drawbuffer:fix compile error on windows 2020-10-30 10:33:48 +01:00
adsim b1fe99b7df fix stuck in DrawBuffer at LocalizationStage 2020-10-30 10:33:48 +01:00
Marc Garcia Puig a53c697f69 Sync IMU transforms 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
Jacopo Bartiromo a66906d153 Removes debug prints 2020-10-21 11:47:23 +02:00
Jacopo Bartiromo 4052fa4be6 Fixes vehicle elimination algorithm 2020-10-21 11:47:23 +02:00
Praveen Kumar 7f6c2b3594 Adding null checks in LocalizationStage::ExtendAndFindSafeSpace 2020-10-21 11:47:03 +02:00
Axel 530f56e78b Changed LaneType enum from unsigned to signed type 2020-10-20 16:24:00 +02:00
Pasch, Frederik fddf3c9b2e Update ad-rss-lib to 4.4.0 2020-10-20 14:41:19 +02:00
doterop 2fbfda2f24 Renamed and added enable/disable call 2020-10-19 21:31:45 +02:00
doterop 8aedb57a97 Updated mesh with objectlabel 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
Jacopo Bartiromo 859dfffb5e Sorts vehicles by ID to avoid race condition in TM 2020-10-14 11:16:40 +02:00