Commit Graph

744 Commits

Author SHA1 Message Date
Manish 087dc71190 pretifying 2019-05-29 11:31:13 +02:00
Manish f3164137d9 Added friction variation + refactor 2019-05-29 11:30:48 +02:00
Manish d832a19028 Friction Trigger volumes getting spawned with box extents + solved a bug 2019-05-29 11:30:48 +02:00
Manish 70442e2436 Friction trigger box is getting spawned 2019-05-29 11:30:48 +02:00
Manish 2d352612e9 Created Friction Layer Actor 2019-05-29 11:30:48 +02:00
Manish 6b65e5833a setting tire config during begin play 2019-05-29 11:30:48 +02:00
Aidan Clear 627c351e85 Improving visual quality of the rgb scene capture (#1549)
* Adding TemporalAA
* Setting alpha values of pixels in buffer to 255 to account for TemporalAA
* Alpha now removed from pixels on the client side in the image deserialize function
* Adding motion blur
2019-05-28 13:25:42 +02:00
manishthani 066c0b606a Document load props and fix windows build (#1675) 2019-05-28 09:35:45 +02:00
Néstor Subirón d05dc6c743
Allow attaching actors with a spring arm (#1682) 2019-05-27 18:07:03 +02:00
Néstor Subirón fee126dfa7
Include debug info in packaged version (#1659) 2019-05-24 17:24:12 +02:00
nsubiron a063c2ded7 Update content link to allow importing external props 2019-05-23 20:01:15 +02:00
manishthani 4dbb94763b
Merge branch 'master' into manishthani/load_props_definition 2019-05-23 11:02:19 +02:00
Daniel da597f92c9 Fixed code conventions, static methods and format 2019-05-23 10:39:24 +02:00
bernatx faa164557f Removed some commented code 2019-05-22 12:20:21 +02:00
Manish fb2d4bef7d removed some member functions 2019-05-21 18:59:24 +02:00
bernatx 58f00c9a3d Fixes that an actor could be respawned before the Episode is ready 2019-05-21 18:46:08 +02:00
Daniel 03fdb58b29 Fixed commandlets crash. Improved code 2019-05-21 18:40:08 +02:00
manishthani 4a41672e85
Merge branch 'master' into manishthani/load_props_definition 2019-05-14 16:37:28 +02:00
Néstor Subirón cf58f7a2c1
Fix dead-lock when loading a new map in synchronous mode. (#1588)
* Fix #1412, dead-lock when loading a new map in synchronous mode.
* Update CHANGELOG
* Add smoke test for #1412
2019-05-10 16:33:48 +02:00
Daniel Novillo 1f8e405425 Exposed 'is_invincible' for pedestrians (#1454) 2019-05-08 13:45:02 +02:00
Manish a57922cb0b Small Refactor 2019-05-03 18:40:05 +02:00
Manish 2950e8aca4 Changed registry file format + made importing more automatic 2019-05-03 16:15:06 +02:00
nsubiron 32d9715ef8 Upgrade to Unreal Engine 4.22 and clang 7 2019-05-03 12:53:43 +02:00
nsubiron 5fa06e0de0 Replace game mode 2019-05-03 11:31:19 +02:00
nsubiron a220caeee1 Remove "TheNew" from TheNewCarlaServer and TheNewCarlaGameModeBase 2019-05-03 11:31:19 +02:00
nsubiron 2e2d8f9a43 Commit DefaultEngine.ini so Unreal stops modifying it 2019-05-03 11:31:19 +02:00
nsubiron fce4d1a9f8 Remove deprecated code from Carla plugin 2019-05-03 11:31:19 +02:00
Manish 644e30c0f0 changed emptymap & tempmap paths + tempmap removed after exporting + minor changes 2019-05-02 15:42:32 +02:00
Daniel 57e34021c7 FBX Imported ready 2019-05-02 15:42:32 +02:00
Manish 7aaa2683f3 Refactoring 2019-05-02 15:42:32 +02:00
Manish aca3977d72 More Refactor 2019-05-02 15:42:32 +02:00
Manish 7c14cea8a5 Refactor 2019-05-02 15:42:32 +02:00
Manish 133c9c0f93 user props overwrite default ones + repeated props control + refactor 2019-05-02 15:42:32 +02:00
Manish c2551c6379 Added prop blueprint registry class 2019-05-02 15:42:32 +02:00
Marc Garcia Puig 8781712eb8 Updated OpenDriveActor (#1593)
* Fixed OpenDriveActor

* Fixed bebug lines of OpenDriveActor in UE4 editor

* Updated changelog
2019-05-02 14:38:18 +02:00
nsubiron 73f0bc8647 Refactor overload methods into Functional class 2019-04-30 13:45:19 +02:00
nsubiron 1366b21ce4 Disallow implicit conversions between Vector3D/FVector and Vector2D/FVector2D to avoid missing unit conversions unintentionally 2019-04-29 15:35:33 +02:00
bernatx be61f80caf Changes from the Pull Request 2019-04-26 17:15:37 +02:00
bernatx 2087b6f770 Vehicle animations added to recorder (also bikes and cycles) 2019-04-26 17:15:37 +02:00
bernatx f4beec9407 Walker animations added to recorder
Wheels also rotate using inertia of movement only
2019-04-26 17:15:37 +02:00
bernatx 493f85ff46 Only apply physics to vehicles, no walkers 2019-04-26 17:15:37 +02:00
bernatx 9354e38658 First version with walkers animation on replaying 2019-04-26 17:15:37 +02:00
bernatx e0d6879f6b Bugfix on query result (using wrong field) 2019-04-26 17:15:37 +02:00
bernatx a0c94e0974 Bugfixes about recorder:
1) Fixing camera following when a car is loaded by the recorder.
2) Fixing positions at start of replayer (actors were sliding from its current position).
2019-04-26 17:15:37 +02:00
bernatx 739142954d Renaming playback speed by playback time factor 2019-04-12 10:25:13 +02:00
bernatx c2b7e27ac5 Updated CHANGE.LOG and telling playback speed when replaying 2019-04-12 10:25:13 +02:00
bernatx c6ff4cb362 Added an optional parameter to show more details about a recorder file
Related to the show_recorder_file_info.py API
2019-04-12 10:25:13 +02:00
bernatx 708f0c6623 Fix return of void function 2019-04-12 10:25:13 +02:00
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