Commit Graph

3485 Commits

Author SHA1 Message Date
sergi-e 48247f1ad9 Final draft 2020-03-03 10:23:34 +01:00
sergi-e 8802adbdc6 Waiting for the rest of PR 2020-03-03 10:23:34 +01:00
sergi-e fdadce024b First draft 2020-03-03 10:23:34 +01:00
sergi.e eae903e908
sergi-e/sidebar-bug (#2529)
* Fix indexes for all the documentation.

* Added instructions for development assets in linux build

* Table bottom-margin workaround
2020-03-02 09:40:34 +01:00
doterop 85b192530d
Doterop/traffic manager (#2468)
* 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>
2020-02-28 19:58:13 +01:00
Marc Garcia Puig 069b63873c Temporal fix for jenkins not able to compile FBX 2020-02-28 16:56:37 +01:00
Marc Garcia Puig e23d62dd88 Added support for space in paths 2020-02-28 16:01:47 +01:00
Marc Garcia Puig 790c6e9058 Fixed pedestrian navigation when import command 2020-02-28 16:01:47 +01:00
bernat f41d2a5116 Protect again against replacing package 2020-02-28 16:01:47 +01:00
Marc Garcia Puig 5f23dd9e52 Fixed linux FBX2OBJ installat 2020-02-28 16:01:47 +01:00
Michele Bianchi 2094f85009 Removed random runaway newline 2020-02-28 16:01:47 +01:00
Michele Bianchi fdfb18df11 Added comment and removed an empty line 2020-02-28 16:01:47 +01:00
Michele Bianchi 501a643340 Fixed strange deletion and saving order 2020-02-28 16:01:47 +01:00
Michele Bianchi a1a1aa3f01 Change Roadrunned semantic names in the move commandlet 2020-02-28 16:01:47 +01:00
bernatx 878e8123da Fix Road tag and add some sidewalk to semantic segmentation 2020-02-28 16:01:47 +01:00
Michele Bianchi a521eef213 Updated CHANGELOG 2020-02-28 16:01:47 +01:00
Jeff Xiao 8e881ad5a7 Only create target folder if source folder exists
build.sh returns without errors even if there it does not generate a .bin file
this is a slight improvement on the existing fix
2020-02-28 16:01:47 +01:00
Michele Bianchi 005aafd2de Removed random runaway newline 2020-02-28 16:01:47 +01:00
Michele Bianchi 6d28e33ab2 Updated RoadRunner tags comment 2020-02-28 16:01:47 +01:00
Michele Bianchi 5d4f08f078 Added comment and removed an empty line 2020-02-28 16:01:47 +01:00
Michele Bianchi dcc299cfb6 Fixed strange deletion and saving order 2020-02-28 16:01:47 +01:00
Michele Bianchi bac38b5339 Updated list of semantic tags for the Move Assets commandlet 2020-02-28 16:01:47 +01:00
Michele Bianchi 8687ab18bc Updated Import.py style 2020-02-28 16:01:47 +01:00
Michele Bianchi a5e311e286 Don't assume that the map contains a pedestrian navmesh 2020-02-28 16:01:47 +01:00
Michele Bianchi 3f7c7d2882 Change Roadrunned semantic names in the move commandlet 2020-02-28 16:01:47 +01:00
sergi-e cfc33405ab Final fix 2020-02-28 15:20:16 +01:00
sergi-e 0fac729318 new draft 2020-02-28 15:20:16 +01:00
sergi-e 30ebbfe60f Added make libcarla 2020-02-28 15:20:16 +01:00
sergi-e 2d07ca3471 First fixes 2020-02-28 15:20:16 +01:00
sergi-e ca8bc81f2c Fixed links to first steps 2020-02-28 15:20:16 +01:00
sergi-e 7a91482260 fixed links 2020-02-28 15:20:16 +01:00
sergi-e 5c6014f3e5 New draft on sensors reference 2020-02-28 15:20:16 +01:00
sergi-e a37b4915fb new draft on sensors' documentation 2020-02-28 15:20:16 +01:00
sergi-e aed1df06b9 New draft with sensors' documentation 2020-02-28 15:20:16 +01:00
sergi-e 5770ae29eb First iteration on sensors 2020-02-28 15:20:16 +01:00
Axel 9cf27b1e90 Rebase and updated docs. 2020-02-28 12:48:50 +01:00
Axel 08f5da35c4 Fixed documentation link. 2020-02-28 12:48:50 +01:00
sergi-e fea4866979 Documentation second draft 2020-02-28 12:48:50 +01:00
Axel 876e353210 Updated changelog. 2020-02-28 12:48:50 +01:00
Axel baafeb4237 Fixed docs. 2020-02-28 12:48:50 +01:00
Axel 7927ac6921 Some comments. 2020-02-28 12:48:50 +01:00
Axel ae27fe7f78 Code cleanup. 2020-02-28 12:48:50 +01:00
Axel 83180fe9a5 Python documentation. 2020-02-28 12:48:50 +01:00
Axel 3a27e7e5b5 Added signal parsing and queries. 2020-02-28 12:48:50 +01:00
Axel 2a7bb9e15a Removed RoadObject. Adding RoadInfoSignals. 2020-02-28 12:48:50 +01:00
Axel e9e2015674 Added Landmark class. 2020-02-28 12:48:50 +01:00
sergi-e 2c3c926784 Minor modifications to impersonal style and link. 2020-02-28 12:25:31 +01:00
Efkan Duraklı 2dd3c349a6 Update epic_automotive_materials.md 2020-02-28 12:25:31 +01:00
Efkan Duraklı 8868491b11 Update epic_automotive_materials.md 2020-02-28 12:25:31 +01:00
Marc Garcia Puig 739001f04c Fixed codacy errors 2020-02-28 11:16:53 +01:00