Commit Graph

796 Commits

Author SHA1 Message Date
bernatx d9975dfde9 Fixed a bug where using a reference of a local variable 2019-04-12 10:25:13 +02:00
bernatx bac4060eb1 We can save in any folder now, or by default at 'Saved' folder. 2019-04-12 10:25:13 +02:00
bernatx 702474f764 Replayer now will load the required map automatically. Also a bug fix. 2019-04-12 10:25:13 +02:00
bernatx be37d22335 Added replayer speed (time factor for slow/fast motion) 2019-04-12 10:25:13 +02:00
nsubiron bd0711e87a Increase version 2019-04-04 19:15:45 +02:00
nsubiron ec477c5514 Add method client.apply_batch_sync that waits for server response 2019-04-04 14:42:28 +02:00
nsubiron 476d587a7d Add carla.command to spawn actors in batch 2019-04-04 14:42:28 +02:00
nsubiron 6d71c65137 Fix vehicles missing the route if autopilot enabled too late 2019-04-02 19:48:13 +02:00
nsubiron 6043d9ac84 Fix OpenDriveActor 2019-03-30 14:36:44 +01:00
Daniel 171952474a OpenDriveActor modifications 2019-03-30 14:29:57 +01:00
Daniel ad427f60f2 OpenDriveActor with waypoints 2019-03-30 14:29:57 +01:00
nsubiron 97099d8b9b Fix includes 2019-03-29 18:01:20 +01:00
nsubiron 560c124dab Merge branch 'master' into feature/new_opendrive_parser 2019-03-27 16:40:11 +01:00
Pasch, Frederik b3bac35fbe LaneInvasionSensor stabilization
- Fix naming: Use 'LaneInvasionSensor'/'lane_invasion' instead of mixture with 'LaneDetector'/'lane_detector'
 - Create server-side LaneInvasionSensor (to be able to access it via ROS bridge)
