The launcher script CarlaUE4.sh shouldn't require sudo. In fact the line that
requires sudo is not necessary at all since the executable flag is already
set.
* Allow choosing carla release through a parameter when calling the script.
* Package name updated to carla-simulator.
* Package URL updated.
* Automatic detection of python3 and python2 egg files.
* Adds Co-Simulation folder to the debian package.
Add postfix to libcarla_client{_rss}{_debug}.a in RSS variant.
make package target always rebuilds the final python shared library and
so cannot package wrong version.
Put LGPL lisence in python egg if RSS is linked.
Create RssCheck (again) when Listen is called to prevent from creating
loggers all the time someone lopps over the actor list and the
actor/sensor instances getting created.
Only traverse actor list in CreateWorldModel once.
tbb::parallel_for_each() gets already created actors and doesn't loop
itself over actor list (which blocks).
Finally changed code format of RSS to keep 120 chars per line.
and tried to spot the remaining CamelStyle variable names and changed to
snake_style
Added code formatting script and clang-format slightly changed from
google format:
AccessModifierOffset: -1 -> -2
AllowShortFunctionsOnASingleLine: All -> Empty
ConstructorInitializerIndentWidth: 4 -> 2
Move carla::client::Timestamp ostream operator to Timestamp.h to enable
reuse in log messages
Use of generated python interfaces of ad::physics, ad::map and ad::rss
types
RssSensor (and therefore also the RssRestrictor) now work globally on
the whole road network.
RssCheck: object conversion done in parallel using tbb
Build success
Added package
Remove delete workspace for testing
Clean workspace after build
Add deploy for testing
Relocation of Unreal Engine
Using absolute path for UnrealEngine
Execute shell
Test without remove at end
Using bash instead of shell
New jenkins file for testing nodes
new tag
modified
modify 'test' stage
all in GPU
tags
all in 'build' and 'gpu'
Adjust some scripts to run smooth on GPU slave
force deploy always
Disable docker push
Remove all on slaves at end
add some locks
add some parallel stages
Fix windows package, now it copies all required files
Add 7zip option to compress package for windows
Add 'make CarlaUE4Editor' to windows
Fix the program files path for windows 64
More jobs on parallel
Add Update.bat to windows pipeline
Fixing make CarlaUE4Editor
Commenting stages in windows
Enable again download of content and fix artifact
Build only Ubuntu
Enable deploy of Docker
Make packaging of additional maps
Enabling windows build again
Adding Deploy for windows
Change URL to the new S3 buckets
Changed the Jenkins public IP
Fixes from Codacy
Disable Windows build
Add more time to smoke tests for connecting
Add 'run' option of examples without compilation
Enabled delete all after job
Adds a lock for the packaging
Removing all locks
Update the Doxygen step in Ubuntu
Fix nodes to use
* Initial implementation of t.m. performance script
* Remove redundant getLocation() calls
* Demo for inter-client communication via Carla server
* WIP: To do: For client usage needed to be changed.
* Instead or client instance episodeProxy is passed to TM
* Instead or client instance episodeProxy is passed to TM
* parmeter improvements (walkers,cars,signs,lights)
* adding section id to map setup
* fix manual_control to reload car with autopilot on
* Instead of client instance episodeProxy is passed to TM.
* WIP: Only added vehicle register via RPC server / client call in TM to
local instance from remote instance. Similarly other APIs we need to
added.
* Added all TM APIs
* carla client now can provide TM instance if required.
* While getting TM instance if server given data is not valid new TM
instace is created. Need to decide what to do with earlier registed
vehicle with previous TM.
* Updated with HealthCheckRemoteTM() function to check TM server status
instead of ResetAllTrafficLights() for any new user client.
* Dynamic port selection added to TM server instace (in case of multiple
TM serve run, it required).
* Fixed change map error
* If registered TM at carla server is not present then remote TM should be
freed and new local TM instance is created.
* Created Process for Local TM.
It cheaks with total registered vehicles in it, if no register vehicles
for 5 sec, it closes it self.
In python spawn_npc.py Client Timeout set to 10 sec. as creating Process
is system dependent call and takes time.
User has to unregister vehicle before destroying it (if activated with
TM). Also neet to check TM unregister function to remove vehicles from
register list.
* Fix for collision ignore bug
* Update TM exit function check to compare registered vehicles with world
actors that if any valid vehicle present cointinue to run the TM else
stop.
* Print removal
* Splited work of main for loop in ApplyBatchCommandsSync
* WIP! Trying to get client directly
* WIP! Trying to access episode properly without getting it from TM ctr
* Changes to BatchControlStage for Sync Mode
Changes to Parameters for Synch Mode
* Added port support for TM. Multiclient MultiTM
* Added additions for RPC Synchronous Tick to TM.
Error handeling and code organization.
* Exposed API for Sync Mode
* TMServer notifies Server that it is gonna be destroyed
* Exposed Python API for Sync Mode
* Add TM as separate process and synchronous tick calls
* SetSynchronousModeTimeOutInMiliSecond method added
* TM shutsdown and informs to the connected clients
* WIP! Map change issues again
* Updated Traffic Manager for:
1) Multi-client, Multi-TM (as required) can be reistered to server.
2) TM is not a PROCESS separated from the user-client.
3) TM will exit if user-client exit.
4) If server closed, TM also get closed by catching runtime err.
* Server side changes ...
* Fixed possible stall on TM destruction
* fixing collision stage + cybertruck not safe
* Merge branch 'master' into 'soumyadeep/traffic_manager'
* WIP! Disconnection of server has to be properly handled by clients
* format update
* Fix bug unsignalized junctions
* # WARNING: head commit changed in the meantime
Merge branch 'doterop/traffic_manager' into soumyadeep/traffic_manager
Updates for Syncronized Tick.
* Updated runtime exception in Episode for smooth exit if TN server closed
for any other user client.
* Better Exception handeling
* Merged with jackbart94/tm_reduce_getloc_calls
* Merged soumyadeep/traffic_manager.
Removed World getter and recovered Episode as a parameter of TM ctr.
Fixed syntax errors.
* Initial implementation of t.m. performance script
* Remove redundant getLocation() calls
* Demo for inter-client communication via Carla server
* WIP: To do: For client usage needed to be changed.
* Instead or client instance episodeProxy is passed to TM
* Instead or client instance episodeProxy is passed to TM
* parmeter improvements (walkers,cars,signs,lights)
* fix manual_control to reload car with autopilot on
* Instead of client instance episodeProxy is passed to TM.
* WIP: Only added vehicle register via RPC server / client call in TM to
local instance from remote instance. Similarly other APIs we need to
added.
* Added all TM APIs
* carla client now can provide TM instance if required.
* While getting TM instance if server given data is not valid new TM
instace is created. Need to decide what to do with earlier registed
vehicle with previous TM.
* Updated with HealthCheckRemoteTM() function to check TM server status
instead of ResetAllTrafficLights() for any new user client.
* Dynamic port selection added to TM server instace (in case of multiple
TM serve run, it required).
* Fixed change map error
* If registered TM at carla server is not present then remote TM should be
freed and new local TM instance is created.
* Created Process for Local TM.
It cheaks with total registered vehicles in it, if no register vehicles
for 5 sec, it closes it self.
In python spawn_npc.py Client Timeout set to 10 sec. as creating Process
is system dependent call and takes time.
User has to unregister vehicle before destroying it (if activated with
TM). Also neet to check TM unregister function to remove vehicles from
register list.
* Fix for collision ignore bug
* Update TM exit function check to compare registered vehicles with world
actors that if any valid vehicle present cointinue to run the TM else
stop.
* Splited work of main for loop in ApplyBatchCommandsSync
* WIP! Trying to get client directly
* WIP! Trying to access episode properly without getting it from TM ctr
* Changes to BatchControlStage for Sync Mode
Changes to Parameters for Synch Mode
* Added port support for TM. Multiclient MultiTM
* Added additions for RPC Synchronous Tick to TM.
Error handeling and code organization.
* Exposed API for Sync Mode
* TMServer notifies Server that it is gonna be destroyed
* Exposed Python API for Sync Mode
* Add TM as separate process and synchronous tick calls
* SetSynchronousModeTimeOutInMiliSecond method added
* TM shutsdown and informs to the connected clients
* WIP! Map change issues again
* Updated Traffic Manager for:
1) Multi-client, Multi-TM (as required) can be reistered to server.
2) TM is not a PROCESS separated from the user-client.
3) TM will exit if user-client exit.
4) If server closed, TM also get closed by catching runtime err.
* Fixed possible stall on TM destruction
* fixing collision stage + cybertruck not safe
* Merge branch 'master' into 'soumyadeep/traffic_manager'
* WIP! Disconnection of server has to be properly handled by clients
* format update
* Fix bug unsignalized junctions
* # WARNING: head commit changed in the meantime
Merge branch 'doterop/traffic_manager' into soumyadeep/traffic_manager
Updates for Syncronized Tick.
* Updated runtime exception in Episode for smooth exit if TN server closed
for any other user client.
* Better Exception handeling
* Merged with jackbart94/tm_reduce_getloc_calls
* Merged soumyadeep/traffic_manager.
Removed World getter and recovered Episode as a parameter of TM ctr.
Fixed syntax errors.
* Rebased with master
* Changes after rebase
* Solving tab errors
* Updated Changelog
* Removing Destroyed vehicle's from TM Server
* Fixed uint compatibility with Windows
* Merged soumyadeep/traffic_manager. Discarded destroyed actors
* -Removed unnecessary files
* restoring docs from rebase
* Fix windows compilation
* refactoring stage-related code
* more code refactoring
* When map change the simulation doesn't throw exception anymore
* Fixed incorrect episode
* Fixed map change and TM remote detached thread destruction
* Syntax and comments fixes
* Missed change on previous commit
* Fixed compile minor compile issue
* Cleaned and fixed some issues after merge
* fix to sync localization bugs
modified PID parameters
revamping spawn_npc
* deleted tm_spawn_npc
* fixes spawn error in sync mode
* Redoing TM sync logic
* finished performance benchmark for tm
* deprecated wrapped methods:
register_vehicle
unregister_vehicle
* New TM management
* Fixed sync mode on TM
* Cleaned TM of prints and unussed functions
* collision stage checks for (0,0,0) to ignore.
in memory map has an # between keys to avoid possible mixup.
fixed spawn_npc with new sync mode
* changelog
* added more connection retries
* fixed changelog + comments (see reviewable)
* Moved socket include's to single header
* Added missing line at the end of the file
* Fixed syntax errors
* final commit
* Minor correction in comment
* update copyright year to 2020 + removed break
* restoring unwanted changes
* patch for smoke test error
* Removed "todo" for pylint
Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
Co-authored-by: Praveen Kumar <35625166+pravinblaze@users.noreply.github.com>
Co-authored-by: Soumyadeep <soumyadeep.dhar@kpit.com>
Co-authored-by: joel-mb <joel.moriana@gmail.com>
Co-authored-by: Sekhar Barua <58979936+sekhar2912@users.noreply.github.com>
Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
* 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
* 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