Commit Graph

1023 Commits

Author SHA1 Message Date
Pasch, Frederik baffc906be Fix egg inclusion 2020-07-14 17:53:28 +02:00
Pasch, Frederik 89443073bf Disable pylint check 2020-07-14 17:53:28 +02:00
Pasch, Frederik 05aac9c0fb Update pylintrc, fix vehicle lights on restricted vehicle control 2020-07-14 17:53:28 +02:00
Pasch, Frederik 805f7c2863 Pylint cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik 2cb29ba938 Further cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik bc898acdf9 Cleanup 2020-07-14 17:53:28 +02:00
Bernd Gassmann 0332185e6f Update PythonAPI docu
+ Codeformatting of RSS parts
2020-07-14 17:53:28 +02:00
Pasch, Frederik 88ae9d04ae Update to AD RSS Library 4.0.0
- Added support for unstructured scenes and pedestrians.
- Rework rss example folder structure
- Python based debug drawing
- Handle negative speeds
- Fixes #2871 by linking libproj statically.
- Fixes #2958 by using sequential colcon build
- Allow setting log level
- Add ActorConstellationCallback
- Move setting of RssDynamics to python code
2020-07-14 17:53:28 +02:00
Axel1092 fcc5140873 Updated documentation and changelog 2020-07-10 11:36:31 +02:00
Axel1092 2d26512209 Added new frozen behavior. 2020-07-10 11:36:31 +02:00
Axel1092 07d016d318 Added reset group function to API. 2020-07-10 11:36:31 +02:00
Markus Hofbauer 13d9ac7de1 replace deprecated platform dist with distro linux distribution call 2020-07-08 23:17:33 +02:00
Daniel Santos-Olivan 1926b68e70 Change variable name to adapt to code standard and added
stream operator for LidarDetection
2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 8e68cbdd8a Fix error in the serializer of LidarMeasurament. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 1d9bb78a8d Format changes to answer review 2020-07-08 11:44:23 +02:00
Daniel Santos-Oliván 07a871309b Updated documentation 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 97cf13700c First version of the documentation. Yet to be completed. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan 759f7bfe6d In sensor profiling, setting no rendering mode. 2020-07-08 11:44:23 +02:00
Daniel Santos-Olivan da2e29f5ef Lidar Intensity: Added intensity to lidar's output
For now, only takes into account the intensity loss
due to the the atmosphere atenuation.
2020-07-08 11:44:23 +02:00
Marc Garcia Puig 114e42357a Matrix creation simplification 2020-07-02 12:22:12 +02:00
Daniel Santos-Olivan 1aa286f6a9 Added a getter to the 4-matrix form of the
inverse transformation for the client
2020-07-02 12:22:12 +02:00
Daniel Santos-Olivan 7e2b57338b Exposing the 4-matrix form of the transformation
to the client API
2020-07-02 12:22:12 +02:00
Axel1092 f39bc70242 Added velocity, acceleration and platform time to recorder. 2020-07-02 11:53:36 +02:00
sergi.e f6831da92e
sergi-e/issues_06 (#3005)
* Brief additions

* Fix on Light manager docs
2020-07-01 13:18:44 +02:00
bernat 315bfc45bf Trimming spaces and renaming variable 2020-06-30 13:12:22 +02:00
bernat 9b716e1698 All streams are multi stream now 2020-06-30 13:12:22 +02:00
Marc Garcia Puig b695dbf2f5 Fixed numpy versions for requirements.txt 2020-06-29 17:40:39 +02:00
DSantosO baf43b07a6
Merge pull request #2951 from carla-simulator/dsantoso/lidar-impr
Raycast parallelization
2020-06-18 15:48:29 +02:00
Marc Garcia Puig 701a5009bf
Fixed weather out in PythonAPI (#2957) 2020-06-16 12:18:58 +02:00
Marc Garcia Puig c21e823850 Fixed environment.py 2020-06-10 14:43:21 +02:00
Marc Garcia Puig 97cb2dfec0 Fixed fog_falloff in Boost Python 2020-06-10 14:43:21 +02:00
marcos909 c29a1908e9 Renamed environment.py 2020-06-10 14:43:21 +02:00
sergi-e 45da3ae55e New iteration with changes on environment.py, light explanation and lights explanation 2020-06-10 14:43:21 +02:00
Marc Garcia Puig 07fe7a7153 Added weather parameter fog_fallow to PythonAPI 2020-06-10 14:43:21 +02:00
marcos909 7484c60949 Deleted old weather.py
Added Environment.py (controls weather and lights)
2020-06-10 14:43:21 +02:00
sergi-e 06375cc866 Order in parameters changed 2020-06-10 14:43:21 +02:00
sergi-e 9b6e9fc2b0 First iteration 01 2020-06-10 14:43:21 +02:00
Marc Garcia Puig ed2f997f98 Updated command docs 2020-06-08 10:49:31 +02:00
Marc Garcia Puig a9c0f51633 Added `get_vehicles_light_states` into docs 2020-06-08 10:49:31 +02:00
Marc Garcia Puig fc133121c7 Added get function for all car light states 2020-06-08 10:49:31 +02:00
Marc Garcia Puig 923960751f Added batch command SetVehicleLightState 2020-06-08 10:49:31 +02:00
Praveen Kumar 1e98335808
Traffic manager 2.0 (#2833)
* Traffic Manager 2.0

* WIP: new class structure for TM 2.0
Yet to use the new classes in TrafficManagerLocal

* WIP: new class structure integration

* Fix for python api build.

* Fix for hybrid mode crash.

* Fixed incorrect collision cache.
Fixed crash upon map change.
Minor reformatting.

* Fixed collisions with unregistered actors.
Fixed collisions among multiple traffic manager instances.
Fixed vehicle destruction upon being stuck for too long.

* Fixed vehicle wobble on steep roads

* Waypoint buffer extension at junction entrance.

* WIP: Revamped intersection anticipation.

* Implemented waypoint occupancy tracking.

* * considering buffer independent waypoints
for determining blocked junction exit.

* considering longitudinal extreme points
for localizing unregistered actors.

* Removed debug statements

* Intersection anticipation for vehicles moving across path.

* Fixed intersection anticipation in Town03, Town04.

* Safe interval length check for intersection anticipation.

* Distance check from safe interval for blocked exit.

* Removed debug statements

* * Intersection anticipation exception for roundabout in Town03.
* Updated comments.

* codacity fix

* more codacity fixes

* formatting and minor changes

* bad indentation

* Removed debug statements and updated comments.

* fixes unused variable error in make examples

* Increased minimum obstacle distance for lane change
to avoid partial lane changes.

* Removing crude stopping logic at junction entrance
for blocked junction case.

* Ignoring small intersection segments
for intersection anticipation.

* Fixed issue in unblocking mechanism
due to incorrect clock initialization.

* Fixing intersection entrance identification.

* Fixed incorrect safe space after junction detection.

* Fixed collision negotiation conditions
to work well inside intersections
and avoid deadlocks in roundabout turns.

* Replaced in file constants of InMemoryMap
with definitions from Constants.h

Updated comments

* Added a check to avoid collision considerations
in case  of traffic light hazard in motion planner.

* Re-organised include statements for ALSM.h/.cpp files.

Fixed a double initialization precision.

* WIP: Refactoring ALSM::Update

* Refactored ALSM::Update into shorter functions.

* ALSM: Corrected numeric comparision precision
and container access optimizations.

* Initial review changes

* CollisionStage: addressed pr comments.

* Constants.h, DataStructures.h: addressed pr review comments.

* InMemorMap: review comment addressal.

* LocalizationStage: Review comment addressal

* New class for random generation instead of rand()

* Removed unused code

* MotionPlanStage: re-organized include statements.

* MotionPlanStage: review comment addressal.

* SimulationState, DataStructures: minor refactoring.

* SnippetProfiler, TrackTraffic: Review comment addressal.

* Refactored include statements for
SimpleWaypoint, SnippetProfiler, TrackTraffic files.

* TrafficLightStage: review comment addressal.

* Using sleep instead of continue to time hybrid mode.

* Changing fixed array allocation with dynamic resizing.

* Refactored include statements for TrafficManager

* Removed clamp macro

* Added const to Networking constants

Co-authored-by: Jacopo Bartiromo <jackbart94@gmail.com>
Co-authored-by: Jacopo Bartiromo <32928804+jackbart94@users.noreply.github.com>
2020-06-05 00:02:10 +02:00
Axel1092 827368588d Updated docs and CHANGELOG. 2020-05-29 12:34:29 +02:00
Axel1092 cd277af189 Code clean up. 2020-05-29 12:34:29 +02:00
Axel1092 605c99136d Improved standalone mesh split. 2020-05-29 12:34:29 +02:00
Axel1092 543f502512 Fixed large RAM usage in cubic polinomial curves. 2020-05-29 12:34:29 +02:00
Axel1092 704b32fa1a Added python scripts to load OSM maps into Carla simulation. 2020-05-29 12:34:29 +02:00
Axel1092 734912df54 Added optional recast execution. 2020-05-29 12:34:29 +02:00
Axel1092 381d6b2d97 Fixed string length limit in ToFString and FromFString in String.h. Fixed some parameters not used in standalone mode. 2020-05-29 12:34:29 +02:00
sergi.e 8ea1093954
sergi-e/res-pics (#2891)
* New pictures and some minor fixes!

* Docs/start_quickstart.md
2020-05-26 19:18:14 +02:00
sergi.e 09945c9a8c
Fix force lane change right/left (#2872) 2020-05-20 14:47:37 +02:00
bernat 09ec923c87 Removed the temporal workarounds 2020-05-14 14:22:30 +02:00
bernat a93ddab26a Fixing Pylint errors 2020-05-14 14:22:30 +02:00
bernat 74981af663 Added a test in smoke tests to check all spawnpoints in all maps 2020-05-14 14:22:30 +02:00
doterop 1c7306f982 Fix use of reserved keyword in python 2020-05-11 14:44:54 +02:00
Marc Garcia Puig 4eb6714e04 Removed unnecessary PythonAPI classes 2020-05-08 20:08:27 +02:00
sergi-e d305afa2fa DVS docs reviewed 2020-05-08 20:08:27 +02:00
Javier Hidalgo-Carrió 38432de658 python api: move logic in sensor data methods to DVSEventArray 2020-05-08 20:08:27 +02:00
Marc Garcia Puig 9f5f4b9a2e Moved ToImage() and added a use case in man_contr 2020-05-08 20:08:27 +02:00
Marc Garcia Puig 87ac3b9a6d Minor fixes and code style adaptation 2020-05-08 20:08:27 +02:00
Javier Hidalgo-Carrió c45614c983 DVS camera sensor implementation 2020-05-08 20:08:27 +02:00
sergi-e fd88d61aa7 Deleted links to CARLA versions after fixes to doc states 2020-05-08 13:51:04 +02:00
sergi-e f95feddbb7 Fixed typo on TM 2020-05-08 13:51:04 +02:00
sergi-e bfec9d099e Little change in header text 2020-05-08 13:51:04 +02:00
sergi-e 361372d496 Changed links to docs build 2020-05-08 13:51:04 +02:00
sergi-e 564b7b9408 First iteration with getters, setters and previous APIs 2020-05-08 13:51:04 +02:00
sergi-e 0124a47bc9 Docs updated 2020-05-05 11:16:23 +02:00
bernat 4dc6eba755 New API function to add angular impulse to an actor 2020-05-05 11:16:23 +02:00
kbu9299 bcf542f579 Fix typos 2020-05-04 10:05:18 +02:00
bernat 1a2c2ea76a Changing to version 0.9.9 2020-04-23 15:52:28 +02:00
sergi.e cd35196d20
sergi-e/p099-updates (#2751)
* First draft TM updates

* Idle iteration

* Different updates

* Python API weather fix

* Added RSS sensor

* Added nightly builds

* Added texture mention to Town10

* Updated TM

* Updated contact mail

* New update on B,Jo,Ja comments

* Last fixes on Ja comments
2020-04-23 12:40:28 +02:00
bernat 19627ac094 Smoke test fix, and windows clean fix 2020-04-22 12:24:28 +02:00
doterop 4384e386c2
Light API (#2756)
* Added CarlaLight class.

* Added get and set for carla light type.

* Added LightManager, Light and LightState

* Fixed unapplied changes

* Fixed LM::GetAllLights

* Fixed Python getter

* Added LightManager, Light and LightState. Python bindings included.

* Completed LightManager communication and LightSubsystem on server

* Fixed concurrency and color conversion

* Added check for null case on RegisterLight and UnregisterLight

* Fixed map change crash in editor.

* Added client syncronization.

* Updated Python docs.

* Fixed client sync

* Added CarlaLight class.

* Added get and set for carla light type.

* Added LightManager, Light and LightState

* Fixed unapplied changes

* Fixed LM::GetAllLights

* Fixed Python getter

* Added LightManager, Light and LightState. Python bindings included.

* Completed LightManager communication and LightSubsystem on server

* Fixed concurrency and color conversion

* Added check for null case on RegisterLight and UnregisterLight

* Fixed map change crash in editor.

* Added client syncronization.

* Updated Python docs.

* Fixed client sync

* Updated changelog

* New iteration on lights docs

* Fixed docs

* Content version updated

* Removed NonCopyable

* Compilation fix.

Co-authored-by: Axel1092 <axellopez92@outlook.com>
Co-authored-by: sergi-e <rigesklaine@gmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
2020-04-17 12:29:54 +02:00
sergi-e 9d3d97377b New draft with parameters. Pending questions. 2020-04-16 12:41:06 +02:00
Marc Garcia Puig d2a16e9a47 Improved PythonAPI map generation params docs 2020-04-16 12:41:06 +02:00
Jacopo Bartiromo 3fcc90585e fixes destruction of actors in tutorial.py 2020-04-16 12:39:35 +02:00
Jacopo Bartiromo 0b0ca7ea4c fix flag from --tm_port to --tm-port (guideline) 2020-04-16 12:36:53 +02:00
doterop 5d177eb4bb set_autopilot now uses the TM port instead of the TM object 2020-04-16 12:36:53 +02:00
shiba24 e7a23ea941 Delete wrongly referenced .value attribute 2020-04-15 18:33:56 +02:00
Marc Garcia Puig 7b8dc6aaf8 Added an OpenDRIVE sample 2020-04-14 21:00:04 +02:00
shiba24 af5bf9fb99 Fix variable definition
Before this commit, `synchronous_master` is defined inside
try-block so if any error happens and args.sync is true,
"ReferenceError: `synchronous_master` is not defined" is raised
in the finally-block.
2020-04-13 18:26:24 +02:00
Marc Garcia Puig 3443a64db2 Fixed GetCornerPositions 2020-04-13 16:50:32 +02:00
Marc Garcia Puig 731743e79c Fixed doc spaces 2020-04-13 16:50:32 +02:00
Axel1092 f2130d1ef4 Updated changelog. Updated Python documentation. 2020-04-13 16:50:32 +02:00
Axel1092 d5c57e8903 Added parameter to enable/disable junction smooting. Moved config file variables to CarlaGameInstace for opendrive generation parameters. 2020-04-13 16:50:32 +02:00
Marc Garcia Puig e2c0349ef6 Exposed max chunk size to the PythonAPI 2020-04-13 16:50:32 +02:00
Axel1092 5ddb97a58e Added parameter to disable rendering meshes generated from OpenDRIVE. 2020-04-13 16:50:32 +02:00
sergi-e 9cb8f19c72 Added method to set radius in hybrid mode. 2020-04-13 13:06:38 +02:00
sergi-e 88148eb3de Python API updated. 2020-04-13 13:06:38 +02:00
doterop a108bf5b3b Updated default value for TM. Now should be retrocompatible. 2020-04-13 13:06:38 +02:00
doterop 2f6b8e048f Change to support default parameter to keep compatibility 2020-04-13 13:06:38 +02:00
doterop 79d6298395 Cleaned logs 2020-04-13 13:06:38 +02:00
doterop 64cc616938 Added changes to SetAutopilot BatchCommand 2020-04-13 13:06:38 +02:00
doterop f2f4b229d7 Updated set_autopilot to get tm as a parameter 2020-04-13 13:06:38 +02:00
bernat 711738b1b9 Fix PythonAPI linking to libstdc++ (fix pyTorch) 2020-04-09 17:33:22 +02:00
bernat 5e7c6bb783
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-04-09 12:18:23 +02:00
Jacopo Bartiromo b839cf3419
Minor changes to Traffic Manager (#2708)
* removes vertical offset
changes in radius
radius increasing with higher velocity

* changes to collision detection policy

* introducing radius as parameter
removed radius increasing with velocity
2020-04-09 09:56:04 +02:00
berndgassmann bcd852e72a
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-04-06 13:04:57 +02:00
glopezdiest fdf0e39e7f
Fixed RoadOptions calculus at the global route planner 2020-04-06 09:14:07 +02:00
Bernd Gassmann f3930a8f0f Ensure make package always package the correct version
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.
2020-04-03 19:57:44 +02:00
berndgassmann c310d66b3e
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-04-03 13:58:22 +02:00
sergi.e 29e8e14cc1
Sergi e/rss docs (#2686)
* RSS first add

* RSS docs first draft.·

* Second draft.

* Codacy fixes

* Readme update
2020-04-03 13:57:11 +02:00
berndgassmann 07fafaea67
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-04-02 19:59:17 +02:00
Axel1092 bdd0aaaac9 Added function to retrieve landmarks in the same group. 2020-04-02 19:01:31 +02:00
sergi-e 4b31d0fb40 Docs update 2020-04-02 19:01:31 +02:00
Axel1092 69e5e8bbf6 Fixed missing documentation for get_junction function. Updated changelog. 2020-04-02 19:01:31 +02:00
Axel1092 e24bcebfbf Added get landmarks functions from map. 2020-04-02 19:01:31 +02:00
Bernd Gassmann 64f7b7cda4 Adapt to separate documentation pull request
- remove docu from this request again
- Prefix RoadBoundariesMode and VisualizationMode under Python with
'Rss' for clarity
2020-04-02 16:50:34 +02:00
Bernd Gassmann a07077c0d8 Fix manual_control_rss empty item 2020-04-01 16:34:52 +02:00
Bernd Gassmann 938c4516ae Added detailed documentation of RSSSensor 2020-04-01 11:51:33 +02:00
Bernd Gassmann 179ec725fa Fix some robustness issues
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.
2020-03-31 18:30:50 +02:00
berndgassmann 849a6c54c5
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-31 18:28:22 +02:00
Marc Garcia Puig 0eed245e34 Review fixes 2020-03-31 12:11:39 +02:00
Marc Garcia Puig 5520f31d0a Exposed road mesh generation params to PythonAPI 2020-03-31 12:11:39 +02:00
berndgassmann dc6c80a820
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-31 10:28:35 +02:00
sergi.e e8332e362f
sergi-e/links-world-methods (#2677)
* links fixed

* Added O methods
2020-03-31 01:39:50 +02:00
Jacopo Bartiromo 151e38ce8d
Hybrid mode for Traffic Manager (#2674)
* Improved braking, collision negotiation.

* Improved braking algorithm for smoother approach
to lead vehicle.

* Implemented smoother path boundary modification
to aid smoother braking.

* Re-worked collision negotiation algorithm.

* Improved collision candidate filtering.

* Added safe-guard in case of vehicle removal
in collision stage.

* Used local variable for heavily referenced object
in localization stage.

* Implemented vector relative velocities
for motion planner's collision consideration.

* Moved collision candidate sorting logic
from collision stage to localization stage.

* Sorting collision candidates using their ids
instead of shared pointers to avoid memory corruption.

* Improved conditions for collision consideration
for greater efficiency.

* Removed fps limit in async mode.

* Hybrid physics mode

* Introduced hybrid physics mode parameter
* Implemented physics independent velocity computation
* Modified localization stage to be physics agnostic

* Fixing velocity compute interval in sync and async mode.
Made motion planner stage work with internally computed velocities.

* Made collision stage agnostic to actor physics

* Sampling waypoint buffer for teleportation window

* WIP: Teleportation changes

* WIP2: Teleportation changes

* Fixes waypoint window and vehicle spawning

* hotfix to performance benchmark

* comment out debugs

* changelog

* fixes collision bug

* fixes package error and out_of_range bug

* changes after review

* Left & Right Transit of a lane: Waypoint mapping

Co-authored-by: Praveen Kumar <pravinblaze@hotmail.com>
Co-authored-by: Soumyadeep <soumyadeep.dhar@kpit.com>
2020-03-30 22:53:29 +02:00
doterop 081de023ce Added methods to get trafficlights and trafficsigns from landmarks 2020-03-30 19:44:46 +02:00
Bernd Gassmann d913938f1f Integrate ad-rss without find_package to cope with cmake 3.5 and newer boost version 2020-03-30 17:52:37 +02:00
berndgassmann dfe175c8bb
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-30 14:03:47 +02:00
sergi.e 239c4c5acd
sergi-e/p098-api (#2638)
* Python API iteration p098

* New order enum

* Fixed order getters setters

* New python api md

* New iteration, dunder coded

* PythonAPI/docs/doc_gen.py

* fix method_name
2020-03-30 10:18:13 +01:00
berndgassmann 7d351b721d
Merge branch 'master' into feature/integrate_rss_3.0.0 2020-03-27 14:45:53 +01:00
Bernd Gassmann ba8c28975f Fixed pylint error 2020-03-26 17:03:14 +01:00
Bernd Gassmann 950ed3716a Extend and cleaned manual_control_rss.py example
By the usage of ego_dynmics parameters and routing targets.
2020-03-26 14:59:47 +01:00
glopezdiest a0c88b7ba6
Minor changes to local_planner + some bug fixes (#2653)
* Max values are parameters + max_brake error + print changes

* Removed debug
2020-03-26 11:14:32 +01:00
Bernd Gassmann 7d80260764 Formatted manual_control_rss.py using codeformat.py 2020-03-25 18:44:03 +01:00
Bernd Gassmann 67b17ee42a Code format according to google style
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
2020-03-25 18:34:29 +01:00
Bernd Gassmann 9139af555a Revert not required setup.py modifications 2020-03-24 19:17:20 +01:00
Bernd Gassmann eea805de10 Fix pylint warnings 2020-03-24 19:02:48 +01:00
Bernd Gassmann 20e61ef747 Try to comply with codacy output 2020-03-24 18:28:42 +01:00
Bernd Gassmann c64472b40f Fix python3 2020-03-24 14:49:46 +01:00
Bernd Gassmann eea9359527 Integrate AD RSS v3.0.0
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
2020-03-24 13:46:54 +01:00
Axel1092 6acecb2579 Added spawn of traffic signals. 2020-03-23 13:36:12 +01:00
sergi-e 2ae7902714 Fixed landmarks 2020-03-18 20:49:37 +01:00
sergi-e 78a191edfe Added return for recorder methods 2020-03-18 14:21:46 +01:00
Jacopo Bartiromo 4bc53a7f6c
New behavior agent + small changes to manual and automatic control. (#2508)
* pr agent behaviors

* pr agent behaviors

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* limits for steering

* Add files via upload

* pylint formatting

* pylint formatting

* seed flag for repeatability

* seed flag for repeatability

* Add files via upload

* Add files via upload

* first pr review corrections

* Add files via upload

* Add files via upload

* Delete parameters.py

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* start of pedestrian avoidance + minor fixes

* start of pedestrian avoidance + minor fixes

* get_map check

* get_map check

* get_map check.

* Delete basic_agent.py

* Delete roaming_agent.py

* pylint final changes

* Pylint final check

* more pylint

* minor fix

* minor changes

* Add files via upload

* changes in PID + old models

* trying to stabilize waypoint distance

* fixed step in sampling radius

* folder structure change and more stuff

* pylint fix

* re-introducing pedestrian avoidance

* minor things

* deleted unused folder

* restore basic folder

* resurrected behavior agent

* set debug to false

* remove prints + open PR

* changelog

* setting behavior agent as default in auto_control
changing manual_control to have slower increasing braking too

* Requested modifications PR

The vehicle can now accelerate and brake at the same time again.
Removed unnecessary  variable.

* Fix frame rate display for the client

* removing unnecessary duplication
reordering folders
code cleanup for codacity

* unused import

* codacity and travis changes

Co-authored-by: Joel Moriana <joel.moriana@gmail.com>
2020-03-17 11:31:05 +01:00
sergi.e 80708b9daa
Sergi e/p098 core (#2583)
* Style fixes and iteration

* Mid iteration for rebase

* Finished core + town slider

* First fix waiting for Reviewable

* Iteration on G comments

* Added spectator example

* Fixed typo

* Added minor change to generate opendrive world
2020-03-17 09:24:43 +01:00
Rowan McAllister b8bc2ba43e Correcting PID controller issue 2544. 2020-03-16 17:05:01 +01:00
Rowan McAllister 77ed7e7ca1 Correcting PID controller issue 2544. 2020-03-16 17:05:01 +01:00
Guillermo 5404807db4 Removed unused import 2020-03-13 18:04:20 +01:00
Guillermo a4bd6a13b8 Remade red traffic light detection 2020-03-13 18:04:20 +01:00
Axel 75495b62c6 Fixed docs. 2020-03-11 12:09:02 +01:00
sergi-e c4cb43d023 Documentation second draft 2020-03-11 12:09:02 +01:00
Axel 6284d202fd Python documentation. 2020-03-11 12:09:02 +01:00
Praveen Kumar e32e6bff93 Removing debug statements 2020-03-09 16:35:24 +01:00
Praveen Kumar e55d5750e9 Sychronous mode bug resolution 2020-03-09 16:35:24 +01:00
Praveen Kumar 4f21f94ac0 Synchronous mode bug demonstration 2020-03-09 16:35:24 +01:00
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