2019-03-27 11:05:19 +01:00
Daniel 1ffa98df75 Removed debug variables 2019-03-26 19:57:13 +01:00
Daniel 871c66c798 Added MeshComponent to ObstacleDetector 2019-03-26 19:57:13 +01:00
nsubiron 47119f9300 Merge branch 'master' into jenkins/opendrive 2019-03-19 23:36:06 +01:00
Manish 8027666a94 fixed new tire config creation 2019-03-19 12:50:18 +01:00
manishthani e5bffc3e53
Merge branch 'master' into manishthani/expose_physx_fixes 2019-03-19 12:30:51 +01:00
Manish 5d3c8c2e37 reordered function call to avoid garbage collection between calls + changelog 2019-03-19 12:23:26 +01:00
nsubiron 35545f224a Merge branch 'master' into marcgpuig/opendrive 2019-03-19 11:42:02 +01:00
nsubiron 9368891bb0 Add const versions of the methods at Iterator.h 2019-03-18 18:12:55 +01:00
nsubiron e6bfdbec5a Fix OpenDriveActor 2019-03-15 19:55:19 +01:00
Daniel 36b9c7cab7 OpenDrive actor 2019-03-15 19:45:45 +01:00
Daniel 9025b7fa00 Signal parser 2019-03-15 19:44:27 +01:00
nsubiron db1addc378 Fix #1381, make sensors use timestamp from UCarlaEpisode 2019-03-15 14:39:23 +01:00
nsubiron f0d3fd78f1 Pass buffers by r-value reference whenever possible 2019-03-15 12:55:57 +01:00
manishthani e3f61e285a
Merge branch 'master' into manishthani/expose_physx_fixes 2019-03-14 13:56:21 +01:00
Manish 0e1cbb9e62 physics tire friction fixed 2019-03-14 13:06:39 +01:00
Aidan Clear 01bbdc54fe
Merge branch 'master' into update_carla_settings 2019-03-13 19:24:30 +01:00
Marc Garcia Puig 88bad06d22 Fix unreal build while changing the WaypointAPI 2019-03-13 18:37:59 +01:00
Pasch, Frederik 3d2e08611e Add time to SensorData 2019-03-13 16:07:31 +01:00
Aidan Clear b184ec652b Updating carla settings to allow user to disable rendering and set server tieout from the command line 2019-03-12 15:58:11 +01:00
Manish b9f8a50eb6 tire friction fix 2019-03-11 15:34:28 +01:00
nsubiron cf1598ae61 Increase version 2019-03-01 20:29:47 +01:00
nsubiron 59ede38c33 Fix Windows package 2019-03-01 18:16:23 +01:00
nsubiron cf6e9bbbed Fix Windows build 2019-03-01 17:46:55 +01:00
nsubiron 3e335db6f1 Fix uninitialized variable 2019-03-01 17:46:36 +01:00
nsubiron 169cfc9888 Add priority system for vehicle control input so client always overwrites other inputs 2019-03-01 00:15:58 +01:00
nsubiron 8b3489fc88 Add attribute to vehicles to control whether control is sticky 2019-03-01 00:15:58 +01:00
nsubiron 418ad8ce10 Add optional command-line argument "-carla-streaming-port" for setting the streaming server port 2019-03-01 00:15:58 +01:00
nsubiron 2696c9684e Fix #784, add methods for sending commands in batch 2019-03-01 00:15:58 +01:00
nsubiron fd4d8959f5 Change more rpc bindings to accept rpc::ActorId instead of rpc::Actor 2019-03-01 00:15:58 +01:00
nsubiron 3e7e8fb009 Refactor bindings 2019-03-01 00:15:58 +01:00
nsubiron 94ce35dd31 Change rpc bindings to accept rpc::ActorId instead of rpc::Actor when only the id is needed 2019-03-01 00:15:58 +01:00
nsubiron 38963872ef Organize rpc bindings 2019-03-01 00:15:58 +01:00
nsubiron 365eecbb7f Rename actor_id_type to ActorId 2019-03-01 00:15:58 +01:00
nsubiron 8fb6197a79 Add a method for getting the list of available maps in Python API 2019-03-01 00:15:58 +01:00
nsubiron 3ec2483316 Add acceleration and delta-time to world observer message to make data self contained 2019-03-01 00:15:58 +01:00
nsubiron 6bb2feb9b1 Fix #1272, allow changing the map from client-side 2019-03-01 00:15:58 +01:00
nsubiron 6a943333a1 Refactor map related methods 2019-03-01 00:15:58 +01:00
Daniel 7f5a39bbb5 List all maps from Carla Statics. Load map from full path or name. 2019-03-01 00:15:58 +01:00
nsubiron 5da183e4c5 Change episode in client-side if server changed episode by checking world observer message 2019-03-01 00:15:58 +01:00
nsubiron 036bc22ae4 Include episode id on world observer message 2019-03-01 00:15:58 +01:00
nsubiron aa818cdc67 Make episodes have a random unique id to avoid collisions between runs 2019-03-01 00:15:58 +01:00
nsubiron fe2ebc527c Allow changing episode settings at runtime (sync mode and no-rendering mode) 2019-03-01 00:15:58 +01:00
nsubiron e90e82cc81 Fix #1244, make simulator wait for client cue each tick if sync mode is enabled 2019-03-01 00:15:58 +01:00
nsubiron 43ed758fb8 Fix #1258, add FCarlaEngine to ensure tick order 2019-03-01 00:15:58 +01:00
Néstor Subirón 1798e57ef9
Merge branch 'master' into autogenerate-map-commandlet 2019-02-28 16:08:48 +01:00
Daniel 912e28b8ba Added default to Sign Selection 2019-02-28 16:03:12 +01:00
nsubiron 6789783a17 Merge branch 'master' into bernatx/Recorder 2019-02-28 15:17:18 +01:00
bernatx e3c2f68195 Initializing a variable 2019-02-28 14:56:03 +01:00
bernatx b7be0c67d3 Changes for the Pull Request 2019-02-28 12:37:02 +01:00
Daniel 2258562d82 Removed log 2019-02-28 11:51:25 +01:00
nsubiron 2c6bc252d2 Fix compilation on Windows 2019-02-27 22:59:45 +01:00
Daniel 668865c3a9 With_editor to With_editoronly_data 2019-02-27 20:01:23 +01:00
Daniel fe4fcb68ba Export tool updated. Minor distribution fixes 2019-02-27 20:01:23 +01:00
Daniel bc9a713791 Map process now inside Carla Plugin 2019-02-27 20:01:23 +01:00
Daniel 9051def0ee Small fixes 2019-02-27 20:01:23 +01:00
Daniel c004432c39 Improved OpenDriveActor
- Now it keeps track of signs and lights
- Now it despawns signs and lights on "Remove Route"
2019-02-27 20:01:23 +01:00
Daniel e7a5f870f3 Added Traffic Signs 2019-02-27 20:01:23 +01:00
Daniel 59ea5589e0 Import now work with custom traffic lights and groups 2019-02-27 20:01:23 +01:00
Daniel dd0daceb9c Build and material fixes
Fixed a compilation issue.
Fixed a value being GCed and not changing material properly when --usecarlamats was used.
2019-02-27 20:01:23 +01:00
Daniel 1644ae4b17 Fixed material issue 2019-02-27 20:01:23 +01:00
Daniel cad5a61318 Changed the plugin so it is a editor plugin 2019-02-27 20:01:23 +01:00
Daniel 8d2769d22e first completed version of the generate_map.py script 2019-02-27 20:01:23 +01:00
Daniel a34a0e1d02 Basic functionality achieved.
- FBX to UMAP
2019-02-27 20:01:23 +01:00
Daniel 81158985a0 Commandlet for creating a new map (Editor Side) 2019-02-27 20:01:23 +01:00
Aidan Clear 5cbde4d5a9 Updating api to allow retrieval of traffic pole index and the other traffic lights in a group from a traffic light 2019-02-27 18:48:40 +01:00
nsubiron 419be77858 Add support for stop and yield signs 2019-02-27 17:47:36 +01:00
nsubiron 3e93782c98 Expose traffic sign's trigger volumes on Python API 2019-02-27 17:47:36 +01:00
nsubiron 6701f22ab1 Fix compilation error on Windows 2019-02-27 16:53:37 +01:00
Néstor Subirón 0e7e1b0b91
Merge branch 'master' into new_expose_vehicle_physics 2019-02-27 12:29:58 +01:00
Marc Garcia Puig f0273d5465
Merge branch 'master' into marcgpuig/windows_build 2019-02-27 11:50:57 +01:00
bernatx d0c2962f5d Add some comments on code, change some hash function 2019-02-26 15:07:19 +01:00
bernatx 6b609f5db6 Isolate the query module 2019-02-26 15:07:19 +01:00
bernatx 4b24e7b4d6 Improvements to the collision structure for recording 2019-02-26 15:07:19 +01:00
manishthani a49e14997e
Merge branch 'master' into new_expose_vehicle_physics 2019-02-26 14:56:05 +01:00
Manish 5eb4561a38 refactoring code 2019-02-25 20:41:54 +01:00
Manish dcc0cc4f1d Added default params and refactored 2019-02-25 13:16:57 +01:00
bernat 98492c592d
Merge branch 'master' into bernatx/Recorder 2019-02-25 12:16:06 +01:00
bernatx 1a784ac2a3 Changed the structure of the recorder file, now it is more flexible 2019-02-25 12:12:10 +01:00
Manish 333fe4546d refactored code 2019-02-25 11:17:16 +01:00
Manish 12fd0178e5 Improved test, removed inertia tensor scale, fixed bindings and center of mass 2019-02-24 19:47:35 +01:00
bernatx f9768935ee A bit of reformatting output 2019-02-22 13:49:44 +01:00
bernatx c35fbd8884 Parsing actors from the registry instead of from Unreal 2019-02-22 13:49:22 +01:00
bernatx 0ed6ae5883 Minor corrections 2019-02-22 10:39:24 +01:00
bernatx 5290ab3188 Fix problem with velocities, now they are reset while replaying 2019-02-21 18:24:32 +01:00
bernatx cccf16e9dc Removing the LOG file associated to each recorded file. 2019-02-21 14:03:26 +01:00
Manish 01ecabc0e0 simplified get and set of center of mass and extended test 2019-02-21 11:20:32 +01:00
Manish 4df5da8620 Added center of mass and huge refactor of bindings 2019-02-20 19:25:16 +01:00
bernatx 737431735c Adding collision events and a few more features to the recording system 2019-02-20 14:51:33 +01:00
Manish c6f618090b Removed hack for controlling physics params, found a better way 2019-02-19 20:38:43 +01:00
Manish 0b235ad0cc Added Vector2D and changed curves to list of Vector2D 2019-02-19 14:14:06 +01:00
Manish adb2f50158 Added wheels physics control 2019-02-18 20:54:24 +01:00
Manish f9255b9544 Working on wheel physics and changed call from world to each actor 2019-02-18 19:16:13 +01:00
Manish 0c8839ccb6 we can now set physics params of vehicles 2019-02-18 11:39:32 +01:00
Manish 6547535a71 Added constructor of VehiclePhysicsControl in PythonAPI 2019-02-18 10:53:29 +01:00
bernatx 12dd144400 Moved Recorder code from LibCarla to Unreal 2019-02-15 13:06:32 +01:00
nsubiron a0c2c21581 Add movable static meshes to the actor registry 2019-02-15 12:56:53 +01:00
Manish 89ed858cd9 Added vehicle engine setup params 2019-02-15 10:54:25 +01:00
Manish b882efe8e3 exposing torque curve of vehicle physics working 2019-02-14 19:33:24 +01:00
Marc Garcia Puig a206e35c77 Fixed package for windows 2019-02-12 15:06:27 +01:00
bernatx 06d486f22a Some Pull Request fixes 2019-02-11 19:15:28 +01:00
bernatx 525293850a Fixing problem with dynamic Id of TrafficLights 2019-02-11 16:42:14 +01:00
bernatx 1985ab683f Adding traffic light state to recorder. Also other fixes. 2019-02-08 15:30:22 +01:00
bernatx cedf9c1bfa Fixing merge with master 2019-02-06 17:24:09 +01:00
bernatx 3824e4d616 Manual_control script with recording/replayer functionality 2019-02-06 12:40:35 +01:00
bernatx 41e53d528b Added parenting and negative times to start a time from the end 2019-02-06 12:18:30 +01:00
bernatx 561895280a Adding general info to the recorder file, and removing velocity data 2019-02-06 12:17:10 +01:00
bernatx 0a6ecf4349 Basic recording/replayer functionality 2019-02-06 12:14:22 +01:00
bernatx 7d9ccf8c18 Adding Replayer (but with callback problem) 2019-02-06 12:11:38 +01:00
bernatx 80ebdbf945 First version of recorder (logger), only capture. 2019-02-06 11:47:48 +01:00
nsubiron 9134973489 Upgrade version 2019-01-31 19:32:27 +01:00
nsubiron 7678354315 Update content link 2019-01-31 19:31:35 +01:00
Marc Garcia Puig b2e0b53cf5 Fixed the steering when RoadMap is null 2019-01-30 18:12:42 +01:00
Marc Garcia Puig aff20355e3 Fix raycast direction when FreeDriving 2019-01-30 18:12:42 +01:00
Marc Garcia Puig 8c8c256543 Fixed style in some old code 2019-01-30 18:12:42 +01:00
Marc Garcia Puig 4421358610 Fixed multiple trigger spwning 2019-01-30 18:12:42 +01:00
Marc Garcia Puig 7e45899d74 Fixed vehicle controller raycast and OpenDriveActor issues 2019-01-30 18:12:42 +01:00
nsubiron 137b69b29a Add utils for creating a prop factory 2019-01-30 16:25:08 +01:00
Néstor Subirón 0e8ca5064b
Merge branch 'master' into tl_api 2019-01-30 14:40:21 +01:00
Daniel Novillo 5a026fd489
Merge master into pedestrian-collision-sensor 2019-01-30 13:49:57 +01:00
Aidan Clear faac288002 Prettyfying the files in response to review 2019-01-30 11:20:23 +01:00
Daniel 881e957216 Optimizations 2019-01-29 20:43:37 +01:00
Daniel 79b7e39196 Moved code from Sensor to ActorBlueprintFunctionLibrary
Added documentation
Minor code improvements
2019-01-29 19:21:34 +01:00
nsubiron a993968c5a Switch off texture streaming again, it was automatically switched on on Unreal Engine upgrade 2019-01-29 16:43:53 +01:00
Aidan Clear f033823752 Fixing couple of merge issues 2019-01-29 16:20:09 +01:00
Aidan Clear cb6c57d24e
Merge branch 'master' into tl_api 2019-01-29 13:07:48 +00:00
nsubiron 1e5195dd9a Fix ObstacleDetectionSensor for new async streams 2019-01-29 13:05:41 +01:00
Daniel ad5c62cfb1 Improved comments and changed TraceChannel to ECC_WorldStatic 2019-01-29 12:44:41 +01:00
Daniel 0bd4388e3f Documentation and variable renaming for obstacle sensor 2019-01-29 12:44:41 +01:00
Daniel Novillo Villarejo 5a31efe298 Obstacle detector for vehicles or everything 2019-01-29 12:44:22 +01:00
Daniel Novillo Villarejo 91e9ee8200 Basic sensor setup for ObstacleDetectionSensor 2019-01-29 12:44:22 +01:00
Daniel Novillo Villarejo 488a56fcab Rollback of DefaultGame.ini
Solve FILE_NAME never used
change if mkdir for mkdir -f in a couple of files
2019-01-29 12:00:58 +01:00
Daniel Novillo Villarejo 7612757f8a Changed MapstoCook, directories to always cook and staging directory 2019-01-29 12:00:58 +01:00
Daniel Novillo Villarejo 0730688e48 Maps extraction tool without testing 2019-01-29 12:00:58 +01:00
nsubiron ae75d41055 Remove crash reporter 2019-01-29 10:42:38 +01:00
Aidan Clear acb590ca85 Adding python api support for changing a traffic light's state and timers and getting the traffic light and speed limit for a vehicle 2019-01-28 20:03:16 +01:00
nsubiron 63ce3a10e8 Small documentation fix 2019-01-28 19:51:00 +01:00
nsubiron 98a515537a Minor fixes 2019-01-28 19:13:56 +01:00
nsubiron fbf64f56d5 Add CarlaStatics function library 2019-01-27 21:04:40 +01:00
nsubiron 7cb8e00135 Fix #1168 deregister registered actors on "OnDestroyed" event 2019-01-27 19:13:36 +01:00
nsubiron 67c2d900e5 Fix regression introduced in #1150, make data streams more robust for asynchronous use 2019-01-27 16:19:16 +01:00
nsubiron 027362bb48 Refactor the server to always return a Response object, move some functionality to UCarlaEpisode 2019-01-27 13:34:57 +01:00
nsubiron 1f34cf33b7 Add more info to actor view, including serialized data 2019-01-26 18:31:15 +01:00
nsubiron c7561c5ef7 Iterate actor registry by values instead of pairs 2019-01-26 18:31:15 +01:00
nsubiron 0371620a36 Replace Optional by boost::optional and add adaptors for serialization 2019-01-26 18:31:15 +01:00
nsubiron 8296b50aec Fix serialization of boost::variant 2019-01-26 18:31:15 +01:00
nsubiron 6ff8784f16 Compile server pipeline with -fno-exceptions, split unit tests for client and server 2019-01-26 17:27:14 +01:00
nsubiron 459d75568a Add carla::throw_exception function to re-route exceptions 2019-01-26 15:59:17 +01:00
nsubiron 7801e68f0f Fix missing includes 2019-01-26 14:31:35 +01:00
nsubiron bd398acf28 #1119 make sure streams are discarded when the sensor is destroyed 2019-01-26 14:31:35 +01:00
nsubiron 6c5da50d7e Fix impulse needs to convert units 2019-01-24 19:57:17 +01:00
bernatx 21bf92c5af Removed 'add_force' command, and little fixes. 2019-01-24 18:57:38 +01:00
bernatx c360d1407b Adding conversion for meter / centimeter for Vector3D 2019-01-24 18:57:38 +01:00
bernatx eaf3392c66 Added methods to PythonAPI for managing some physics of an actor 2019-01-24 18:57:38 +01:00
Marc Garcia Puig e6c1df36ae Remove unnecessary checks 2019-01-24 16:50:29 +01:00
Marc Garcia Puig 1287164b0f Changed asserts for checks 2019-01-24 14:44:24 +01:00
Marc Garcia Puig 84375d376b Added option to change elevation to the triggers 2019-01-24 12:58:48 +01:00
Marc Garcia Puig 2b99e46954 Fixed OpenDriveActor bug on multiple lane junctions 2019-01-24 12:58:15 +01:00
nsubiron 61a7cc94ad Migrate saving images to disk to new async system 2019-01-23 18:57:31 +01:00
nsubiron 6c8499c8c9 Upgrade to UE4.21 2019-01-23 18:57:26 +01:00
Pasch, Frederik 89af74d967 Add support for a gnss sensor
An initial reference location is read from the header of the OpenDRIVE definition (/OpenDRIVE/header/geoReference)

