Commit Graph

770 Commits

Author SHA1 Message Date
nsubiron 408e01db3e Install third-party sources for Windows to build the client-side 2019-07-09 13:18:19 +02:00
bernatx 933d2b72ad Fixing removing of dead pedestrians 2019-07-08 18:42:45 +02:00
bernatx d539f27ac3 Automatically rmoving dead walkers from client 2019-07-08 18:42:45 +02:00
bernatx 69db6db97f Fixing exception getting random point for navigation 2019-07-08 18:42:45 +02:00
bernatx e0cdc80cc1 Changes from PR 2019-07-08 18:42:45 +02:00
bernatx 1ae71d9521 Changing locks 2019-07-08 18:42:45 +02:00
bernatx ea00ab2c89 Change some comments 2019-07-08 18:42:45 +02:00
bernatx b652e67295 Fixes from PR 2019-07-08 18:42:45 +02:00
bernatx 0e91e19c32 Remove the location argument when calling start() 2019-07-08 18:42:45 +02:00
bernatx c05ed8a0f2 Creating new batch command for walkers 2019-07-08 18:42:45 +02:00
bernatx 9dd7f30e4e Removed the usage of half height of walker 2019-07-08 18:42:45 +02:00
bernatx 32358b069e Prettifying files 2019-07-08 18:42:45 +02:00
bernatx a08a3bbc26 Fix conflicts with rebase 2019-07-08 18:42:45 +02:00
bernatx 38fef38f62 Added more checks on code, and removed some logs 2019-07-08 18:42:45 +02:00
bernatx a3b7594ef8 Added function to remove walkers 2019-07-08 18:42:45 +02:00
bernatx 8a6ab631f1 Fixes from PR 2019-07-08 18:42:45 +02:00
Manish c3d160dfde Fixed walker shaking when moving by creating ApplyTransform2D batch command 2019-07-08 18:42:45 +02:00
bernatx 3521fe42c3 Moving recast headers out of project 2019-07-08 18:42:45 +02:00
bernatx 8e4f7a7248 More fixing for windows 2019-07-08 18:42:45 +02:00
bernatx ced914a653 Fixing build in windows 2019-07-08 18:42:45 +02:00
bernatx 2cc9ddafb6 Fix max speed of pedestrians and a bug fix for windows compilation 2019-07-08 18:42:45 +02:00
bernatx e31a071163 Added a base offset to adjust the position on Z axis 2019-07-08 18:42:45 +02:00
bernatx 5c1ea39555 Set maximum limit of 300 pedestrians 2019-07-08 18:42:45 +02:00
bernatx 16cdf64f8f Fixing the floor height of pedestrians 2019-07-08 18:42:45 +02:00
Manish 9821a5134a Interpolated rotation for pedestrians 2019-07-08 18:42:45 +02:00
bernat 036baa1488 Fixing Recast library for Windows 2019-07-08 18:42:45 +02:00
bernatx 8e0ddabb70 Added parameter to spawn several pedestrians 2019-07-08 18:42:45 +02:00
bernatx ba56784057 Script to add pedestrians 2019-07-08 18:42:45 +02:00
Manish 8fbeb57870 pedestrian spawn in random location from client 2019-07-08 18:42:45 +02:00
bernatx dd214c7752 Filtering random positions by height 2019-07-08 18:42:45 +02:00
Manish aebb01b405 fixed pedestrian orientation 2019-07-08 18:42:45 +02:00
bernatx 8138571ce8 Random points generation 2019-07-08 18:42:45 +02:00
Manish 584667b71b Set Animation Speed 2019-07-08 18:42:45 +02:00
Manish d3947f1971 Pedestrians facing their walking direction 2019-07-08 18:42:45 +02:00
bernatx b03a7864c7 Fixing orientation of pedestrians 2019-07-08 18:42:45 +02:00
Manish 57450533f1 Added lock to avoid multithread crash in recast 2019-07-08 18:42:45 +02:00
bernatx 007f9c7122 Working on pedestrian movement 2019-07-08 18:42:45 +02:00
bernatx 42a4ea0eb7 Adding DetourCrowd 2019-07-08 18:42:45 +02:00
bernatx c189b6562f We can get a path from Python now 2019-07-08 18:42:45 +02:00
bernatx 8b92cc95b5 Added Recast&Detour to Carla project 2019-07-08 18:42:45 +02:00
Manish 46ca67bc23 Added some bindings with walker ai controller 2019-07-08 18:42:45 +02:00
nsubiron 71c7ad480d Create dummy walker navigation on client-side 2019-07-08 18:42:45 +02:00
nsubiron 283c5ce17c Add class AtomicList 2019-07-08 18:42:45 +02:00
nsubiron 976e4db97a Fix missing include 2019-07-08 18:42:45 +02:00
nsubiron 4852aa66cd Add empty WalkerAIController on client-side 2019-07-08 18:42:45 +02:00
nsubiron e4dd26a50e Fix assert check in wrong place 2019-07-06 00:14:53 +02:00
nsubiron 01ed348875 Make 'tick' and 'apply_settings' wait until the new frame is received and return the frame id when the changes took effect 2019-07-06 00:14:53 +02:00
Johannes Quast 3d0ec717f7 Add transmission gears values access
- LibCarla and PythonAPI can read and write transmission values
   and the forward gear details
2019-07-05 20:06:26 +02:00
Johannes Quast 58e48b1acc Add access to vehicle physics brake values
- Make maximum brake and handbrake torque accessible
   to LibCarla.
