Commit Graph

133 Commits

Author SHA1 Message Date
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
nsubiron cddb98282c Increase version and update changelog 2018-11-16 13:29:40 +01:00
nsubiron 4c9aec0764 Small fixes to manual_control.py 2018-11-15 20:22:28 +01:00
nsubiron 4a77755208 Add more attributes to waypoints 2018-11-15 16:45:35 +01:00
nsubiron 02be13d9e7 Improvements to manual_control.py 2018-11-15 16:45:35 +01:00
nsubiron 0a06dc7db6 Return waypoints and spawn points as pure Python lists 2018-11-15 16:45:35 +01:00
nsubiron e5c4f593d0 Expose map generate all waypoints in Python 2018-11-15 16:45:34 +01:00
nsubiron 4eed57fb87 Expose map topology in Python 2018-11-15 16:45:34 +01:00
nsubiron f9293c80ed Use actor_get_display_name when possible 2018-11-15 16:29:57 +01:00
nsubiron 6103d59766 Implement lane detector only for points on same road section 2018-11-15 16:29:57 +01:00
nsubiron 9d1b2a12ef Add parent to actor state 2018-11-15 16:29:57 +01:00
nsubiron 03baf21df6 Add empty lane detector and split server side vs client side sensors 2018-11-15 16:29:57 +01:00
Marc 60c97c4c14 Added Location::Distance(Location) functionality to the PythonAPI 2018-11-14 13:00:53 +01:00
nsubiron 503fedeb6b Merge branch 'master' into roads 2018-11-12 14:48:44 +01:00
nsubiron 2371246c5b Add HUD with info to manual_control.py 2018-11-09 11:15:27 +01:00
nsubiron b113b979ca Log vehicle control in world observer 2018-11-08 12:50:11 +01:00
nsubiron 7891a0b138 Add --safe argument to spawn_npc.py 2018-11-03 12:28:14 +01:00
nsubiron dca0bf86b0 First attempt at computing next waypoint 2018-11-03 12:26:19 +01:00
Marc 2b6e3057ea Added GetNearestLane 2018-11-02 17:40:45 +01:00
nsubiron 362d613c6c Fix camera position in vehicle_gallery.py 2018-10-31 14:08:38 +01:00
nsubiron f99fc82f4a Fix spawn_npc.py for Windows 2018-10-31 14:08:38 +01:00
nsubiron db4f5082ee Add lidar to manual_control.py 2018-10-31 14:08:38 +01:00
nsubiron c9952328c7 Improve spawn_npc.py 2018-10-31 14:08:38 +01:00
nsubiron eff9fa2ea6 Fix PythonAPI build on Windows 2018-10-29 11:32:32 +01:00
nsubiron 7649d677e3 Add script for spawning NPCs 2018-10-28 17:46:37 +01:00
nsubiron 92f8fe7fd6 Merge branch 'master' into roads 2018-10-28 11:35:42 +01:00
nsubiron 107b75c36b Add license and documentation to Python examples 2018-10-28 11:23:59 +01:00
nsubiron 6d1f3519ec Make possible to draw UE4 debug shapes from Python API 2018-10-28 10:19:30 +01:00
nsubiron bb0c9ffdbc Change Python examples to use the recommended spawn points 2018-10-26 19:19:17 +02:00
nsubiron 89f30ee49c Add save OpenDrive to disk 2018-10-26 19:19:17 +02:00
nsubiron 4e075ca1f1 Merge branch 'master' into com 2018-10-26 17:29:59 +02:00
nsubiron bf0685d115 Expose road maps to Python 2018-10-24 22:42:50 +02:00
nsubiron f824434a6b Add dynamic weather script 2018-10-22 19:29:21 +02:00
nsubiron 571f9363e1 Update python_api.md 2018-10-22 14:51:22 +02:00
nsubiron 44710c760d Workaround bounding boxes only for vehicles 2018-10-22 14:17:25 +02:00
nsubiron a8505a2fb7 Fix None is a reserved keyword in Python 3 2018-10-22 14:17:24 +02:00
nsubiron 4b11973627 Improvements to manual control 2018-10-22 00:30:35 +02:00
nsubiron c478eb039e Function to disable simulating physics on an actor 2018-10-21 23:39:58 +02:00
nsubiron 994110047e Fix set actor transform broken for attached actors 2018-10-21 23:38:14 +02:00