Commit Graph

118 Commits

Author SHA1 Message Date
adas-user 2d23b37f5a Fixed first draft traffic manager 2020-03-06 12:56:44 +01:00
sergi-e 48247f1ad9 Final 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
sergi-e 5c6014f3e5 New draft on sensors reference 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
sergi.e 0822c30595
Sergi e/adv recorder (#2496)
* Recorder first draft

* Recorder second draft

* Prepare to rebase

* Command-line options are back

* Now are back

* New draft for recorder and command line options added to quickstart installation

* Final draft to merge
2020-02-26 16:51:42 +01:00
sergi.e de7f3e3478
Sergi e/synch step (#2452)
* Second draft. Rendering options added.

* New draft with fixes

* Rebase. fixed some links.
2020-02-21 10:31:47 +01:00
sergi.e db81cb6c91
New draft with steps 1 to 3 (#2457) 2020-02-19 10:10:48 +01:00
sergi.e 0a822af312
sergi-e/update-carla (#2437)
* Update second draft

* New fix l86

* Fourth draft on Update CARLA
2020-02-07 13:59:31 +01:00
sergi.e ac406fae97
Sergi e/intro and builds (#2408)
* New draft updated
2020-02-03 11:26:33 -08:00
Marc Garcia Puig 76b4133a5c Fixed pedestrian mesh genereation docs 2019-12-11 14:51:47 +01: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
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
Francesc Domene ecff54faf5 Fdomf/docs (#1981)
* Added c++ doc section, Updated bp_library,docs improvements

* Minor changes

* Docs updates

* Added c++ doc section, Updated bp_library,docs improvements

* Minor changes

* Docs updates

* Updated jenkins file - master rebase

* Updated Jenkins - rebase

* Fixed doxygen link

* Waypoint tutorial extended and fixes

* Merge branch 'master' into fdomf/docs

* Fixes

* Merge branch 'fdomf/docs' of https://github.com/carla-simulator/carla into fdomf/docs

* Updated some python API class & methods

* Merge branch 'master' into fdomf/docs

* updated python api

* Updates

* Fixed broken link in camera&sensors doc

* Python API doc updated

* Added python api

* Added first lite version of python cookbook and docs related links

* Bp_doc_gen

* Merge branch 'master' into fdomf/docs

* merge master python api docs

* Updated doc

* make PythonApi.docs

* Merge branch 'master' into fdomf/docs

* Updated python API doc generator

* New debug recipe

* Docs fixes
2019-08-14 10:44:55 -07:00
Francesc Domene 3d7d29315d Fdomf/docs (#1948)
* Added c++ doc section, Updated bp_library,docs improvements

* Minor changes

* Docs updates

* Added c++ doc section, Updated bp_library,docs improvements

* Minor changes

* Docs updates

* Updated jenkins file - master rebase

* Fixed doxygen link

* Waypoint tutorial extended and fixes

* Fixes
2019-08-01 15:42:19 +02:00
Francesc Domene a91f0da4b4 Fdomf/docs (#1883)
* Updated documentation and improvements

* Bp doc generator

* Updated
2019-07-26 11:25:49 +02:00
Manish f0d7055068 Updated doc and refactor 2019-07-10 01:35:47 +02:00
Manish db88de61c6 Updating documentation and refactoring 2019-07-10 01:35:47 +02:00
Manish 91d815e115 Updated doc and renamed commandlet 2019-07-10 01:35:47 +02:00
Manish 9f1ebea9a8 Updated documentation of importing and exporting assets 2019-07-10 01:35:47 +02:00
nsubiron 7f6603c512 Fix walker_bone_control.md not added to index 2019-07-09 19:18:46 +02:00
nsubiron 6cf01bf0e4 Move development docs to their folder 2019-07-09 19:18:46 +02:00
Manish 3908a867bd Updated physics, control and weather documentation 2019-07-09 19:18:46 +02:00
Francesc Domene 780b28ead8 Renamed and reordered index files 2019-07-08 18:44:33 +02:00
Francesc Domene 25a14658b7 Added recorder files to index 2019-07-08 18:44:33 +02:00
Francesc Domene b510304fbc Fix edit on github links 2019-07-05 15:59:54 +02:00
nsubiron 905a60f04c Documentation for upgrading content and making a release 2019-06-19 11:42:33 +02:00
manishthani 066c0b606a Document load props and fix windows build (#1675) 2019-05-28 09:35:45 +02:00
nsubiron 53802fafee Fix readthedocs navigation and page order 2019-05-08 16:14:25 +02:00
nsubiron 848c068b63 Upgrade travis.yml to Ubuntu 16.04 2019-03-19 22:34:49 +01:00
Daniel 7830ad7d08 Documentation for generate map from fbx 2019-02-27 20:01:23 +01:00
Daniel Novillo Villarejo 56fc04e490 Improved naming
Added support for importing multiple files
2019-01-29 12:00:58 +01:00
nsubiron 7b75f514ef Add how_to_make_a_new_map.md to docs 2019-01-15 20:04:19 +01:00
nsubiron 91b79687ef Rename Python API tutorial file 2018-12-16 00:04:30 +01:00
nsubiron 668c509484 Fill Python API tutorial 2018-12-16 00:02:22 +01:00
nsubiron e6eb1e69e9 Remove outdated documentation 2018-12-13 20:28:24 +01:00
nsubiron a8b4d0ffa1 Overview Python API doc (draft) 2018-12-13 20:28:24 +01:00
felipecode 479c619bcb fixing nestor comment 2018-09-17 08:58:25 -07:00
felipecode 7288b00a5d docker tutorial updated 2018-09-17 08:57:53 -07:00
felipecode 447bdcd76d adding a docker tutorial 2018-09-17 08:56:59 -07:00
felipecode 4fd4d5d4af docker tutorial updated 2018-09-17 08:51:26 -07:00
felipecode dae847b1d6 adding a docker tutorial 2018-09-17 08:51:26 -07:00
nsubiron 42cd4d4ab9 Add 'Art guidelines' section to docs 2018-09-06 14:51:34 +02:00
nsubiron 78571e299f Minimal documentation of the new API 2018-07-28 20:11:42 +02:00
nsubiron 0b90c448bf Replace Linux build system 2018-07-04 19:08:42 +02:00
felipecode a74c8c2727 Benchmark documentation polishing 2018-04-17 14:54:18 +02:00
felipecode 50eb4378b9 Fixing mkdocs issue 2018-04-17 12:22:07 +02:00
nsubiron 083c0bad4f Clean up documentation format 2018-03-21 18:16:56 +01:00
nsubiron 2bd96d7461 Enable theme in off-line mkdocs 2018-03-20 11:02:39 +01:00
felipecode ca9037f993
adding the carla headless link 2018-01-31 11:02:55 +01:00
nsubiron 90d4bc054c Merge branch 'dev' into documentation 2018-01-22 17:03:48 +01:00
nsubiron d9202bb099 Improve contribution guidelines 2018-01-17 18:11:57 +01:00
nsubiron aa6cd7c8d8 Organise FAQ 2018-01-17 16:16:44 +01:00
nsubiron e2995c9558 Add code of conduct 2018-01-16 16:09:30 +01:00
nsubiron 5067b9109e Add benchmark to documentation 2017-12-22 18:38:10 +01:00
nsubiron 9855fe35f9 Change contribution guide to guidelines 2017-12-04 16:25:55 +01:00
nsubiron 4d20c39557 Add contributing guide 2017-12-04 16:18:14 +01:00
nsubiron 440c2a11d7 Add empty F.A.Q. section 2017-11-24 18:12:15 +01:00
FPerez 2bc226bd55 Map customization documentation 2017-11-17 17:21:45 +01:00
nsubiron 0d45230348 Document cameras and sensors 2017-11-16 17:26:50 +01:00
nsubiron 1c101a4f56 Document measurements 2017-11-16 16:14:11 +01:00
nsubiron 8f4cbf8f0f Format documentation for readthedocs 2017-11-13 14:01:55 +01:00
nsubiron 4a39b5919e Mkdocs config 2017-11-13 11:34:10 +01:00
nsubiron 02a05cff30 Mkdocs config 2017-11-10 18:17:59 +01:00
nsubiron 9f43f2f391 Mkdocs config 2017-11-10 18:06:43 +01:00
nsubiron 9c2db785f4 Add mkdocs.yml 2017-10-30 10:59:19 +01:00