2019-07-05 11:52:05 +02:00
nsubiron ab2f6f5bb6 Move third-party code in LibCarla to a third-party folder 2019-07-01 19:11:01 +02:00
nsubiron 915e35d435 Rename frame_count and frame_number as frame 2019-06-28 14:05:00 +02:00
Daniel Novillo d8145c8dba Control walker skeleton from Python API (#1719) 2019-06-27 22:16:17 +02:00
nsubiron 84c8f46595 Add check for ActorDynamicState size 2019-06-27 13:19:00 +02:00
nsubiron 83d05fbd93 Remove some outdated @todo 2019-06-26 17:51:42 +02:00
nsubiron e3e72206a2 Make on_tick and wait_for_tick pass WorldSnapshot instead of Timestamps 2019-06-20 18:06:13 +02:00
nsubiron ca6e88c677 Add WorldSnapshot 2019-06-20 18:06:13 +02:00
nsubiron 932b7a73ad Add ActorSnapshot 2019-06-20 18:06:13 +02:00
Néstor Subirón 5d71e556f4
New weather defaults (#1753)
* Add default weather preset
* Update content link
2019-06-17 18:07:32 +02:00
nsubiron 10c5f6a482 Pass sensor data by r-value reference 2019-06-17 14:36:18 +02:00
nsubiron 5656cc89e4 Add NoopSerializer for sensors that do not send data 2019-06-17 14:35:35 +02:00
nsubiron 3934cbcfbd More efficient way of retrieving traffic light actor 2019-06-13 16:56:56 +02:00
nsubiron 9b7159cdbc Do not cache actor parent in the actor 2019-06-13 16:56:56 +02:00
nsubiron 7ab2fd6f7a Prevent generating waypoints at zero distance 2019-06-13 12:30:53 +02:00
nsubiron 9e93fca6cc Fix vehicle code documentation 2019-06-13 10:40:19 +02:00
John A Novak 11fce62223 Issue #1596 Fix WGS84 reprojection Latitude reversal (#1601) 2019-06-04 18:52:49 +02:00
Manish f7b7ccd9d3 Removing is_steerable param and updating tests 2019-05-29 11:31:13 +02:00
Manish 1f8eb1ead1 Added world pos for wheels + working on using physx to fix a bug 2019-05-29 11:31:13 +02:00
Manish b4f7ecc5ea Added radius getter/setter to wheel physics control 2019-05-29 11:31:13 +02:00
Manish 17fe069890 renamed physics params 2019-05-29 11:31:13 +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
Néstor Subirón d05dc6c743
Allow attaching actors with a spring arm (#1682) 2019-05-27 18:07:03 +02:00
nsubiron 423508e8ba Fix compiler warning C4822 2019-05-07 11:59:45 +02:00
nsubiron 0466081920 Prepare to upgrade to Boost 1.70 (not upgrading due to bug in Boost.Variant) 2019-05-03 12:53:43 +02:00
nsubiron 32d9715ef8 Upgrade to Unreal Engine 4.22 and clang 7 2019-05-03 12:53:43 +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 413737887f Increase timings for recurrent shared future test 2019-04-30 17:14:19 +02:00
nsubiron c54bba71db Better template deduction when posting tasks to the ThreadPool 2019-04-30 13:46:53 +02:00
nsubiron 6af462472a Merge both thread pool implementations into one 2019-04-30 13:46:53 +02:00
nsubiron 9b13ef9891 Reuse asio's hack in other places 2019-04-30 13:45:19 +02:00
nsubiron 9a2d062cda Optimize RPC calls, do not wait for result on async calls 2019-04-30 13:45:19 +02:00
nsubiron 73f0bc8647 Refactor overload methods into Functional class 2019-04-30 13:45:19 +02:00
nsubiron bdc12cbe64 Remove nodiscard attribute as is not yet available in C++14 2019-04-29 18:37:42 +02:00
nsubiron 15fa72a7ad Fix indentation 2019-04-29 15:35:33 +02:00
nsubiron ebddbb6f39 Use other levels of asserts through code 2019-04-29 15:35:33 +02:00
nsubiron 75af0855f4 More levels of assertions: development and release 2019-04-29 15:35:33 +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
nsubiron 75f1f8593b Fix narrowing conversions and add warnings for it 2019-04-29 15:35:33 +02:00
nsubiron 4f3b000225 Compile with more warnings enabled 2019-04-29 15:35:33 +02:00
nsubiron 00cdad57c6 Fix missing quotes in CMake files 2019-04-29 15:35:33 +02:00
nsubiron 9e4925b838 Include external dependencies as system to allow stricter warning checks 2019-04-29 15:35:33 +02:00
Marc Garcia Puig 424c32d2d4 Added waypoint's junction_id (#1509)
* Added waypoint's junction_id and is_junction
* Updated changelog
* Removed unnecessary const
2019-04-29 15:34:45 +02:00
nsubiron 5ef3dde552 Add C++ client example 2019-04-24 17:37:21 +02:00
bernatx 739142954d Renaming playback speed by playback time factor 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 be37d22335 Added replayer speed (time factor for slow/fast motion) 2019-04-12 10:25:13 +02:00
nsubiron 24edc1de30 Add optional argument "actor_ids" to world.get_actors to request only the actors with the ids provided 2019-04-04 16:37:21 +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
Marc Garcia Puig b793f0f3d3 Deleted obsolete constructor 2019-04-02 16:41:46 +02:00
Marc Garcia Puig 819edd97ec Updated lane cross detector 2019-04-02 15:46:30 +02:00