Commit Graph

3166 Commits

Author SHA1 Message Date
Marc Garcia Puig 140ad0f0b5 Added Radar docs & updated Changelog 2019-12-10 13:29:14 +01:00
Marc Garcia Puig d682577169 Changed Radar's API naming 2019-12-10 13:29:14 +01:00
dotero 158b5ed2cc WIP! Refactoring distribution of the rays. 2019-12-10 13:29:14 +01:00
dotero 617b5ae699 Fixed relative velocity calculation 2019-12-10 13:29:14 +01:00
Marc Garcia Puig 2a11d4528f Added Radar default noise 2019-12-10 13:29:14 +01:00
dotero ba32d5a08e Fixed comments with no ASCII characters 2019-12-10 13:29:14 +01:00
dotero 47aa772b60 Removed debug lines 2019-12-10 13:29:14 +01:00
dotero 396ef46d43 Fixed velocity, azimuth and elevation calculation and Distance limit of the ray. 2019-12-10 13:29:14 +01:00
Marc Garcia Puig a038e45842 Fixed detection, SI units & parameters for radar 2019-12-10 13:29:14 +01:00
dotero 839ac4878f WIP! Added Azimut and Elevation calculation. 2019-12-10 13:29:14 +01:00
dotero 3b8be7062a - WIP! Added actor detection and velocity calculation 2019-12-10 13:29:14 +01:00
Marc Garcia Puig 38ceb098a5 Added Radar client-server connection 2019-12-10 13:29:14 +01:00
Johannes Quast fe83f1ab3b Add Responsibility Sensitive Safety (RSS) to CARLA Client library
- Add build variant with RSS sensor
 - Add RSS result visualization
 - Add RSS Restrictor implementation
 - Add RSS manual control example