The expected format is based on the Proj4 syntax:
+lat_0=<LATITUDE as double> +lon_0=<LONGITUDE as double)

Example (Town01):
<OpenDRIVE>
    <header revMajor="1" revMinor="4" name="" version="1" date="2018-10-26T12:17:35" north="2.0479999989271146e+1" south="-3.4888998413085938e+2" east="4.1446086126736287e+2" west="-2.0712774024007370e+1" vendor="VectorZero">
        <geoReference><![CDATA[+lat_0=4.9000000000000000e+1 +lon_0=8.0000000000000000e+0]]></geoReference>
    </header>
...
2019-01-23 17:49:01 +01:00
nsubiron 4235da52a2 Add bounding box to pedestrians 2019-01-22 19:54:57 +01:00
nsubiron aec58e7357 Fix missing include and forward declaration 2019-01-22 19:54:57 +01:00
nsubiron 4c68cdb345 Add jump to pedestrian control 2019-01-22 19:54:57 +01:00
nsubiron 4ab822bcce Add support for spawning and controlling walkers 2019-01-22 19:54:57 +01:00
nsubiron 656aba71ec Rename apply_control_to_actor to apply_control_to_vehicle 2019-01-22 19:54:57 +01:00
Bernat d83f2f454e Renamed property tick_interval to sensor_tick 2019-01-16 10:46:16 +01:00
bernat 8e611f0c13 Moving tick_interval property from collision camera to Lidar camera. 2019-01-16 10:46:16 +01:00
bernat 8a8db23f86 Adding 'tick_interval' property for sensors 2019-01-16 10:46:16 +01:00
nsubiron d4f6c24c64 Update changelog and increase version 2018-12-21 22:52:33 +01:00
nsubiron e464913014 Update cameras and sensors documentation 2018-12-15 17:35:04 +01:00
nsubiron 77de6a958c Make the simulator start windowed by default 2018-12-13 20:27:49 +01:00
marcgpuig df11f4dd64 Restored SpriteComponent's EditorScale 2018-12-13 19:31:37 +01:00
marcgpuig cb1aaff0d2 AddSpawners disabled by default 2018-12-13 19:31:37 +01:00
marcgpuig 52429a3e94 Now the waypoint elevation works within the Python API 2018-12-13 19:31:37 +01:00
marcgpuig a0cbf1dfb2 Added elevation in OpenDriveActor 2018-12-13 19:31:37 +01:00
nsubiron 56534e9569 Add option for manual gear shifting to VehicleControl 2018-12-13 18:32:59 +01:00
marcgpuig 3aa0ef261a Merge branch 'usable_open_drive' of https://github.com/carla-simulator/carla into usable_open_drive 2018-12-10 15:28:40 +01:00
marcgpuig b3e2f2261d Added a description on Unreal's interface 2018-12-10 15:25:43 +01:00
Marc Garcia Puig 6451fde7c7
Merge branch 'master' into usable_open_drive 2018-12-10 11:09:18 +01:00
marcgpuig c0e874c2e6 Fixed problem generating the package + new icon 2018-12-05 19:39:01 +01:00
marcgpuig 4b998bbebc Major improvment on OpenDriveActor usage 2018-12-04 16:23:20 +01:00
marcgpuig cbd28cc5d1 Fixed package making + formating to UE4's standard 2018-12-03 11:00:49 +01:00
Marc Garcia Puig 8e762850cd Fixed an issue where the OpenDrive was generated twice 2018-11-30 21:09:47 +01:00
Bernd Gassmann bd710c339c Provide parent/attribute content of Actors via python interface
While creating the new carla ros bridge some extensions became necessary
within CARLA:

