Commit Graph

1897 Commits

Author SHA1 Message Date
Néstor Subirón e6d09fb7f4
Merge branch 'master' into use_env_python 2018-12-05 16:52:43 +01:00
Praveen Palanisamy db2cfc348b CI --> TRAVIS 2018-12-05 09:30:47 -05:00
Praveen Palanisamy eb1e32b6e0 Use bjam user-config for travis builds alone 2018-12-04 12:57:57 -05:00
marcgpuig 4b998bbebc Major improvment on OpenDriveActor usage 2018-12-04 16:23:20 +01:00
Néstor Subirón bc5a3edd3d
Merge pull request #1008 from berndgassmann/extend_python_interface
Provide parent/attribute content of Actors via python interface
2018-12-03 15:24:56 +01:00
Néstor Subirón 03132fc264
Merge branch 'master' into extend_python_interface 2018-12-03 14:49:01 +01:00
marcgpuig cbd28cc5d1 Fixed package making + formating to UE4's standard 2018-12-03 11:00:49 +01:00
Marc Garcia Puig 8e762850cd Fixed an issue where the OpenDrive was generated twice 2018-11-30 21:09:47 +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 d504306538 Move ROS bridge folder to its own repo 2018-11-30 15:07:58 +01:00
Praveen Palanisamy 330febeb07 Update to use project specific bjam config instead of overriding bjam user config 2018-11-29 12:03:43 -05:00
Néstor Subirón fd54b3ccf7
Merge pull request #988 from carla-simulator/fix_win32_compilation
Fix win32 compilation
2018-11-28 15:30:35 +01:00
Néstor Subirón 6be72dd26a
Merge branch 'master' into fix_win32_compilation 2018-11-28 14:56:09 +01:00
Néstor Subirón f84d46007c
Merge pull request #957 from praveen-palanisamy/verbose_travis
Append to Travis build logs instead of over-writing
2018-11-28 14:53:44 +01:00
Néstor Subirón 1be6b86c50
Merge branch 'master' into verbose_travis 2018-11-28 14:23:54 +01:00
Marc Garcia Puig 1d1953f347 Even fewer dependencies in Carla.h 2018-11-27 18:08:01 +01:00
Fabian Oboril f00f350ca3 Change cmake version from 3.9 to 3.5
No feature of cmake newer than 3.5 is used. Therefore, we can use
cmake 3.5, which is also standard in Ubuntu 16.04, whereas cmake 3.9
is non-standard.
2018-11-20 14:26:48 +01:00
iFuSiiOnzZ ad91270ab8 Remove "function X" not found error
Depending on the include header sometimes the error is  {instrinsic funtion} is not a member of {class name} and other times it seems some Unreal functions as GetObject was replaced by the GetObjectW macro.
2018-11-19 11:02:07 +01:00
iFuSiiOnzZ 3583f895af Add missing includes for enable/disable UE4 macros 2018-11-19 10:52:54 +01:00
nsubiron cddb98282c Increase version and update changelog 2018-11-16 13:29:40 +01:00
nsubiron 1de6af646f Update Content link 2018-11-15 20:22:28 +01:00
nsubiron e9c75a9522 Update python_api.md 2018-11-15 20:22:28 +01:00
nsubiron 4c9aec0764 Small fixes to manual_control.py 2018-11-15 20:22:28 +01:00
nsubiron 3072fcb2be Add missing license notices 2018-11-15 16:49:40 +01:00
nsubiron 25099dc23f Missing pragma once 2018-11-15 16:49:40 +01:00
nsubiron 0be794736f Uncrustify 2018-11-15 16:49:40 +01:00
nsubiron 1340051b2d Fix #969, wrong CityScapes color for road lines 2018-11-15 16:49:40 +01:00
nsubiron 31f311c6f5 Ignore intersections for lane crossing 2018-11-15 16:45:35 +01:00
nsubiron 33ca4dbf0a Workaround for crash when destroying parent of lane detector 2018-11-15 16:45:35 +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 04c76acd7a Rename Waypoint's GetTransform to ComputeTransform 2018-11-15 16:45:34 +01:00
nsubiron 13368d8d6d Add WaypointGenerator class 2018-11-15 16:45:34 +01:00
nsubiron a4fda4213b Refactor MapData 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
marcgpuig ddc4d79dc3 Fixed release test for Vector3D 2018-11-15 16:28:09 +01:00
marcgpuig 0d7e1d96f6 Little optimization on DistArcPoint 2018-11-15 16:01:41 +01:00
marcgpuig df48b68391 MakeUnitVector have an assert if the length is really small or 0 2018-11-15 15:55:20 +01:00
marcgpuig 8f7cecc6ca Added Math.cpp + small improvement on what return some of the functions 2018-11-15 15:03:59 +01:00
marcgpuig d24ebbe7be Small fix on Location's Distance() 2018-11-15 15:02:06 +01:00
Marc 903701979e Improved GetNearestLane function 2018-11-15 13:15:32 +01:00
Marc 73dee62089 Fixed bug caused by floating point error 2018-11-14 20:58:02 +01:00
Marc 49f495d946 Fixed DistArcPoint on negative curvatures 2018-11-14 14:48:09 +01:00
Marc 60c97c4c14 Added Location::Distance(Location) functionality to the PythonAPI 2018-11-14 13:00:53 +01:00