Commit Graph

976 Commits

Author SHA1 Message Date
sergi-e cfdbe8fb5e Fixed vehicle lights 2020-03-09 16:23:27 +01:00
bernatx 7509e9d8de Changing version to 0.9.8 2020-03-06 16:11:51 +01:00
Praveen Kumar 48fb019be6 Added parameter set_percentage_keep_right_rule 2020-03-06 16:06:34 +01:00
Sekhar Barua 6f892cff57 Changes to add Global distance to Leading Vehicle 2020-03-06 16:06:34 +01:00
doterop 94affd9b79
Added timeout to World Tick (#2556)
* Added timeout to World Tick

* Updated Changelog

* Fixed timeout on SetEpisodeSettings

Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-03-06 13:04:04 +01:00
sergi-e db0e95cc1e New iteration on Jacopo comments. 2020-03-06 12:56:44 +01:00
sergi-e 807c20d3df brief iteration before rebase 2020-03-06 12:56:44 +01:00
adas-user f5e58f5305 Traffic manager second draft 2020-03-06 12:56:44 +01:00
adas-user 2d23b37f5a Fixed first draft traffic manager 2020-03-06 12:56:44 +01:00
germanros1987 9c70de31b1
Taking account of the very last waypoint buffer (#2407)
* Taking account for the very last waypoint buffer

* Update CHANGELOG.md

* Removing unused variables (Travis)

* Update CHANGELOG.md

Co-authored-by: Praveen Kumar <35625166+pravinblaze@users.noreply.github.com>
Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-03-05 08:10:17 -08:00
Guillermo 4c60aeca69 Back to 35 2020-03-05 14:35:47 +01:00
Guillermo 706136a709 Down to 33 2020-03-05 14:35:47 +01:00
Guillermo 7167c83d4a Increased to 35 2020-03-05 14:35:47 +01:00
Guillermo 88f82081fc Added constant at local_planner 2020-03-05 14:35:47 +01:00
Guillermo 6db23f2d4e Ups 2020-03-05 14:35:47 +01:00
Guillermo 34e9290950 Increase the range of RoadOptions.STRAIGHT 2020-03-05 14:35:47 +01:00
Marc Garcia Puig 90284dc91e
Modifying pipeline for use AWS cloud (#2504)
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
2020-03-05 13:16:18 +01:00
Joel Moriana 4131cff859 Add default values for accelerometer and gyroscope.
Default values for accelerometer and gyroscope to avoid manual_control
crash in sync mode.
2020-03-04 12:31:54 +01:00
bernatx 640d57abd7 Fix 'Yield' reserved word in Windows 2020-03-03 16:57:29 +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
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 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 e9e2015674 Added Landmark class. 2020-02-28 12:48:50 +01:00
Marc Garcia Puig 8767cfe85f Updated docs 2020-02-28 11:02:45 +01:00
Marc Garcia Puig b5c32aa8d2 Fixed PR issues 2020-02-28 11:02:45 +01:00
Marc Garcia Puig 13432ef578 Extended util/config.py with custom xodr maps 2020-02-28 11:02:45 +01:00
Marc Garcia Puig a8aa5afa0a Added basic support for the client using custom xodr on server 2020-02-28 11:02:45 +01:00
bernatx 336559d993 Changes from PR (adjusting parameter names) 2020-02-27 10:10:21 +01:00
bernatx 85619ea31e Adding Ignore Hero to Replayer (Issue 1769) 2020-02-27 10:10:21 +01:00
Madecu 36f6920fee
Changed weather presets and manual_control.py fixed (#2455)
* Added more weather attributes

* Upload client_test.py as weather in utils
Activate mesh distance fields

* weather.py --> Added wetness, changed "cloudyness" , fixed some functions
Weather.cpp --> Skip weather
Weather.h --> Added "SetWeather" Function

* Changed ASCII characters in weather.py

* Finished weather script without dynamic weather

* Added missing end of file line.

* Fixed the initial state of weather.py

* Updated changelog & fix dynamic weather altitude

* New default values for weather presets
Temporal fix in manual_control.py to refresh weather when it opens the pygame windows or it changes the camera (Tab)

* Fixed walkers spawn in manual_control

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
Co-authored-by: doterop <daniel.oterop@gmail.com>
2020-02-25 12:18:37 +01:00
sergi.e 06b5a3d97b
sergi/api index bug (#2363)
* PythonAPI reuploaded

* Second draft with some fixes

* New third iteration full Python API

* Fourth iteration on PythonAPI

* Bounding box and Vehiclecontrol fixes

* Index fixed, added map suggestions.

* Added a note regarding when a vehicle is considered to be at traffic light.
2020-02-24 13:58:54 +01:00
sergi-e 386011dd96 Weird spacing fixed 2020-02-13 10:20:16 +01:00
sergi-e 22fc0c4be2 Added fix for index order 2020-02-13 10:20:16 +01:00
sergi-e 2570a31da0 Bug fixed index API 2020-02-13 10:20:16 +01:00
cassfalg 3f6021dff3
Add german / international keyboard support to manual_control.py (#1984)
* changed next sensor key from backquote to n

* fixed typo in spawn_npc.py

* reenabled backquote to switch sensor

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-02-07 17:17:18 +01:00
Marc Garcia Puig aa381d05f9 Removed map_viewer 2020-02-07 17:16:48 +01:00
Axel 8bdf3f54d1 Fixed Python format. Removed unecessary include. 2020-02-07 17:16:48 +01:00
Axel 32756d511b Improved map_viewer performance. 2020-02-07 17:16:48 +01:00
Axel f43da77019 Added paramPoly3. Changed python map variable in map_viewer.py 2020-02-07 17:16:48 +01:00
Axel aa78942489 Added support for nearest neighbour for all geometries. Added geometry poly3. 2020-02-07 17:16:48 +01:00
Axel ae2ae92bf1 Added spirals and splines to opendrive parser. 2020-02-07 17:16:48 +01:00
Axel1092 49a09ff841
Axel1092/extend map api (#2380)
* Added GetPrevious function

* Added functions GetNextUntilLaneEnd and GetPreviousUntilLaneStart. Fixed GetPrevious issue.

* Added junction class.

* Added documentation for the python API. Fixed a bug regarding bounding box computation.

* Fixed formatting.

* Updated CHANGELOG.md.

* Fixed python format.

* Added GetPrevious function

* Added functions GetNextUntilLaneEnd and GetPreviousUntilLaneStart. Fixed GetPrevious issue.

* Added junction class.

* Added documentation for the python API. Fixed a bug regarding bounding box computation.

* Fixed formatting.

* Updated CHANGELOG.md.

* Fixed python format.

* Updated map API documentation

* updated mkdocs

* Prettified code.

* Removed nested carla repository

* Review fixes.

* Fixed small tab issues

* Improved code and comments.

* Small code fixes

* Small fix.

* Fixed until lane end and until lane start.

* Style fix

Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-02-06 16:43:23 +01:00
Marc Garcia Puig 07c09fd93b Added missing docs 2020-02-04 10:39:01 +01:00
Marc Garcia Puig 2e656362c9 Updated docs and content version 2020-02-04 10:39:01 +01:00
Marc Garcia Puig 7e57ec068d Allow manual_control to change vehicle lights 2020-02-04 10:39:01 +01:00
Marc Garcia Puig 3746fa3a75 Updated weather scripts 2020-02-04 10:39:01 +01:00
Marc Garcia Puig 459581b09f Exposed car lights to the client 2020-02-04 10:39:01 +01:00
bernatx 9e4eaf3e47 Updating the docs 2020-02-03 16:03:57 +01:00
bernatx 923a794bb6 Adding new way of getting waypoints from parameters from openDRIVE 2020-02-03 16:03:57 +01:00
Marc Garcia Puig d617db030e Improved docs 2020-02-03 09:50:54 +01:00
victor.anton 86c4411b88 Using CALL_RETURNING_LIST instead of custom function 2020-02-03 09:50:54 +01:00
victor.anton 34f993a7c9 Added Contains and Get(World/Local)Vertices to BoundingBox 2020-02-03 09:50:54 +01:00
Fabian Oboril 1f7669e4b3 Fixed agent crashes due to API changes in is_within_distance_ahead (#2386)
* Fixed agent crashes due to API changes in is_within_distance_ahead
2020-01-22 17:10:02 -08:00
Marc Garcia Puig 7bd95e49b6 Updated ContentVersion.txt 2020-01-20 20:53:58 +01:00
Marc Garcia Puig f270aa5949 Updated changelog & fix dynamic weather altitude 2020-01-20 20:53:58 +01:00
Marc Garcia Puig f57aaef687 Fixed the initial state of weather.py 2020-01-20 20:53:58 +01:00
marcos909 f866fa47d9 Finished weather script without dynamic weather 2020-01-20 20:53:58 +01:00
Marcos Delgado Cuevas 86e46f1a63 Changed ASCII characters in weather.py 2020-01-20 20:53:58 +01:00
marcos909 77fbadbf65 weather.py --> Added wetness, changed "cloudyness" , fixed some functions
Weather.cpp --> Skip weather
Weather.h --> Added "SetWeather" Function
2020-01-20 20:53:58 +01:00
marcos909 c3a89b5a57 Upload client_test.py as weather in utils
Activate mesh distance fields
2020-01-20 20:53:58 +01:00
Marc Garcia Puig a41bf95afd Added more weather attributes 2020-01-20 20:53:58 +01:00
bernat b9fbbf7fd0 Release candiadate (#2310) 2019-12-21 04:59:22 +01:00
Marc Garcia Puig 1d71ecb9a8 Fixed NumLock error automatic_control.py (#2306)
* Fixed NumLock error aut_cntrl.py

* Updated Chaneglog & reduced unused imports
2019-12-17 10:40:27 -08:00
bernatx c9358be60c Refreshing tm_spawn_npc script 2019-12-13 15:29:38 +01:00
Jacopo Bartiromo 6f3c4e261c Namespaces fix 2019-12-13 15:29:38 +01:00
bernatx 47a2d82738 Release Linux 0.9.7 2019-12-11 18:17:36 +01:00
dotero e9a2935a5a Fixing code formatting 2019-12-11 16:31:51 +01:00
Jacopo Bartiromo f794f939f6 Higher min_junct_lookahead for traffic lights
pylint fix
2019-12-11 16:31:51 +01:00
Jacopo Bartiromo 02f292795a Increased min lane change distance
Rename tm_demo to _tm_spawn_npc
Add walker spawn
Remove tm_set_autopilot_test
2019-12-11 16:31:51 +01:00
Jacopo Bartiromo fc955bdcb7 PID Changes + WIP Collision Stage bug fix 2019-12-11 16:31:51 +01:00
Jacopo Bartiromo 34a030f5bd Integrated changes regarding PID values.
New parameters to ignore actors or traffic light.
More WIP for killing vehicles.
2019-12-11 16:31:51 +01:00
Jacopo Bartiromo e36a0c8f13 WIP: unblocking by killing 2019-12-11 16:31:51 +01:00
Jacopo Bartiromo 2428615934 traffic light reset demo working + other stuff 2019-12-11 16:31:51 +01:00
Praveen Kumar d3b35d7953 Modified cc::Vehicle::SetAutopilot to use TrafficManager 2019-12-11 16:31:51 +01:00
Jacopo Bartiromo a7068d2f45 traffic light debugger, no junctions, lane marking 2019-12-11 16:31:51 +01:00
Praveen Kumar dd19da3af0 Implemented Parameters class
Integrated Parameters class with stages
2019-12-11 16:31:51 +01:00
Praveen Kumar 2b48d1c340 Smaller map sampling implemented
Distance based lane change point
Grid localized waypoint localization implemented
2019-12-11 16:31:51 +01:00
Praveen Kumar 901745599e Implemented TrafficManager::SetDistanceToLeadingVehicle 2019-12-11 16:31:51 +01:00
Praveen Kumar 63523a38aa Implemented singleton lifecycle management for TrafficManager 2019-12-11 16:31:51 +01:00
Praveen Kumar d99ae94864 Implemented forced lane change
Implemented auto lane change enable/disable
2019-12-11 16:31:51 +01:00
Praveen Kumar 16b80a01ba Exposed set_collision_detection in traffic managers python wrapper
Code asthetic changes
2019-12-11 16:31:51 +01:00
Praveen Kumar 3fc4a88da7 Implemented selective collision and forced lane change 2019-12-11 16:31:51 +01:00
Praveen Kumar eca99c9c98 Implemented vehicle specific target velocities 2019-12-11 16:31:51 +01:00
Praveen Kumar 9d3db35a98 Renamed Pipeline class to TrafficManager
Changed exposed class names in python wrapper
Adapted tm_demo.py for new changes
Removed redundant TrafficManager files from carla/TrafficManager
2019-12-11 16:31:51 +01:00
Jacopo Bartiromo 69142bfe75 tm_demo rework 2019-12-11 16:31:51 +01:00
Praveen Kumar 63c7ffa2f8 TrafficManager integrated to libcarla's python API 2019-12-11 16:31:51 +01:00
Jacopo Bartiromo a22d9c09ae new .cpp for wrapper and update libcarla.cpp 2019-12-11 16:31:51 +01:00
Jacopo Bartiromo e02ee7daad more folder organization 2019-12-11 16:31:51 +01:00
bernatx 039e6be501 Fix font name for windows 2019-12-11 15:29:32 +01:00
Marc Garcia Puig a937f268ee Fixed few issues in manual_control.py 2019-12-11 13:37:35 +01:00
Marc Garcia Puig 9e931f2c01 Added IMU and Radar visualization to manual_control.py 2019-12-11 13:37:35 +01:00
bernatx 4738f734de Fixed IMU compass, and windows compilation 2019-12-11 12:07:59 +01:00
bernatx 780f0b0b75 Fixes from PR. Added distance to check for vehicles. 2019-12-11 12:07:59 +01:00
bernatx 41f47ed8a9 Fixes from Pull Request review 2019-12-11 12:07:59 +01:00
bernatx 51a7bf8588 Adding 'cross' zones for the pedestrians 2019-12-11 12:07:59 +01:00
bernatx 0ee3dd0305 Unblocking walkers when they are blocked by something 2019-12-11 12:07:59 +01:00
bernatx 5b7fcbd689 Controlling how many pedestrians can cross the road 2019-12-11 12:07:59 +01:00
bernatx e6fc38a980 Parse 'crosswalks' on openDRIVE 2019-12-11 02:54:21 +01:00
Manish 8c53ddce2b Added more documentation and refactor on no rendering mode 2019-12-10 19:43:10 +01:00
Ferdinand Mütsch 162eac376b Fix math domain error in arcos through clipping. 2019-12-10 18:03:29 +01:00
Ferdinand Mütsch 722e258902 Add summary row for performance benchmark. 2019-12-10 18:03:29 +01:00
Ferdinand Mütsch e02520c835 Add method to check whether basic agent has reached its destination.
Modify local planner to use Carla-native methods.
Add undocumented methods and parameters to docs.
2019-12-10 18:03:29 +01:00
Marc Garcia Puig 140ad0f0b5 Added Radar docs & updated Changelog 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
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 8955d61a2e Renamed few variables 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
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
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
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
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 3d812822be
Fdomf/docs (#1966)
* 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

* Updated some python API class & methods

* updated python api

* Updates
2019-08-02 20:15:14 +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
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
bernat 70e67b8dbd
Better steering for manual control (#1957) 2019-08-01 11:36:34 +02:00
Francesc Domene a91f0da4b4 Fdomf/docs (#1883)
* Updated documentation and improvements

* Bp doc generator

* Updated
2019-07-26 11:25:49 +02:00
nsubiron e2c4dc1312 Increase version 2019-07-12 19:39:27 +02:00
Marc Garcia Puig e6e4b8c9d2 Deprecated persistent_lines in docs 2019-07-12 18:25:05 +02:00
nsubiron 8124f8f9d2 Fix smoke test warnings 2019-07-10 19:27:12 +02:00
Francesc Domene 6b68fe58a8 Fixes 2019-07-09 19:18:46 +02:00
Francesc Domene 14a5190c57 Apply suggestions from code review
Co-Authored-By: Néstor Subirón <nsubiron@cvc.uab.es>
2019-07-09 19:18:46 +02:00
Francesc Domene 8e8240e0ff Fixes 2019-07-09 19:18:46 +02:00
Francesc Domene 7aaa481f0e Apply suggestions from code review
Co-Authored-By: Néstor Subirón <nsubiron@cvc.uab.es>
2019-07-09 19:18:46 +02:00
Francesc Domene b05722630d Updated world settings method 2019-07-09 19:18:46 +02:00
Francesc Domene 1eba6265b4 Added remove_on_tick method to documentation 2019-07-09 19:18:46 +02:00
Francesc Domene 5d58e1d149 Added new class and changes on others 2019-07-09 19:18:46 +02:00
Francesc Domene 2e54b7127e Updated some more links and fixes 2019-07-09 19:18:46 +02:00
Francesc Domene 2ce10b83bb Updated links and fixes 2019-07-09 19:18:46 +02:00
Francesc Domene ad7447b3e7 Updated documentation 2019-07-09 19:18:46 +02:00
Francesc Domene a847f8ad4e Added new class walkerAIcontroller to docs and some fixes 2019-07-09 19:18:46 +02:00
Francesc Domene 1925425210 Added and fixed some classes information 2019-07-09 19:18:46 +02:00
Francesc Domene 1312566836 Added and fixed some classes information 2019-07-09 19:18:46 +02:00
Francesc Domene 5109d4a9f8 Fixed some documentation in py reference 2019-07-09 19:18:46 +02:00
Francesc Domene 0885ef7b32 Updated python api reference documentation 2019-07-09 19:18:46 +02:00
Francesc Domene 51e49f4063 Updated python API reference documentation 2019-07-09 19:18:46 +02:00
Francesc Domene f2ff8b4c1d Updated documentation 2019-07-09 19:18:46 +02:00
Francesc Domene f6da69cd30 Fixed some duplication errors 2019-07-09 19:18:46 +02:00
bernatx 66dc568cf7 Added information on client and sensor YML 2019-07-09 19:18:46 +02:00
Francesc Domene fb4a04b79d Added some more error checks in PythonApi docs generation 2019-07-09 19:18:46 +02:00
Francesc Domene 8fd58b03d3 Fix actor.yml 2019-07-09 19:18:46 +02:00
nsubiron 97a22f3f10 Fill documentation for actor.yml 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 0db5148d4f Quick fix on weather docs 2019-07-09 19:18:46 +02:00
Manish 3ac920a252 improved control and weather documentation 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 0ccf85a408 Added few information to control doc 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 88e9f7d128 Automated adding 'self' in class definitions 2019-07-09 19:18:46 +02:00
Manish 3908a867bd Updated physics, control and weather documentation 2019-07-09 19:18:46 +02:00
Manish 6f45d67492 updated documentation 2019-07-09 19:18:46 +02:00
Manish b6ac536031 Added more info in weather doc 2019-07-09 19:18:46 +02:00
Manish 2637bdb58d Added Walker and Vehicle control documentation 2019-07-09 19:18:46 +02:00
Manish 8d3e43d18f Added WeatherParams documentation 2019-07-09 19:18:46 +02:00
Manish 424bd55c57 Created physics control doc in yaml 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 0281b69dae Added inheritance in PythonAPI docs 2019-07-09 19:18:46 +02:00
Marc Garcia Puig a269f67447 Extended Map docs 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 789c45d1a6 Auto-generated doc hyperlinks 2019-07-09 19:18:46 +02:00
Marc Garcia Puig cb67e26ef6 Added map docs & type info in instance variables 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 1d46aadcd2 Make option for API Docs + added class Docs in MD 2019-07-09 19:18:46 +02:00
Marc Garcia Puig d6c955fd32 Better coloring 2019-07-09 19:18:46 +02:00
Marc Garcia Puig edd7286228 Now docs contain all classes, methods & variables 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 8363b9757d Now docs are ordered alphabetically 2019-07-09 19:18:46 +02:00
Marc Garcia Puig caf0a93ce3 Added geom and map docs for python 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 10ac217f8e Added more documentation 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 717477cc0e Improved Python doc generator 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 1d0e3f7790 Updated PythonAPI docs 2019-07-09 19:18:46 +02:00
bernatx 2d3e0bce3a Updating API docs 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 80ba00d032 Improved PythonAPI docs generation 2019-07-09 19:18:46 +02:00
Marc Garcia Puig 8d3ea2ff1e Initial aproach to generate docs 2019-07-09 19:18:46 +02:00
nsubiron 954f36b6a0 Add gamma correction as argument for manual_control.py 2019-07-09 18:46:55 +02:00
nsubiron d66e08c2b5 config.py, print help if no arguments provided 2019-07-09 18:46:09 +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
nsubiron 8f2d5b089e Allow changing fixed frame rate at runtime 2019-07-09 18:46:09 +02:00
nsubiron 39f5c4da49 Allow removing on tick callbacks 2019-07-09 17:18:32 +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 c05ed8a0f2 Creating new batch command for walkers 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 c3d160dfde Fixed walker shaking when moving by creating ApplyTransform2D batch command 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 ced914a653 Fixing build in windows 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
bernat 036baa1488 Fixing Recast library for Windows 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
Manish 46ca67bc23 Added some bindings with walker ai controller 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
nsubiron 01ed348875 Make 'tick' and 'apply_settings' wait until the new frame is received and return the frame id when the changes took effect 2019-07-06 00:14:53 +02:00
Johannes Quast 3d0ec717f7 Add transmission gears values access
- LibCarla and PythonAPI can read and write transmission values
   and the forward gear details
2019-07-05 20:06:26 +02:00
Johannes Quast 58e48b1acc Add access to vehicle physics brake values
- Make maximum brake and handbrake torque accessible
   to LibCarla.
2019-07-05 11:52:05 +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
Daniel Novillo d8145c8dba Control walker skeleton from Python API (#1719) 2019-06-27 22:16:17 +02:00
nsubiron 83d05fbd93 Remove some outdated @todo 2019-06-26 17:51:42 +02:00
nsubiron ae8db97570 Add smoke tests for snapshots 2019-06-20 18:06:13 +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 bbb95c3a51 Expose snapshots to PythonAPI 2019-06-20 18:06:13 +02:00
Néstor Subirón 5d71e556f4
New weather defaults (#1753)
* Add default weather preset
* Update content link
2019-06-17 18:07:32 +02:00
nsubiron 96b8cc1265 Randomize drivers in the Python examples 2019-06-13 18:32:04 +02:00
nsubiron 84d4b7c5b9 PythonAPI: allow finding single actor by id 2019-06-13 16:56:56 +02:00
xmyqsh 104b1e36ec Fix python __str__ wrapper (#1730) 2019-06-12 12:56:32 +02:00
Manish f7b7ccd9d3 Removing is_steerable param and updating tests 2019-05-29 11:31:13 +02:00
Manish 1f8eb1ead1 Added world pos for wheels + working on using physx to fix a bug 2019-05-29 11:31:13 +02:00
Manish b4f7ecc5ea Added radius getter/setter to wheel physics control 2019-05-29 11:31:13 +02:00
Manish 0f2064b58f updated test 2019-05-29 11:31:13 +02:00
Manish 17fe069890 renamed physics params 2019-05-29 11:31:13 +02:00
Néstor Subirón d05dc6c743
Allow attaching actors with a spring arm (#1682) 2019-05-27 18:07:03 +02:00
manishthani 4dbb94763b
Merge branch 'master' into manishthani/load_props_definition 2019-05-23 11:02:19 +02:00
Daniel da597f92c9 Fixed code conventions, static methods and format 2019-05-23 10:39:24 +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
manishthani 4a41672e85
Merge branch 'master' into manishthani/load_props_definition 2019-05-14 16:37:28 +02:00
Néstor Subirón cf58f7a2c1
Fix dead-lock when loading a new map in synchronous mode. (#1588)
* Fix #1412, dead-lock when loading a new map in synchronous mode.
* Update CHANGELOG
* Add smoke test for #1412
2019-05-10 16:33:48 +02:00
Daniel Novillo 1f8e405425 Exposed 'is_invincible' for pedestrians (#1454) 2019-05-08 13:45:02 +02:00
Marc Garcia Puig 35815dac47 Ignoring warnings on system libs on Win build 2019-05-07 15:59:31 +02:00
nsubiron 9e2ea00820 Fix missing requirements of PythonAPI util 2019-05-07 11:51:16 +02:00
manishthani bfec4390a0
Merge branch 'master' into manishthani/load_props_definition 2019-05-03 18:40:31 +02:00