The parent property of an actor via python interface is not yet filled.
Therefore, the parent_id of Actors has to be transferred from the CARLA
server via rpc interface.

In addition, actor attributes are published via python interface.

Changes in detail:

carla/rpc/Actor.h:
- add parent_id field to the Actor class for rpc transport

TheNewCarlaServer.cpp:
- fill the parent_id field with the appropriate value

client/ActorList:
- added GetActor() function to get an actor by id

client/ActorVariant:
- added actor_list optional parameter to Get() and MakeActor() function
which allows to query for the parent actor in case the actor_list is
available

client/ActorAttribute:
- solved problem of independent rpc::ActorAttribute* classes by
introduction of ActorAttributeValueAccess class, to be able to reuse
most of the functions for both ActorAttribueValues and ActorAttributes

ActorBlueprintFunctionLibrary:
- extended actor attributes by attribute 'role_name' having {autopilot,
    scenario, ego_vehicle} as recommended values for vehicles or
    {front,back,...} for sensors to be able to distiguish the different
    actors in a meaningful way when transferring to ROS topic names
- extended vehicle attributes by not-modifiable attribute 'object_type'
to be defined at blueprint creation time to provide ground truth
object classification type

PythonAPI:
- libcarla: provide the actor attributes within python as dictionary
- make use of role_name attribute to provide information required for
ROS bridge to distinguish ego vehicle from others
2018-11-30 16:08:50 +01:00
Marc Garcia Puig 1d1953f347 Even fewer dependencies in Carla.h 2018-11-27 18:08:01 +01:00
iFuSiiOnzZ ad91270ab8 Remove "function X" not found error
Depending on the include header sometimes the error is  {instrinsic funtion} is not a member of {class name} and other times it seems some Unreal functions as GetObject was replaced by the GetObjectW macro.
2018-11-19 11:02:07 +01:00
iFuSiiOnzZ 3583f895af Add missing includes for enable/disable UE4 macros 2018-11-19 10:52:54 +01:00
nsubiron cddb98282c Increase version and update changelog 2018-11-16 13:29:40 +01:00
nsubiron 3072fcb2be Add missing license notices 2018-11-15 16:49:40 +01:00
nsubiron 0be794736f Uncrustify 2018-11-15 16:49:40 +01:00
nsubiron a4fda4213b Refactor MapData 2018-11-15 16:45:34 +01:00
nsubiron 503fedeb6b Merge branch 'master' into roads 2018-11-12 14:48:44 +01:00
nsubiron b5c565d49f Add missing include 2018-11-08 12:50:30 +01:00
nsubiron b113b979ca Log vehicle control in world observer 2018-11-08 12:50:11 +01:00
nsubiron 6e0c0c808f Fix unit conversion for velocity 2018-11-07 11:32:38 +01:00
iFuSiiOnzZ 7a2d023619 Use the trigger extend volume for lane debugging 2018-11-01 13:16:13 +01:00
nsubiron 46a6ecec1c Rollback files that didn't need to change 2018-10-31 19:53:34 +01:00
nsubiron 36e1ca6ed0 Fix route planner trigger box default extent 2018-10-31 18:38:53 +01:00
nsubiron 0f4f23bb63 Make vehicles continue straight when off-road 2018-10-31 18:37:52 +01:00
iFuSiiOnzZ 690d114d90 Start to play with the autopilot and opendrive 2018-10-31 11:52:40 +01:00
iFuSiiOnzZ ec14745050 Check for errors during opendrive parsing 2018-10-30 14:33:58 +01:00
iFuSiiOnzZ 425d1dca90 Put back the Init function for ARoutePlanner 2018-10-29 17:50:20 +01:00
iFuSiiOnzZ 00fc3e4b26 Return lanes ordered (from 1 to n and -1 to -n) 2018-10-29 15:42:59 +01:00
iFuSiiOnzZ 2b9480a772 Invert the heading the the 'y' to be in Unreal coordinates 2018-10-29 13:42:24 +01:00
nsubiron 92f8fe7fd6 Merge branch 'master' into roads 2018-10-28 11:35:42 +01:00
nsubiron 6d1f3519ec Make possible to draw UE4 debug shapes from Python API 2018-10-28 10:19:30 +01:00
nsubiron 3af14283f8 Add vehicle spawn points
(cherry picked from commit 9aed85ed37)
2018-10-28 10:08:41 +01:00
Joshua Harlow 61ad44497f Get config loading working again (for abs paths)
The main reason this wasn't working was because it
was only returning true for the relative path; when
it should return true in both cases.

