Commit Graph

770 Commits

Author SHA1 Message Date
Marc 2dc4f1ae84 Now, Map is only movable 2018-10-11 17:43:41 +02:00
Marc 1a6bcf8d75 Added anoter road test 2018-10-11 16:47:50 +02:00
Marc 8735f750df Privatized Map constructor, only MapBuilder can create an instance of it 2018-10-11 16:46:43 +02:00
iFuSiiOnzZ 3a09b56ac4 Use Build function of MapBuilder to get the map 2018-10-11 16:12:12 +02:00
iFuSiiOnzZ ffb6d2e1d0 Compile opendrive for server and copy headers to Unreal depencies folder 2018-10-11 16:09:54 +02:00
Marc 92f36a1d2b Merge branch 'roads' of https://github.com/carla-simulator/carla into roads 2018-10-11 14:38:37 +02:00
Marc d42e2ba4bf Reorganized road namespace structure 2018-10-11 14:35:04 +02:00
iFuSiiOnzZ a955d6c8c6 Fix wrong variable assignation 2018-10-11 14:11:46 +02:00
Marc 43e63dd62e Renamed functions for consistency 2018-10-11 11:43:24 +02:00
iFuSiiOnzZ 018a3f8aff PythonAPI compilation fix 2018-10-11 11:34:38 +02:00
iFuSiiOnzZ 53c8cd3b59 Move row pointers to std::unique_ptr 2018-10-11 10:22:54 +02:00
iFuSiiOnzZ cbd528f9f8 Remove destructor from OpenDriveData 2018-10-11 09:28:10 +02:00
nsubiron 0f38aff8d5 Add MultiStream for streaming simultaneously to multiple clients 2018-10-11 00:28:29 +02:00
nsubiron 75cec0b615 Allow to deregister sessions when closed 2018-10-10 22:56:05 +02:00
Marc d6a696f261 Made a new file for Geometry class + some fixes 2018-10-10 20:10:18 +02:00
nsubiron 5de16e9eee Fix travis (as usual) 2018-10-10 19:25:28 +02:00
nsubiron c544129622 Add unit test for checking server shutdown 2018-10-10 18:10:33 +02:00
nsubiron 3d80d5e641 Merge streaming tests 2018-10-10 18:09:19 +02:00
nsubiron e3fbf63c42 Fix crash on server shutdown 2018-10-10 18:09:13 +02:00
Marc 3c84cd0813 Merge branch 'roads' of https://github.com/carla-simulator/carla into roads 2018-10-10 16:45:55 +02:00
iFuSiiOnzZ 0a8b0cb40d Remove allocated memory when OpenDriveData is destroyed 2018-10-10 16:44:13 +02:00
Marc 50eaddb62d Merge commit 2018-10-10 16:32:37 +02:00
Marc bd02ff7d9a Changed to use unique_ptr 2018-10-10 16:29:52 +02:00
iFuSiiOnzZ a0dd7a22ab Remove allocated memory when OpenDriveData is destroyed 2018-10-10 16:28:56 +02:00
iFuSiiOnzZ 7c8dc9907c Add geometry to road segment 2018-10-10 12:59:48 +02:00
Marc 627ccaf6c2 Better Geometry types and better MapBuilder API 2018-10-10 11:52:50 +02:00
iFuSiiOnzZ d2c8af25af Start to build the map 2018-10-09 15:36:45 +02:00
Marc b600888c90 Issue with undefined functions 2018-10-09 14:50:58 +02:00
nsubiron b3f8d4dc51 Add LifetimeProfiled to profile actor's lifetime 2018-10-09 14:23:07 +02:00
nsubiron 3f2787799e Fix issues related to the destruction of objects 2018-10-09 12:29:54 +02:00
Marc 62eefd9917 Fixed formating error in MapBuilder 2018-10-09 12:20:34 +02:00
Marc 1612a308ec New MapBuilder structure 2018-10-09 11:03:49 +02:00
nsubiron 27c378a88a Fix issues related to unsubscribing from a stream 2018-10-08 23:02:51 +02:00
nsubiron 1aa89af1a1 Add episode class 2018-10-08 19:23:32 +02:00
nsubiron 2c53287dcf Make possible to unsubscribe from a sensor stream 2018-10-08 13:47:10 +02:00
nsubiron 91aa984350 Fix Boost.Python not getting the right signature 2018-10-08 13:47:10 +02:00
nsubiron d56c17a166 Release Python GIL when possible 2018-10-08 13:47:10 +02:00
nsubiron 5965c3bdbe Refactor client-side code and its C++ API 2018-10-08 13:47:10 +02:00
nsubiron 3b12d31cc6 Fix travis build (again) 2018-10-08 13:20:05 +02:00
nsubiron 882992952c Small refactor of sensor data IO 2018-10-07 18:44:45 +02:00
nsubiron 2ad3ffedc5 Expose methods for saving and converting images in Python 2018-10-07 18:44:45 +02:00
nsubiron eeb72e7020 Fix image IO to handle any format based on file extension 2018-10-07 18:44:45 +02:00
nsubiron 2326345f9e Add functionality for IO images, and conversion for depth and semseg 2018-10-07 18:44:45 +02:00
nsubiron 23499b41bb More generic and complete StringUtil 2018-10-07 18:44:45 +02:00
nsubiron 4ad2095c92 Add methods for saving point clouds in ply format 2018-10-07 18:44:45 +02:00
nsubiron d02d9ced3c Add OutputFile class 2018-10-07 18:44:45 +02:00
nsubiron 0f16fedb4d Reduce benchmark speed and acceptance threshold 2018-10-07 18:42:41 +02:00
nsubiron fa19f0296e Close #815, discard message if the connection is too slow 2018-10-07 13:24:44 +02:00
iFuSiiOnzZ 2bc1ac507d Add OpenDrive points generator 2018-10-05 13:00:21 +02:00
iFuSiiOnzZ 4a5995c6ef Add OpenDrive parser 2018-10-05 11:08:21 +02:00
nsubiron dd0de88fbd Add namespaces for road classes and opendrive 2018-10-03 11:33:18 +02:00
nsubiron db9d6a781d Small refactoring and documentation 2018-10-02 18:00:16 +02:00
nsubiron f1a20eee8e Tiny fix 2018-10-02 15:03:58 +02:00
nsubiron 84d48f7ed3 Expose lidar measurements to Python API 2018-10-02 15:03:58 +02:00
nsubiron 11167181f2 Port lidar to new sensor system 2018-10-02 15:03:58 +02:00
nsubiron c84eb298e7 Check sizeof sensor header 2018-10-02 15:03:58 +02:00
nsubiron 93809422bd Retrieve sensor definition from static function 2018-10-02 15:03:58 +02:00
nsubiron 367a6b51eb Allow each scene capture sensor have its own serializer 2018-10-02 15:03:58 +02:00
nsubiron ff9ae37b79 Fix buffer pool needs to be dynamically allocated 2018-10-02 15:03:58 +02:00
nsubiron d0629c9381 Image serialization complete pipeline 2018-10-02 15:03:58 +02:00
nsubiron 396894f10b Migrate deprecated ASceneCaptureCamera to the new ASceneCaptureSensor 2018-10-02 15:03:58 +02:00
nsubiron f4b386eb9d Fix Buffer issue with TArrays 2018-10-02 15:03:58 +02:00
nsubiron c68c3e9e4c Basis for SensorRegistry and ASensor class 2018-10-02 15:03:58 +02:00
nsubiron a69dd143bf Compile-time dispatcher for sensors and serializers 2018-10-02 15:03:58 +02:00
nsubiron 3177c52e9b Add Optional class 2018-10-02 15:03:58 +02:00
nsubiron b99d9c2b49 Add copy with offset to Buffer and document class 2018-10-02 15:03:58 +02:00
nsubiron 3bd67d2fdf Allow including LibCarla headers multiple times in UE4 2018-10-02 15:03:58 +02:00
nsubiron 13b9723c46 Make ThreadGroup inherit NonCopyable 2018-10-02 15:03:03 +02:00
nsubiron 6752ea12c2 Fix unit test 2018-10-02 15:03:03 +02:00
nsubiron f55cbfea4f Fix compilation in Visual Studio 2018-10-02 15:03:03 +02:00
nsubiron f217e5e61c Reuse buffer based on capacity instead of size 2018-10-02 15:03:03 +02:00
nsubiron fbe0d678e5 Reuse allocated memory for sensor data in the client-side 2018-10-02 15:03:03 +02:00
nsubiron fb2691e326 Add buffer pool to reuse allocated memory 2018-10-02 15:03:03 +02:00
nsubiron 2ab8a0cb42 Make access to stream session atomic 2018-10-02 15:03:03 +02:00
nsubiron a869424185 User buffer as much as possible to avoid a couple of dynamic allocations 2018-10-02 15:03:03 +02:00
nsubiron 930a3cf9bc Add generic buffer class to replace streaming message 2018-10-02 15:03:03 +02:00
nsubiron 0b38510f8f Change Python client timeout to float seconds 2018-09-30 17:45:47 +02:00
nsubiron 64b1b27315 Remove unnecessary includes 2018-09-10 11:54:31 +02:00
nsubiron 2beedaf4f1 Fix again #761, add more flexibility to the info that goes into a stream token 2018-09-07 17:28:33 +02:00
nsubiron 1f1f24dad6 Fix #761 streaming client fails to connect in Windows 2018-09-06 17:09:41 +02:00
nsubiron 09f4ed7fd7 Allow iterating attributes of an actor blueprint 2018-09-03 11:44:37 +02:00
Andrei Jianu e7291e2ce4
Merge branch 'master' into 0.9-win32 2018-08-27 17:40:29 +02:00
iFuSiiOnzZ 42048c06df Remove boost include path as is LibCarla tests are not compiled in Windows 2018-08-27 17:40:01 +02:00
nsubiron 8805d0d79a Fix typos 2018-08-24 14:40:19 +02:00
iFuSiiOnzZ 4de394eb9b Wrong var name, it sould be BOOST_LIB_PATH instead of BOOST_LIBRARY_PATH 2018-08-23 18:44:21 +02:00
iFuSiiOnzZ e908ff20c9 Dissable/Enable macros for clang compiler 2018-07-30 18:57:36 +02:00
iFuSiiOnzZ f0971ab2d6 Merge branch 'carla-0.9' into 0.9-win32 2018-07-30 13:43:29 +02:00
nsubiron 3b3bb1868a Fix the build 2018-07-30 12:37:28 +02:00
iFuSiiOnzZ 4a56c81ee9 Fix cmake boost lib path for LibCarla server
For the server the boost lib path was define as BOOST_LIBRARY_PATH and for the client as BOOT_LIB_PATH. To keep it uniform between linux and windows, the variable was rename as BOOST_LIB_PATH.
2018-07-30 09:34:11 +02:00
nsubiron e34a5891b1 Add addition and subtraction operators to locations 2018-07-29 18:04:57 +02:00
nsubiron 4f5044a495 Expose spectator pawn 2018-07-29 18:03:52 +02:00
nsubiron 12243aa84e Add functions to get actor location and transform 2018-07-28 17:46:26 +02:00
nsubiron 7d1f51e9cc Add functions to set actor location and transform 2018-07-28 15:23:57 +02:00
nsubiron 2253877405 Name some arguments for Python 2018-07-28 13:59:31 +02:00
nsubiron f9b7578d6c Allow destroying actors from Python 2018-07-28 13:04:59 +02:00
nsubiron c4c15cbb41 Add function to enable autopilot from Python 2018-07-27 19:56:00 +02:00
nsubiron ad876a282f Better validation of actor descriptions 2018-07-27 18:43:27 +02:00
nsubiron eb2cbc7839 Expose recommended attribute values in Python 2018-07-27 18:42:49 +02:00
nsubiron 167cef21a0 Fix try spawn actor catching too general exception 2018-07-27 18:42:00 +02:00
iFuSiiOnzZ 756646020d Merge branch 'carla-0.9' into 0.9-win32 2018-07-27 16:30:40 +02:00
nsubiron 81ba9782cb Helpers to convert actor attribute values 2018-07-27 14:51:30 +02:00
nsubiron 2e71467ff5 Add find function to blueprint library 2018-07-27 12:59:38 +02:00
iFuSiiOnzZ 4ed2b34a1e Create carla client library 2018-07-27 09:11:44 +02:00
nsubiron d543c3812e Add function to apply control to vehicles 2018-07-26 22:08:39 +02:00
nsubiron f89f728871 Add function to spawn actor attached to another actor 2018-07-26 20:37:15 +02:00
nsubiron 4f9299c2b5 Compile all client code with setup.py and custom boost version 2018-07-26 19:07:05 +02:00
nsubiron ab431e3847 Exposing cameras in Python API 2018-07-26 18:25:57 +02:00
iFuSiiOnzZ 83464900b9 Make Carla build for Windows
Add missing libs
Enable exceptions
Enble/Disable some UE4 macros
2018-07-26 15:01:54 +02:00
iFuSiiOnzZ 3384d0fd6e Building libcarla without tests 2018-07-26 12:41:20 +02:00
nsubiron 8ae2770e1a Improvements to actor spawners 2018-07-25 17:16:28 +02:00
nsubiron 60d866d5b6 Access Python blueprints with bounds checking 2018-07-25 11:45:16 +02:00
nsubiron a1158c6ca8 Fix some compilation errors on Windows 2018-07-24 18:05:53 +02:00
nsubiron a1663c6e03 Attach description to actor instance 2018-07-24 12:41:44 +02:00
nsubiron 0f636e84fd Full pipeline for spawning actors from Python 2018-07-23 20:40:59 +02:00
nsubiron 03c5ccc9d2 Add game mode for new RPC server 2018-07-23 17:43:23 +02:00
nsubiron 45f661ff9e Expose actor definitions and attributes on client side 2018-07-19 12:19:39 +02:00
nsubiron 82de324b0f Suppress clang warning 2018-07-15 18:52:17 +02:00
nsubiron b7a13d08d6 Refactor streaming library 2018-07-13 11:54:12 +02:00
nsubiron 90b58429bb Update Jenkins pipeline 2018-07-06 18:04:50 +02:00
nsubiron 084fe6c0f6 Add LibCarla module 2018-07-04 11:11:49 +02:00