Commit Graph

171 Commits

Author SHA1 Message Date
Néstor Subirón 0e8ca5064b
Merge branch 'master' into tl_api 2019-01-30 14:40:21 +01:00
Daniel Novillo 5a026fd489
Merge master into pedestrian-collision-sensor 2019-01-30 13:49:57 +01:00
Aidan Clear faac288002 Prettyfying the files in response to review 2019-01-30 11:20:23 +01:00
Daniel Novillo Villarejo 5a31efe298 Obstacle detector for vehicles or everything 2019-01-29 12:44:22 +01:00
Daniel Novillo Villarejo e20d5d0de1 Added Changelog
Removed unnecesary files
2019-01-29 12:00:58 +01:00
Daniel Novillo Villarejo 0730688e48 Maps extraction tool without testing 2019-01-29 12:00:58 +01:00
Aidan Clear acb590ca85 Adding python api support for changing a traffic light's state and timers and getting the traffic light and speed limit for a vehicle 2019-01-28 20:03:16 +01:00
Fabian Oboril 8a3e40ac6d
Merge branch 'master' into basicAgentUpdates 2019-01-25 22:31:27 +01:00
Fabian Oboril 9ff2afe1e3 Update changelog 2019-01-25 22:28:56 +01:00
bernatx 21bf92c5af Removed 'add_force' command, and little fixes. 2019-01-24 18:57:38 +01:00
bernatx eaf3392c66 Added methods to PythonAPI for managing some physics of an actor 2019-01-24 18:57:38 +01:00
nsubiron b57b56f6f3 Increase default time-out in world.wait_for_tick() 2019-01-24 12:03:01 +01:00
Pasch, Frederik 89af74d967 Add support for a gnss sensor
An initial reference location is read from the header of the OpenDRIVE definition (/OpenDRIVE/header/geoReference)

The expected format is based on the Proj4 syntax:
+lat_0=<LATITUDE as double> +lon_0=<LONGITUDE as double)

Example (Town01):
<OpenDRIVE>
    <header revMajor="1" revMinor="4" name="" version="1" date="2018-10-26T12:17:35" north="2.0479999989271146e+1" south="-3.4888998413085938e+2" east="4.1446086126736287e+2" west="-2.0712774024007370e+1" vendor="VectorZero">
        <geoReference><![CDATA[+lat_0=4.9000000000000000e+1 +lon_0=8.0000000000000000e+0]]></geoReference>
    </header>