Fixes #215
2018-10-26 14:42:02 -07:00
nsubiron 48d204161a Fix route planner not initialized 2018-10-26 20:43:58 +02:00
nsubiron 8f12b498a2 Fix deleted shared_ptr 2018-10-26 18:28:42 +02:00
nsubiron 5c4d01167c Merge branch 'roads' into road_points_test 2018-10-26 18:20:29 +02:00
nsubiron 4e075ca1f1 Merge branch 'master' into com 2018-10-26 17:29:59 +02:00
nsubiron e97882264e Disable texture streaming 2018-10-26 14:14:37 +02:00
iFuSiiOnzZ 035c00bb1d Automatically load opendrife file 2018-10-26 13:01:38 +02:00
iFuSiiOnzZ d95d8ee5ec Refactoring 2018-10-25 16:15:12 +02:00
iFuSiiOnzZ 1ec41174e1 Route generates seemd to work
There is bug in the exported opendrive  where is missing some information in the junctions.
2018-10-25 12:55:13 +02:00
nsubiron 73826236e0 Fix wrong overload was called 2018-10-25 12:01:47 +02:00
nsubiron aeb04231c6 Correct map name if playing in editor 2018-10-25 12:01:19 +02:00
nsubiron bf0685d115 Expose road maps to Python 2018-10-24 22:42:50 +02:00
nsubiron 6b7ad14665 Add recommended start transforms to map info message 2018-10-24 21:59:23 +02:00
nsubiron 4f92ec758c Add MapInfo message and serialize OpenDrive file 2018-10-24 21:59:23 +02:00
nsubiron 9aed85ed37 Add vehicle spawn points 2018-10-24 21:59:23 +02:00
iFuSiiOnzZ 412c45b46b Waypoints for straight lines working : ) 2018-10-23 17:06:03 +02:00
nsubiron 00e0b5167f Fix compilation of CarlaUE4 2018-10-23 16:43:52 +02:00
FPerez 3389d4c58b Increased waypoint acceptance area, and expose debug info to blueprints 2018-10-23 16:38:22 +02:00
nsubiron 99fc6fd103 Merge branch 'com' into roads 2018-10-23 16:01:15 +02:00
iFuSiiOnzZ 08f7352835 Draw waypoints as line 2018-10-23 09:39:54 +02:00
nsubiron c824f77e6d Destroy pawn's controller when destroying an actor if necessary 2018-10-22 17:58:20 +02:00
nsubiron 44710c760d Workaround bounding boxes only for vehicles 2018-10-22 14:17:25 +02:00
nsubiron a4a8bcad27 Reduce output log of weather 2018-10-22 10:18:47 +02:00
nsubiron c478eb039e Function to disable simulating physics on an actor 2018-10-21 23:39:58 +02:00
nsubiron 994110047e Fix set actor transform broken for attached actors 2018-10-21 23:38:14 +02:00
nsubiron d5392c7408 Add traffic lights and signs as actors 2018-10-21 23:35:24 +02:00
nsubiron cf8a758146 Add semantic tags to actors 2018-10-21 18:27:49 +02:00
nsubiron 07b22b5f2f Move episode state serialization into Unreal 2018-10-21 17:10:48 +02:00
nsubiron 26198adab3 Fix crash empty actor getting serialized 2018-10-21 16:50:28 +02:00
nsubiron 8f20693ffa Make tags singular 2018-10-21 15:18:28 +02:00
nsubiron 55558a64ca Fix build
(cherry picked from commit bc6d9de781)
2018-10-21 14:47:36 +02:00
nsubiron 313b11931c Add collision sensor 2018-10-20 20:33:37 +02:00
iFuSiiOnzZ 01b963baa2 Some fixes 2018-10-19 18:13:33 +02:00
iFuSiiOnzZ 10eb2184a8 Replace 2 first points of the spline and destoy RoutePlanners on exit 2018-10-19 17:28:53 +02:00
nsubiron bc6d9de781 Fix build 2018-10-19 17:27:52 +02:00
iFuSiiOnzZ 814723d434 Move points reversion out of the points loop generation 2018-10-19 16:52:09 +02:00
iFuSiiOnzZ b7b895772a Testing car autopilot for straight lines 2018-10-19 16:44:15 +02:00
nsubiron 81e7fbc12c Merge branch 'com' into roads 2018-10-19 15:14:35 +02:00
nsubiron fb39d01a44 Update Content and default Town03 2018-10-19 13:27:56 +02:00
nsubiron cecd66e159 Allow vehicles without color attribute 2018-10-19 13:08:27 +02:00
nsubiron 5c3af1f5a5 Add option to command-line to change quality level 2018-10-19 11:22:55 +02:00
nsubiron b58a5988a1 Port quality level delegate to new game mode 2018-10-19 11:22:55 +02:00
nsubiron d2f2c3c650 Use new quality level enum and uncrustify related files 2018-10-19 11:22:55 +02:00
nsubiron 15ee43375c Add quality level enum serialization 2018-10-19 11:22:55 +02:00
iFuSiiOnzZ 659de82a6a Generating multilane waypoints 2018-10-19 10:57:05 +02:00
nsubiron 3c1f23a3fa Better logging when destroying actors 2018-10-18 20:38:14 +02:00
nsubiron 21800007b4 Add support for requesting the list of actors in the episode 2018-10-18 20:36:17 +02:00
nsubiron e08b4e6cfd Remove autopilot error messages 2018-10-18 00:39:27 +02:00
nsubiron f09e9b0872 Whoops 2018-10-18 00:21:03 +02:00
nsubiron c0045c64fa Enable AWorldObserver tick 2018-10-18 00:21:03 +02:00
nsubiron 2168747991 Deserialize data from world observer 2018-10-18 00:21:03 +02:00
nsubiron 7722f112ba Attach AWorldObserver sensor to UCarlaEpisode 2018-10-18 00:21:03 +02:00
nsubiron 817aac38dd Add world observer sensor 2018-10-18 00:21:03 +02:00
nsubiron d7d4dd4e1e Add episode info message 2018-10-18 00:21:03 +02:00
nsubiron c7de4c0be7 Make Simulator class, leave Client to pure networking methods only 2018-10-18 00:21:03 +02:00
nsubiron f159a0eacf Sync default weather parameters 2018-10-18 00:19:38 +02:00
nsubiron 733210500d Indentation... 2018-10-18 00:18:03 +02:00
FPerez 6ee5f2ac59 Changed camera gamma 2018-10-17 19:58:03 +02:00
FPerez 711e04fc53 Capture Gamma set, Preset weathers fixed 2018-10-17 19:28:49 +02:00
iFuSiiOnzZ 9718238df6 Add basic lane information 2018-10-17 12:18:40 +02:00
iFuSiiOnzZ 62a48ca689 Add diferent route options to the RoutePlanner 2018-10-16 18:24:16 +02:00
iFuSiiOnzZ 42af43ace5 Draw opendrive points (debug purpose) 2018-10-16 18:18:02 +02:00
iFuSiiOnzZ b6c36404a3 Generate points for the RoutePlanner 2018-10-15 18:09:37 +02:00
iFuSiiOnzZ 2e364efea4 Add OpenDrive actual for waypoints load 2018-10-15 15:12:46 +02:00
iFuSiiOnzZ d046c01bc3 Give possibility to add dynamic routes to RoutePlanner 2018-10-15 13:19:41 +02:00
iFuSiiOnzZ 80b258a571 Includes reordering 2018-10-15 10:44:37 +02:00
nsubiron e19a5cb7b9 Fix compilation on Windows 2018-10-15 10:34:16 +02:00
nsubiron 5bb425737c Expose weather to client API 2018-10-15 10:34:08 +02:00
iFuSiiOnzZ 604111ec4f Remove intrinsics functions errors by reodering the includes 2018-10-13 14:12:20 +02:00
iFuSiiOnzZ 3db8a9464f Pass zero as offset to WritePixelToBuffer_Vulkan 2018-10-13 11:31:00 +02:00
nsubiron 856ecde332 Add Weather class 2018-10-11 18:22:03 +02:00
nsubiron c83078d700 Fix missing includes 2018-10-11 18:15:05 +02:00
nsubiron 5965c3bdbe Refactor client-side code and its C++ API 2018-10-08 13:47:10 +02:00
nsubiron db9d6a781d Small refactoring and documentation 2018-10-02 18:00:16 +02:00
nsubiron 7771e5778c Fix make package 2018-10-02 15:03:58 +02:00
nsubiron df65c16b1a Rename sensors 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 fb68143559 System for setting sensor attributes 2018-10-02 15:03:58 +02:00
nsubiron 8cfee9696d Better support for blueprints in SceneCaptureSensor 2018-10-02 15:03:58 +02:00