2019-12-09 16:37:32 +01:00
Xavi 3e15ed3a2f Change Bias of SAO to fix weird shadows in pedestrians 2019-12-09 12:03:25 +01:00
Marc Garcia Puig 8b88803163 Fixed PR review recommendations 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 5aa514fb03 Updated docs and changelog 2019-11-20 16:06:47 +01:00
Marc Garcia Puig e4279b79e2 Added noise seed to GNSS sensor 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 67c9ccf549 Added noise seed for IMU 2019-11-20 16:06:47 +01:00
dotero 12dda6538a Updated calculation of acceleration 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 2ac14d8fad Some small code fixes and comments 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 1f91f5b350 Added IMU (normal distribution) noise 2019-11-20 16:06:47 +01:00
Marc Garcia Puig 14235cdcf6 Fixed Travis error when the client is not compiled 2019-11-19 16:10:39 +01:00
Marc Garcia Puig 5867e60fc7 Fixed merge error and removed unnecessary code 2019-11-19 16:10:39 +01:00
Marc Garcia Puig 0d2bca0b7c BP doc gen doesn't give Travis error anymore 2019-11-19 16:10:39 +01:00
Marc Garcia Puig e0f829c504 Updated docs and changelog 2019-11-19 16:10:39 +01:00
Marc Garcia Puig 8955d61a2e Renamed few variables 2019-11-19 16:10:39 +01:00
Marc Garcia Puig a21160743f Removed unnecessary function 2019-11-19 16:10:39 +01:00
Marc Garcia Puig 535cb7681e Small fixes in gnss and in automatic BP doc gen 2019-11-19 16:10:39 +01:00
dotero 2bc3b397cb Added missed Set function to Gnss and fixed Set function in BlueprintLibrary 2019-11-19 16:10:39 +01:00
Marc Garcia Puig 5e17f743cd Fixed small compilation error 2019-11-19 16:10:39 +01:00
dotero ba9f9b09c7 Added noise to Gnss 2019-11-19 16:10:39 +01:00
dotero 7b3a41060c Updated Gnss Serializer 2019-11-19 16:10:39 +01:00
codeffee 4afde0117c Fixed previous commit 2019-11-19 16:10:39 +01:00
codeffee 1749f2f2af Removed Vector3D ctr and operator= and updated some function names 2019-11-19 16:10:39 +01:00
dotero b52543e952 Fixed code format issues 2019-11-19 16:10:39 +01:00
dotero fc8cf109eb Now Episode holds the GeoLocation information of the map instead of GameMode. 2019-11-19 16:10:39 +01:00
doterop 4ec1338007 Moved GNSS sensor from client to server 2019-11-19 16:10:39 +01:00
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
Xavi 714f8c4cbf Remove Depth of Field to eliminate the blur it produces with nearby objects. (#2173)
Tweak PostProces values of CameraSceneCapture: Bloom and SSAO
2019-10-25 16:56:22 +02:00
Xavi 8e2a15f3d5 Animations_SceneCaptureSensor (#2151)
* Animations_SceneCaptureSensor

* Modify_spawn_npc.py

* Removed animations changes
2019-10-10 11:54:55 +02:00
Praveen Kumar 42af9614a0 Updated TrafficManager (#2112)
* Initial commit

This commit imports files from scenario_runner repository

* WIP TrafficDistributor
Set horizontal integral component to 0
Fixed startup concurrency issue

* TrafficDistributor first crude version

* Code asthetics, Uncrustified.

* Code clean up

* Fixed more concurrency bugs

* Reduced number of vehicles per core
Fixed some unhandled exceptions

* EOD commit 29AUG2018

* Re-organizing directory structure

* WIP code re-organization

* Redesigned PipelineStage
Implemented Messenger to communicate between stages
Implemented LocalizationStage
Added StageEnum
Removed unecessary files

* WIP Testing LocalizationStage

* Implemented and benchmarked LocalizationStage
Achieved single stage throughput of 600,000,000

* Implemented CopyBufferList() in LocalizationStage

* Fixed stage stalling and corrected benchmark

* Setting worker thread count to 1

* Code re-organization for porting MotionPlannerStage

* WIP - porting MotionPlanner

* Moved thread management logic into PipelineStage base class

* Implemented output data frame switching
Moved relavent structures and types from MotionPlannerStage.h to PIDController.h

* Re-organized directory structure to be consistent with rest of the project
Initialized frame_selector in constructor

* WIP - EOD commit 02SEP209

* WIP - managed to break deadlock between sender and receiver

* Implemented common mutex sharing for thread management in PipelineStage
Added small timeout for thread locking in PipelineStage
Finally broke deadlocks in stage integration

* Porting BatchControlStage to new design

* Ported BatchControlStage to new design
Fixed array indexing bug
Messaging actor_id instead of actor pointer to BatchControlStage
Improved thread co-ordination logic in PipelineStage

* Fixed array exetreme indexing issue

* Fixed thread co-ordination logic for multiple worker thread case

* Ported PID state map to dynamically allocated vector
Changed thread co-ordination time out to 1ms

* WIP - EOD 03092019

* Ported CollisionStage to new design
Added debug helper parameter
Added directionality pre-condition to check polygon overlap
Streamlined boundary functions
Fixed actor id to array index map
Passing individual buffers from localization
Using unsigned int keys in VicinityGrid

* WIP - fixing localization conflict on frame switching

* Fixed localization frame switching bug

* Ported TrafficLightStage to new design (#2078)

* Implemented TrafficLightStage with new architecture

* Implemented slowdown on approaching junction

* Integrated all stages into Pipeline class

* Ported PipelineExecutable.cpp to work with new Pipeline

* WIP - Fixing TrafficDistributor

* Switching to single thread stage actions
Added release options to CMakeLists.txt
Changed vicinity grid keys to string

* Changed TrafficDistributor to TrafficDistribution
This class only meant to keep track of vehicles acrros different road positions

* Changed TrafficDistributor declaration in LocalizationStage

* WIP - Lane changes

* Streamlined traffic distribution implementation

* Implemented a working lane change policy

* Fixed const correctness for ActionThreadManager and Action methods
Chaned varialbe++ to ++variable wherever suitable

* Using STL's numeric_limits instead of arbitrary high values for infinity
Made suitable constants static
Camelcase starting with uppercase for InMemoryMap methods
Fixed comment notions in all files

* Streamlined boolean return values from methods in CollisionStage.cpp
Using short hand for boost::geometry
More comments on boundary calculation logic
Camelcasing for methods

* Fixed TrafficDistribution vehicle tracking logic
Removed distance limit for lane change

* Moved lane change logic to TrafficDistributor.cpp

* Implemented logic to avoid collisions with unregistered actors

* Implemented graceful stop functionality for traffic manager

* Code aesthetics

* Added debug support for TrafficDistributor.cpp
Fixed Test.cpp

* Defined constants in TrafficDistributor.cpp
Code aesthetic changes

* Update README.md

* Aphabetical ordering of header include statements

* Code streamlining and aesthetic changes

* Review comment changes (#2116)

Review comment changes
Removed frame_map from TrafficLightStage

* Made changes  for review comments (#2117)

* Fixed implicit private inheritence for LocalizationStage
Removed unecessary using <method> statements in concrete stage classes

* Removed break logic from all loops

* Added detailed comments to all header files

* Minor review comment changes to collision stage

* Detailed comments for all .cpp files

* Implemented batch spawn and delete

* Added minimum distance check for lane change
Increased wait time after sending batch spawn command

* Simplified geodesic boundary creation in collision stage

* Changing to unsigned integers when appropriate
Shorter name aliasing

* Changes for code reveiw comments

* Removed white spaces

* Code review changes
Using carla::geom::Math::DistanceSquared whenever possible
Better name aliasing
Function signature checks

* Code aesthetics, text formatting

* Changes for appropriate auto keyword usage

* Grammar check

* Grammatical correction

* Distance based check points and boundary generation
instead of index based checks

* Using explicit typing wherever possible instead of auto

* Review comment changes

* Review comment changes

* Added time margin for approaching vehicles for lane change
Increased minimum collision boundary
Streamlined InMemoryMap::StructuredWaypoints
Implemented gradual braking in PIDController
Added left right checks in SimpleWaypoint
Removed redundant method in SimpleWaypoint

* Initial implementation for reproducibility

* Fixed radomization during path selection

* Added Vicinity grid-key checker for grid to actor_id map

* WIP: junction negotiation enhancement

* Polygon to polygon distance based collision negotiation

* Update Linux.mk

* Update CMakeLists.txt

* Update Vars.mk

* Update README.md

* Update getting_started.md

* Review comment changes
Namespace aliasing checks
Redundant function call checks
Default constants defined in motion planner stage
Removed hard braking to slow down near junctions
Lane change approaching vehicle check time margin
Added -h option to get help on traffic manager

* Reverting to carla::client::Vehicle::GetTrafficlightState non-signalised junctions

* Added communication timeout and implemented stopping when carla stops
Removed throughtput measurement logic from PipelineExecutable

* Updated gitignore

* updated CHANGELOG.md

* updated CHANGELOG.md

* WIP: negotiating non-signalised junction

* Time duration ticketing system for non-signalised junctions
Changed from pre-randomised to run time randomised decisions at junctions

* Removing debug draw statements

* Fixed make and cmake, more work required

* Added traffic manager build to jenkins

* updated docs
2019-10-07 16:30:51 +02:00
Marc Garcia Puig e73ad54d18 Enabled and fixed pylint for python3 in travis 2019-10-04 14:38:24 +02: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
manishthani 89e329b738
Fixed bugs of importing assets (#2068)
* Refactor Commandlet + made small fix

* fixed scale of assets when importing them

* Fixed bug of adding assets automatically, but semantic segmentation to be fixed

* small fix + hiding movemeshes call until its stable

* Meshes are moved to semantic segmentation folders

* Retagging semantic segmentation

* Redefined tags, refactor and added comments

* Updated Changelog

* created a move assets commandlet

* Removing RoadRunnerFiles folder

* readded flag of only prepare maps in import script

* Removing ContentBrowser module

* Added Import folder

* updated readme

* Apply zero rotation

* updated doc link

* updated readme

* refactoring

* Adding more comments and refactoring

* Removed unnecesary include header files

* Remove unnecessary includes in source files
2019-09-17 14:57:22 +02:00
Francesc Domene 2b120e377d Fdomf/docs (#2089)
* Updated CARLA video link (README)

* Updated API reference - deleted overview

* Added css to docs

* Added documentation standard section

* Updated API docs

* Updated documentation following the standard

* Updated How to create map and import docs + documentation related standard + improvements

* Word change

* Updated importing assests from RR

* Fixes and new section for pedestrian navigation

* Changed image position

* Updated

* A couple of fixes regarding links and titles

* Updated import docs

* Updated docs
2019-09-10 18:22:33 +02:00
Xavi c5465c250f Change default pedestrian speed (#1924)
* Change default pedestrian speed

* Changing a comment
2019-09-06 17:14:35 +02:00
Néstor Subirón b45f7c5f95 Allow compiling client-side with GCC (#2056)
* Allow compiling client-side with GCC

* Merge branch 'master' into nsubiron/gcc
2019-09-06 17:04:54 +02:00
Francesc Domene 7e7f989606 Fdomf/docs (#2049)
* Updated CARLA video link (README)

* Updated API reference - deleted overview

* Added css to docs

* Added documentation standard section

* Updated API docs

* Updated documentation following the standard

* Updated How to create map and import docs + documentation related standard + improvements

* Word change

* Updated importing assests from RR

* Fixes and new section for pedestrian navigation

* Changed image position

* Updated
2019-09-06 11:07:21 +02:00
Ferdinand Mütsch 4c1c34fd1f Add missing get_transform method to carla.Actor docs section. (#2031)
* Add missing get_transform method to carla.Actor docs section.

* Update contribution guide.
Update PythonAPI YAML docs.
2019-09-02 18:23:33 +02:00
Néstor Subirón 4edfd65835 Tutorial for adding new sensors (#1884)
* Tutorial for adding new sensors

* Updated doc
2019-09-02 10:01:41 +02:00