Commit Graph

280 Commits

Author SHA1 Message Date
Marc Garcia Puig 6187bf4916
New sensor: Inertial measurement unit (IMU) (#2220)
* Added IMU sensor to the client-server pipeline

* Fixed lane_explorer.py with the new debug API

* Changed compass output to standard compass degrees

* - Added accelerometer calculation to IMU.

* Added angular velocity to the IMU

* Changed IMU acceleration from world to local

* Updated changelog

* Updated accelerometer. Now uses vehicle movement component information instead of pawn information.

* Added docs regardings new sensors

* Fixed SI units in Lidar

* Fixed core dumped when using other python modules

* Explicitly deleted  Vec3D from FVec constructors

* Removed redundant DeltaTime calculation
2019-11-13 18:50:21 +01:00
Marc Garcia Puig 3b625c28f9
Lens distortion shader (#2145)
* Exposed DOF and Exposure in Python for  RGB sensor

* Fixed blueprint waypoint functions

* Added Tonemapper settings

* Improved lens shader

* RGB camera have lens shader by default

* Adjusted lens shader

* Added lens disortion to Depth and SemSeg sensors

* Added Chromatic Aberration to Camera API

* Added the blueprint doc_gen and updated docs

* Sorted blueprint attributes in docs

* Added docs about new camera attributes

* Spelling fixes in docs

* Sorted includes

* Fixed travis pylint 3
2019-10-03 19:08:53 +02:00
Xavi c5465c250f Change default pedestrian speed (#1924)
* Change default pedestrian speed

* Changing a comment
2019-09-06 17:14:35 +02:00
manishthani 3161253fa1
Fixed client_bounding_boxes example script (#1962)
* Fix: Changed path to egg file to make it work

* Update CHANGELOG
2019-08-02 15:52:16 +02:00
bernat 70e67b8dbd
Better steering for manual control (#1957) 2019-08-01 11:36:34 +02:00
nsubiron 954f36b6a0 Add gamma correction as argument for manual_control.py 2019-07-09 18:46:55 +02:00
nsubiron 2c6df3b5a2 Move config.py to util 2019-07-09 18:46:09 +02:00
nsubiron a89a1bbbf9 Add config.py to easily configure the simulator 2019-07-09 18:46:09 +02:00
nsubiron 47be1747a1 Improve synchronous_mode.py 2019-07-09 18:46:09 +02:00
Jacopo Bartiromo 8f04b54014 Fix import for automatic_control.py
Due to folder structure, the actual version raises an issue: https://github.com/carla-simulator/carla/issues/1756
It can be fixed using another type of import, however the folder structure has to remain the same for it to work.
2019-07-09 13:14:10 +02:00
bernatx 8886422a78 Fix a comment about default filter 2019-07-08 18:42:45 +02:00
Manish 0fb86e43e3 fixing bug about pedestrian in no_rendering_mode 2019-07-08 18:42:45 +02:00
bernatx cd91e25fd4 Protect script in case navigation mesh binary is not there 2019-07-08 18:42:45 +02:00
bernatx e0cdc80cc1 Changes from PR 2019-07-08 18:42:45 +02:00
bernatx 07f1601689 Little changes in script 2019-07-08 18:42:45 +02:00
bernatx b652e67295 Fixes from PR 2019-07-08 18:42:45 +02:00
bernatx 29027cde4c Fixing unused variable in script 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 8ce3daadbe Commenting and renaming some variables to 'spawn_npc' script 2019-07-08 18:42:45 +02:00
bernatx 32358b069e Prettifying files 2019-07-08 18:42:45 +02:00
bernatx 65fb808f9b Set pedestrians as not invincibles from script 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 23e0243e44 Removing script 2019-07-08 18:42:45 +02:00
bernatx 8a6ab631f1 Fixes from PR 2019-07-08 18:42:45 +02:00
Manish 4e333b44bd Merged spawn pedestrians in spawn npc 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 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 61c1d41d58 working on batch command for spawning walkers 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 8138571ce8 Random points generation 2019-07-08 18:42:45 +02:00
bernatx b03a7864c7 Fixing orientation of pedestrians 2019-07-08 18:42:45 +02:00
bernatx 007f9c7122 Working on pedestrian movement 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
nsubiron 416851bf99 Do not crash Python script when users cancel 2019-07-06 00:14:53 +02:00
nsubiron 33e8f2536a Improve synchronous mode example 2019-07-06 00:14:53 +02:00
bernatx b50633a3c1 Changes to PR: Adding .gitignore file. 2019-07-04 09:21:59 +02:00
Manish cfa0860204 Fixed bug related with hash function in Python 3 2019-07-04 09:21:59 +02:00
Manish 02c2bdd746 Map surface is cached, so that loading map next time is much faster 2019-07-04 09:21:59 +02:00
Manish d22565db8b refactor 2019-07-04 09:21:59 +02:00
nsubiron 915e35d435 Rename frame_count and frame_number as frame 2019-06-28 14:05: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 96b8cc1265 Randomize drivers in the Python examples 2019-06-13 18:32:04 +02:00
Néstor Subirón d05dc6c743
Allow attaching actors with a spring arm (#1682) 2019-05-27 18:07:03 +02:00
manishthani 85b96ce12a Fixed bug related with Pygame surface too large (#1657) 2019-05-22 17:31:44 +02:00
manishthani ce3ea1c463 Improved lane markings and added sidewalks to no_rendering_mode.py (#1620)
* improved lane markings + added sidewalks + added crosswalks function + refactor
* Update CHANGELOG
* Commenting crosswalk func dur to pylint
2019-05-20 15:24:12 +02:00
Daniel Novillo 1f8e405425 Exposed 'is_invincible' for pedestrians (#1454) 2019-05-08 13:45:02 +02:00
Tomasz Sułkowski 538b4e04d6 Client-side bounding boxes (#1383)
* BasicSynchronousClient for client side bounding boxes done
* client-side bounding boxes done
* Updated CHANGELOG.md and client_bounding_boxes with appropriate imports for development build
* moved client_bounding_boxes.py to examples/
* attempt to fix strange pylint error
* fix attempt for pylint2
* Disabled pylint E1126 as it is getting confused with numpy matrix slice
2019-05-02 16:01:47 +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
bernatx af5055490e Fix the start_recording.py script 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
nsubiron 2c8f55ad36 Lower pedestrian speed in manual control 2019-04-26 17:07:41 +02:00
张子岳 6eafccaa08 Fix bug about lidar effectiveness (#1531) 2019-04-16 10:01:50 +02:00
bernatx af6796b16e Fixing script with pyLint 2019-04-12 10:25:13 +02:00
bernatx 739142954d Renaming playback speed by playback time factor 2019-04-12 10:25:13 +02:00
bernatx 2d2f1654dc Use batch commands to create and remove actors from recorder 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 2a50786c62 Update spawn_npc.py to use batch commands 2019-04-04 14:42:28 +02:00
Manish 2aef64fc6b changed color of speed limit 2019-04-01 18:10:28 +02:00
Manish 0c6b41ef07 spawned hero actor is deleted when closing no rendering mode 2019-04-01 18:10:28 +02:00
nsubiron a8d08e1261 Add option to no_rendering_mode.py to show spawn points 2019-04-01 18:10:28 +02:00
Manish efd06cd71c Trigger boxes' color is different for each actor 2019-04-01 18:10:28 +02:00
Manish d0f8efdb13 show triggers of speed limits 2019-04-01 18:10:28 +02:00
nsubiron b94ed197a8 Add option to no_rendering_mode.py to show waypoint connections 2019-04-01 18:10:28 +02:00
nsubiron 528a59319b Fix no-rendering mode 2019-03-30 15:21:02 +01:00
Manish 514cfacaa6 fixed triggers bounding box draw 2019-03-30 14:36:44 +01:00
Manish 222898e995 add draw trigger of traffic lights 2019-03-30 14:36:44 +01:00
Manish ca6bcafa72 added parking and shoulders to no rendering mode 2019-03-30 14:36:44 +01:00
nsubiron 5fd463d7aa Remove CarlaCola truck from the list of safe vehicles 2019-03-30 14:36:44 +01:00
Manish a66d7ee7ad fixed small visual things 2019-03-30 14:36:44 +01:00
Manish 424372a67e lane markings and loading time of no rendering mode improved 2019-03-30 14:36:44 +01:00
bernatx a821963ccf Added flag to show trigger boxes for traffic signs 2019-03-30 14:29:57 +01:00
nsubiron 30cc42686b Update license year 2019-03-30 14:29:57 +01:00
nsubiron 8c7189b533 Allow changing map from no-rendering mode 2019-03-30 14:29:57 +01:00
nsubiron b10484f5c6 Fix path to egg file 2019-03-30 14:29:57 +01:00
nsubiron e683007aeb Reorganize PythonAPI folder 2019-03-30 14:29:57 +01:00