...
2019-01-23 17:49:01 +01:00
Fabian Oboril 67d1eba471 Updated BasicAgent: Allow setting target speed and updated traffic light behavior
Updated the BasicAgent to:
- Allow setting target speeds
- Fix the behavior on intersections with US-style traffic lights
2019-01-23 08:30:10 +01:00
nsubiron c18c3bd39e Add support for walkers in manual_control.py 2019-01-22 19:54:57 +01:00
nsubiron 4235da52a2 Add bounding box to pedestrians 2019-01-22 19:54:57 +01:00
nsubiron 4c68cdb345 Add jump to pedestrian control 2019-01-22 19:54:57 +01:00
nsubiron 4ab822bcce Add support for spawning and controlling walkers 2019-01-22 19:54:57 +01:00
nsubiron aeecd3d6eb Rename get_vehicle_control to get_control to be consistent with walkers 2019-01-22 19:54:57 +01:00
nsubiron 5295261aca Add forward vector to rotations and transforms 2019-01-17 11:41:14 +01:00
nsubiron 5dbd53766f Minor corrections 2019-01-11 15:23:58 +01:00
Firesuiry 7dad7ec413 support deepin when use make PythonAPI 2019-01-11 14:24:15 +08:00
manishthani b0984c5f0c fixing python tests 2019-01-09 18:20:04 +01:00
manishthani 3de574af36 Any type of point can be transformed 2019-01-09 17:41:01 +01:00
manishthani 7a163c2320 Extended functionality of point transforms 2019-01-08 11:19:12 +01:00
nsubiron d4f6c24c64 Update changelog and increase version 2018-12-21 22:52:33 +01:00
German Ros 8e1f45da1e requested changes: navigation code moved to Agent.py 2018-12-21 22:03:16 +01:00
German Ros 09a74db1fb added new version of basic_agent and agent base class 2018-12-21 22:03:16 +01:00
German Ros 466058b2ec debugging the global router for basic_agent 2018-12-21 22:03:16 +01:00
German Ros 1eada5f5e2 added basic_agent class 2018-12-21 22:03:16 +01:00
nsubiron 62cca3a697 Fix lidar range in manual control 2018-12-21 21:21:43 +01:00
nsubiron 10e9a53844 Fix manual_control choosing only Nissan Patrol 2018-12-21 19:44:43 +01:00
Praveen Kumar 061265f15f Moved navigation files to PythonAPI/agents/navigation 2018-12-20 18:39:22 +01:00
Praveen Kumar 62b603e593 * using enumeration for navigation decisions
* added detailed doc strings
* standards update for imports
2018-12-20 18:34:32 +01:00
Praveen Kumar d0689df5f2 * Added global_route_planner.py
* Added global_route_planner_dao.py
* Added test_global_route_planner.py
2018-12-20 18:34:32 +01:00
German Ros c1849d83ba removed one dependency 2018-12-19 11:19:52 -08:00
German Ros 4afcbf9e63 updated automatic_control to make it compatible with the manual control code 2018-12-19 11:18:28 -08:00
German Ros 90fdb53a38 New Navigation API to deal with both kind of TrafficLights 2018-12-19 12:34:05 +01:00
German Ros 9dd350f322 waypoint bug fixed: height 2018-12-19 12:33:58 +01:00
German Ros 1ca9e31ae8 new folder structure 2018-12-19 12:33:51 +01:00
German Ros 4c0a279cfa structure of the roamingAgent updated to cover the requested changes 2018-12-19 12:33:40 +01:00
German Ros 35327836f5 bug-fix: acos in -1,1; queue reloaded with more elements; lateral PID with derivative term to decrease overshooting 2018-12-19 12:32:41 +01:00
German Ros 7f52942529 lateral control jitter solvedgit add PythonAPI/source/carla/navigation/controller.py 2018-12-19 12:32:33 +01:00
German Ros d544c6515e files moved within source/carla 2018-12-19 12:32:26 +01:00
German Ros 67dda94529 New driving classes to perform vehicle control from CARLA clients 2018-12-19 12:32:07 +01:00
nsubiron 4661c24899 Add find function to actor list 2018-12-16 00:05:15 +01:00
nsubiron 7ca171de9c Manual control: retry spawn if collision 2018-12-13 20:27:43 +01:00
nsubiron 8c01b53948 Allow changing gears from manual_control.py 2018-12-13 18:32:59 +01:00
nsubiron 56534e9569 Add option for manual gear shifting to VehicleControl 2018-12-13 18:32:59 +01:00
Bernd Gassmann bd710c339c Provide parent/attribute content of Actors via python interface
While creating the new carla ros bridge some extensions became necessary
within CARLA:

The parent property of an actor via python interface is not yet filled.
Therefore, the parent_id of Actors has to be transferred from the CARLA
server via rpc interface.

In addition, actor attributes are published via python interface.

Changes in detail:

carla/rpc/Actor.h:
- add parent_id field to the Actor class for rpc transport

TheNewCarlaServer.cpp:
- fill the parent_id field with the appropriate value

client/ActorList:
- added GetActor() function to get an actor by id

client/ActorVariant:
- added actor_list optional parameter to Get() and MakeActor() function
which allows to query for the parent actor in case the actor_list is
available

client/ActorAttribute:
- solved problem of independent rpc::ActorAttribute* classes by
introduction of ActorAttributeValueAccess class, to be able to reuse
most of the functions for both ActorAttribueValues and ActorAttributes

ActorBlueprintFunctionLibrary:
- extended actor attributes by attribute 'role_name' having {autopilot,
    scenario, ego_vehicle} as recommended values for vehicles or
    {front,back,...} for sensors to be able to distiguish the different
    actors in a meaningful way when transferring to ROS topic names
- extended vehicle attributes by not-modifiable attribute 'object_type'
to be defined at blueprint creation time to provide ground truth
object classification type

PythonAPI:
- libcarla: provide the actor attributes within python as dictionary
- make use of role_name attribute to provide information required for
ROS bridge to distinguish ego vehicle from others
2018-11-30 16:08:50 +01:00