nsubiron
bc6b80fe90
One more assert
2019-03-29 17:47:30 +01:00
nsubiron
95afd66579
Uncrustify
2019-03-29 17:42:41 +01:00
nsubiron
8206ac335c
Fill MapBuilder with asserts
2019-03-29 17:41:55 +01:00
nsubiron
adb3583511
Remove unnecessary const_cast
2019-03-29 17:31:45 +01:00
nsubiron
6aa79c8298
Remove unnecessary file
2019-03-29 17:26:57 +01:00
nsubiron
84fafd38b2
Fix comment
2019-03-29 17:19:55 +01:00
nsubiron
d657297770
Remove unused stuff
2019-03-29 17:19:46 +01:00
nsubiron
ff1322abb6
Fix ObstacleDetectionEvent
2019-03-29 16:26:04 +01:00
nsubiron
db29652124
Convert floats to doubles and uncrustify
2019-03-29 16:15:35 +01:00
nsubiron
f139babcbc
Replace logging::log by log_debug
2019-03-29 15:56:44 +01:00
nsubiron
d9a9310370
Slightly more efficient
2019-03-29 15:42:59 +01:00
nsubiron
8efd233ffd
Fix comment
2019-03-29 15:42:10 +01:00
Manish
e2d3795239
Improving lane markings no rendering mode + small fix
2019-03-28 15:37:53 +01:00
Marc Garcia Puig
7b97f11959
Fixed not returning valid RoadMarks
2019-03-28 15:37:53 +01:00
Marc Garcia Puig
37110043cd
Now, WaypointInfoRoadMark can be None in Python
2019-03-28 15:37:53 +01:00
Manish
a953834f5e
roadmark binding in PythonAPI and adapted no rendering mode
2019-03-28 15:37:53 +01:00
Marc Garcia Puig
a5f7261f27
Added support for lane mark info on waypoint core
2019-03-28 15:37:53 +01:00
nsubiron
bad34f5fed
Increase "epsilon" to shift waypoints away from begin and end of lane sections
2019-03-27 18:00:08 +01:00
nsubiron
560c124dab
Merge branch 'master' into feature/new_opendrive_parser
2019-03-27 16:40:11 +01:00
nsubiron
19ce185c93
Move RoadInfoIterator to its own header
2019-03-27 15:00:53 +01:00
nsubiron
918109f010
Improve method documentation
2019-03-27 15:00:47 +01:00
nsubiron
e8e13239c8
Organize CMakeLists.txt files
2019-03-27 15:00:41 +01:00
nsubiron
5e0dc03181
Parse geo-reference
2019-03-27 15:00:33 +01:00
Pasch, Frederik
b3bac35fbe
LaneInvasionSensor stabilization
...
- Fix naming: Use 'LaneInvasionSensor'/'lane_invasion' instead of mixture with 'LaneDetector'/'lane_detector'
- Create server-side LaneInvasionSensor (to be able to access it via ROS bridge)
2019-03-27 11:05:19 +01:00
nsubiron
d657c7551c
Improve get_waypoint test
2019-03-26 17:29:40 +01:00
nsubiron
b039388828
Fix location check
2019-03-26 17:27:36 +01:00
nsubiron
da52ed0d0e
Shift waypoints away from lane section edges
2019-03-26 17:26:52 +01:00
Johannes Quast
9c0317a749
Fix ActorList.Filter(...) method
...
- change return type to SharedPtr<ActorList>
- this fixes tr1::bad_weak_ptr when using / iterating filtered list
2019-03-26 16:50:07 +01:00
nsubiron
7d0fa8bf41
Fix assert
2019-03-26 16:18:14 +01:00
nsubiron
de7d8a1848
Remove commented out code
2019-03-26 16:18:14 +01:00
Marc Garcia Puig
d8d399494e
Merge branch 'marcgpuig/opendrive' into jenkins/opendrive
2019-03-26 14:35:19 +01:00
Marc Garcia Puig
5272abf37b
Fixed Waypoint type search
2019-03-26 14:12:22 +01:00
nsubiron
93ef05ab2e
Improve iterate waypoints test
2019-03-26 02:12:15 +01:00
nsubiron
09a855f1b2
Add asserts
2019-03-26 01:53:10 +01:00
nsubiron
b8ccaf9651
Fix generate waypoints
2019-03-26 00:11:11 +01:00
nsubiron
515eba75ab
Add distance check
2019-03-26 00:10:39 +01:00
Marc Garcia Puig
dd4897faa4
Added lane types to API
2019-03-25 23:52:46 +01:00
nsubiron
ec3f2330ae
Improve iterate waypoints test
2019-03-25 23:18:25 +01:00
nsubiron
5d4dfca138
Make sure GetNext does not get zero distance
2019-03-25 23:18:25 +01:00
nsubiron
5acf722799
Allow creating a carla.Map from an XODR string
2019-03-25 23:18:25 +01:00
Marc Garcia Puig
5c9e317f04
Merge remote-tracking branch 'origin/opendrive_testing' into jenkins/opendrive
2019-03-25 18:12:33 +01:00
bernatx
448bbfc65f
Exposing lane section id to client API
2019-03-25 17:56:02 +01:00
Marc Garcia Puig
d8c72c1c18
Removed unnecessary function
2019-03-25 17:48:16 +01:00
Marc Garcia Puig
565d753505
Fixed Topology positive lanes
2019-03-25 17:39:18 +01:00
Marc Garcia Puig
9eebcefb3e
Merge remote-tracking branch 'origin/opendrive_testing' into jenkins/opendrive
2019-03-25 14:57:51 +01:00
bernatx
0ccd3c5fbb
Fixed the next section lane to go
2019-03-25 14:56:24 +01:00
Marc Garcia Puig
6cd3da7919
Fixed floating comparasion in assert
2019-03-25 13:44:04 +01:00
nsubiron
00d61d6a89
Add get waypoint test
2019-03-24 10:37:02 +01:00
Marc Garcia Puig
6c0f2a3405
Fixed tests
2019-03-23 22:30:01 +01:00
Marc Garcia Puig
cc96c4b81b
Fixed lane_id assert
2019-03-23 21:32:18 +01:00
Marc Garcia Puig
a9c10f76c0
Debug commit
2019-03-23 16:47:38 +01:00
Marc Garcia Puig
4e1275ef4c
backup with doubles
2019-03-22 23:50:45 +01:00
Marc Garcia Puig
9e3f69a00e
backup
2019-03-22 20:54:30 +01:00
Marc Garcia Puig
fa9828aced
Merge remote-tracking branch 'origin/opendrive_testing' into marcgpuig/opendrive
2019-03-22 16:54:09 +01:00
Marc Garcia Puig
a42ea2d8bf
Now GetClosestWaypointOnRoad returns a valid s
2019-03-22 15:32:42 +01:00
bernatx
7f62ce5af8
Now road has vector of next and previous roads
2019-03-22 15:32:40 +01:00
Marc Garcia Puig
5599d78892
Fixed the tangents again
2019-03-22 15:14:33 +01:00
Marc Garcia Puig
61234b731f
Merge remote-tracking branch 'origin/nsubiron/opendrive' into jenkins/opendrive
2019-03-22 13:21:37 +01:00
nsubiron
b8f9772022
Refactor to use section id and return by ref when possible
2019-03-22 13:08:42 +01:00
nsubiron
6c0371e4a1
Add section_id to waypoints
2019-03-22 13:08:42 +01:00
nsubiron
7dcbdbefbe
Add LaneSectionMap
2019-03-22 13:08:42 +01:00
nsubiron
5b9d6abc2a
Add Lane::GetLength
2019-03-22 13:08:42 +01:00
Marc Garcia Puig
120a62ad0b
Fixed an issue with DirectedPoint tangents
2019-03-22 13:08:37 +01:00
bernatx
b8856d658b
Add section.id to internal file
2019-03-22 12:50:22 +01:00
bernatx
122fc14470
Fixed previous lane pointers
2019-03-22 12:25:05 +01:00
Marc Garcia Puig
f53d218e85
Merge branch 'marcgpuig/opendrive' into jenkins/opendrive
2019-03-22 12:13:22 +01:00
Marc Garcia Puig
76b9a606d2
✨ GetNearestPoint & ComputeTransform work
2019-03-22 12:10:39 +01:00
nsubiron
efa0bf632d
Merge branch 'opendrive_testing' into jenkins/opendrive
2019-03-22 11:09:38 +01:00
Marc Garcia Puig
7d3dea5cbc
Fixed inversed waypoints
2019-03-21 21:49:51 +01:00
Marc Garcia Puig
f9dbee7ba6
Waypoints fixes, but still inverted for now
2019-03-21 21:13:00 +01:00
bernatx
17b3317bab
Added Id to LaneSections
2019-03-21 19:58:17 +01:00
Marc Garcia Puig
e9bd864426
Unreal's Y axis hack
2019-03-21 18:39:58 +01:00
bernatx
1d7250eed9
Minor changes
2019-03-21 18:30:02 +01:00
Manish
4d3698dcfa
remove old junctions test function
2019-03-21 14:14:47 +01:00
bernatx
f1c0e06593
Added road link test
2019-03-21 13:13:51 +01:00
Manish
afd1d99cbb
adding elevation and road mark parsing test
2019-03-21 12:52:11 +01:00
nsubiron
6de2406f3b
Better output on test failure
2019-03-21 12:48:47 +01:00
Marc Garcia Puig
0d9f201702
Fixed few assert errors
2019-03-21 12:42:58 +01:00
Marc Garcia Puig
ba04f0b9d7
Merge remote-tracking branch 'origin/marcgpuig/opendrive' into jenkins/opendrive
2019-03-21 12:11:54 +01:00
Marc Garcia Puig
8160d06b1e
Added GetLaneWidth() and GetMarkRecord()
2019-03-21 12:08:53 +01:00
nsubiron
4b6e1ce8b3
Try fix GetLaneSectionsAt
2019-03-21 12:03:58 +01:00
nsubiron
af436ef260
Increase version of test content
2019-03-21 12:03:58 +01:00
nsubiron
3ca71ec7d6
Add IsValid function for waypoints
2019-03-21 12:00:10 +01:00
nsubiron
47d8396d30
Making MapData only public in testing
2019-03-21 10:50:08 +01:00
nsubiron
547cb45e9c
Add iterate waypoints test
2019-03-21 10:49:16 +01:00
Manish
a8d6fb4b01
renamed file to test_opendrive
2019-03-21 10:12:44 +01:00
Marc Garcia Puig
22c26aed15
Merge remote-tracking branch 'origin/nsubiron/opendrive' into jenkins/opendrive
2019-03-20 21:37:32 +01:00
Marc Garcia Puig
e75c3750dd
Added informations to final data and fixed tests
2019-03-20 21:14:01 +01:00
Marc Garcia Puig
4ded71e4f3
Merge remote-tracking branch 'origin/opendrive_testing' into jenkins/opendrive
2019-03-20 20:29:32 +01:00
bernatx
f407e2ca5a
Add center lane 0 in parser
2019-03-20 20:27:43 +01:00
nsubiron
5f0c9c8ed2
Refactor RoadInfo classes
2019-03-20 19:09:11 +01:00
Marc Garcia Puig
f21f7830f1
Merge remote-tracking branch 'origin/opendrive_testing' into jenkins/opendrive
2019-03-20 19:03:00 +01:00
Manish
4a5096699e
Added Map getter for tests
2019-03-20 19:02:02 +01:00
Manish
38244345aa
adding tests
2019-03-20 18:51:22 +01:00
bernatx
4e194a5a44
Fixes and Tests
2019-03-20 18:38:37 +01:00
Marc Garcia Puig
feec92823c
Added GaeWaypoint
2019-03-20 18:35:40 +01:00
Marc Garcia Puig
8eae0ae652
Merge branch 'marcgpuig/opendrive' into jenkins/opendrive
2019-03-20 12:58:00 +01:00
Marc Garcia Puig
a4a53e7bd6
Added waypoint transform functions
2019-03-20 12:56:26 +01:00
nsubiron
093038f9c2
Add build options to CMake cache
2019-03-20 12:36:25 +01:00
nsubiron
424441d72c
Add unit tests for xodr files
2019-03-19 22:41:42 +01:00
nsubiron
56fc5f97de
Merge branch 'bernatx/opendrive2' into jenkins/opendrive
2019-03-19 20:49:28 +01:00
bernatx
650231707d
Creating tests for opendrive
2019-03-19 20:48:55 +01:00
Marc Garcia Puig
16ebb59248
Merge remote-tracking branch 'origin/nsubiron/opendrive' into marcgpuig/opendrive
2019-03-19 18:52:31 +01:00
Marc Garcia Puig
02fc027647
Added GetNearestLane
2019-03-19 18:52:24 +01:00
nsubiron
e7a4415394
Reorganize road::Map and implement some more functions
2019-03-19 17:56:11 +01:00
nsubiron
dfe25de701
Implement CalculateCrossedLanes
2019-03-19 17:21:04 +01:00
nsubiron
5aa5161f40
Implement GetRight and GetLeft
2019-03-19 17:07:02 +01:00
nsubiron
72a8f84552
Pass Waypoints by value
2019-03-19 17:01:08 +01:00
bernatx
dce1c9940f
Half Fix merge
2019-03-19 16:26:07 +01:00
bernatx
96d4af98b2
Merge
2019-03-19 16:25:39 +01:00
nsubiron
633f7d7348
road::Map, throw exceptions instead of asserts
2019-03-19 16:19:02 +01:00
bernatx
d27b6e8e3b
Change doubles by float
2019-03-19 16:18:42 +01:00
Manish
27f274b9cd
adding road elevation funcs in map builder and changed double to float
2019-03-19 16:11:19 +01:00
nsubiron
0b119a5186
Fix functor not perfect forwarded
2019-03-19 16:05:03 +01:00
bernatx
cb2c16bdf2
Fix the merge
2019-03-19 15:47:35 +01:00
Marc Garcia Puig
ec7101d9fb
Added GetLanesAt
2019-03-19 15:46:21 +01:00
bernatx
0a17bc2ffa
Merge
2019-03-19 15:23:47 +01:00
bernatx
882cb218c3
Compiling state, before testing
2019-03-19 14:32:36 +01:00
Marc Garcia Puig
e3987ca546
Few code refactoring
2019-03-19 12:15:01 +01:00
nsubiron
35545f224a
Merge branch 'master' into marcgpuig/opendrive
2019-03-19 11:42:02 +01:00
Aidan Clear
0c7a89552e
Updating map builder add road mark type lane to parent list and making Road InfoIterator use unique pointers
2019-03-19 11:38:55 +01:00
Manish
516e4cb16a
Added line and arc geometry to temporal road info
2019-03-19 11:30:41 +01:00
Marc Garcia Puig
e88dc61779
Implemented more functions
2019-03-19 11:30:20 +01:00
nsubiron
c6fe68e94b
Comment out for now unused functions
2019-03-18 19:06:21 +01:00
nsubiron
39ccefddfa
Implement GetNext
2019-03-18 18:57:42 +01:00
nsubiron
1cc4a7ed01
Implement GetSuccessors
2019-03-18 18:47:14 +01:00
nsubiron
171de59730
Implement GenerateWaypoints
2019-03-18 18:13:11 +01:00
nsubiron
6447d5dc1a
Implement GetTopology with new API
2019-03-18 18:13:11 +01:00
nsubiron
9368891bb0
Add const versions of the methods at Iterator.h
2019-03-18 18:12:55 +01:00
Marc Garcia Puig
32d86e685d
Added GetLanesOfType()
2019-03-18 17:14:49 +01:00
Marc Garcia Puig
ecd5fb4b42
Added RoadInfoGeometry
2019-03-18 17:13:59 +01:00
Manish
9e4a638117
filling temporal map with lane information
2019-03-18 16:06:39 +01:00
bernatx
1bb4e11699
Mixing all
2019-03-18 15:39:03 +01:00
Marc Garcia Puig
15637e2748
Added more queries to MapData
2019-03-18 13:18:42 +01:00
Manish
68920485be
some more small fixes
2019-03-18 13:12:41 +01:00
Manish
ae672bbfc7
small refactor
2019-03-18 12:51:27 +01:00
Daniel
0302b44bf5
Fixed getters for signals
2019-03-18 11:15:12 +01:00
nsubiron
f9b2b10b02
Avoid inlining logging functions
2019-03-18 10:33:33 +01:00
nsubiron
6cc90cea77
Use noexcept when possible
2019-03-18 10:33:04 +01:00
bernatx
1f896656c5
Functions to get address of a Lane
2019-03-18 09:53:56 +01:00
Marc Garcia Puig
58254c3ba1
Merge remote-tracking branch 'origin/nsubiron/opendrive' into marcgpuig/opendrive
2019-03-15 21:09:01 +01:00
Marc Garcia Puig
ca3b7e3c22
GetLane with multiple LaneSection per 's' support
2019-03-15 21:05:33 +01:00
Daniel
9025b7fa00
Signal parser
2019-03-15 19:44:27 +01:00
nsubiron
3709152989
Use StringUtil::ToLower
2019-03-15 19:28:50 +01:00
Aidan Clear
5f82b80b2a
Updating and adding new lane record classes. Updating map builder to create instances of these classes for the parser
2019-03-15 19:09:06 +01:00
Manish
cab00065d2
Added lane parser and map builder functions
2019-03-15 18:44:34 +01:00
Marc Garcia Puig
08a27ced6a
Fixed build
2019-03-15 18:42:35 +01:00
nsubiron
d8e0ce15ff
Remove road::WaypointGenerator, move its functionality into road::Map
2019-03-15 18:32:36 +01:00
nsubiron
e0b472f262
Use std::hash<Waypoint> to build topology
2019-03-15 18:32:36 +01:00
nsubiron
a25629f1d5
Replace WaypointHash with std::hash<Waypoint>
2019-03-15 18:32:36 +01:00
Marc Garcia Puig
34b9ada5bb
Merge remote-tracking branch 'origin/manishthani/junction_parser' into marcgpuig/opendrive
2019-03-15 18:32:01 +01:00
bernatx
5f10196739
Version that compiles with Road, LaneSections and Lanes
2019-03-15 18:04:26 +01:00
Manish
cd1c29c42e
junction data structure filled inside map builder
2019-03-15 14:59:04 +01:00
nsubiron
db1addc378
Fix #1381 , make sensors use timestamp from UCarlaEpisode
2019-03-15 14:39:23 +01:00
Daniel
e69b95c60a
ObjectParser
2019-03-15 13:01:46 +01:00
nsubiron
f0d3fd78f1
Pass buffers by r-value reference whenever possible
2019-03-15 12:55:57 +01:00
Manish
7643544e37
added junction name in map builder
2019-03-15 12:51:44 +01:00
Marc Garcia Puig
6de4a139d6
Added getter func for roads and lanes
2019-03-15 12:51:13 +01:00
Manish
c6542d2c64
Added junction parser and map builder functions
2019-03-15 12:28:00 +01:00
Marc Garcia Puig
4710c2d05f
Removed unnecessary consts
2019-03-15 10:53:36 +01:00
Marc Garcia Puig
a8c04c0ec8
Now compiles
2019-03-14 20:18:22 +01:00
Marc Garcia Puig
ff9762736c
Merge remote-tracking branch 'origin/dnovillo/signal-parser' into marcgpuig/opendrive
2019-03-14 20:05:43 +01:00
bernatx
836bf7e9ac
Geometry and Profile parsers
2019-03-14 19:38:28 +01:00
Daniel
ff253089fa
Added AddValidity method
2019-03-14 19:30:29 +01:00
Daniel
c22867ab56
ObjectParser first version
2019-03-14 19:30:17 +01:00
Daniel
67a2abceff
Improved code
2019-03-14 19:30:09 +01:00
Daniel
ccb529ef97
SignalParser and TrafficGroupParser
2019-03-14 19:30:01 +01:00
bernatx
1b6f00c733
RoadLinkParser done
2019-03-14 19:23:20 +01:00
Marc Garcia Puig
4719435069
Data structure added
2019-03-14 19:18:43 +01:00
Marc Garcia Puig
b8140fe1d2
Merge remote-tracking branch 'origin/nsubiron/opendrive' into marcgpuig/opendrive
2019-03-13 22:14:28 +01:00
nsubiron
13d7d72ec7
Proposal for interface of road::Map and road::element::Waypoint
2019-03-13 20:29:45 +01:00
Aidan Clear
d6f7ff2241
Just removing id as an arg from constructor. Forgot to remove it
2019-03-13 19:52:26 +01:00
Aidan Clear
bad72db260
Adding and modifying structs for lane and road parsing
2019-03-13 18:41:19 +01:00
Marc Garcia Puig
575e3886cf
Changed location of pugi library
2019-03-13 18:38:15 +01:00
Marc Garcia Puig
5949f2b9e2
Restructured code
2019-03-13 18:37:45 +01:00
nsubiron
e9d22073c7
Split LibCarla build into debug and release
2019-03-13 17:18:47 +01:00
nsubiron
39ec79ead2
Remove profiler from libcarla_client
2019-03-13 16:51:31 +01:00
nsubiron
04ccec5c45
Fix LibCarla recompiles after each commit
2019-03-13 16:51:31 +01:00
Pasch, Frederik
3d2e08611e
Add time to SensorData
2019-03-13 16:07:31 +01:00
nsubiron
84b801c4f3
Add missing include
2019-03-12 20:45:13 +01:00
nsubiron
c680ee9246
Fix missing include
2019-03-12 14:02:17 +01:00
nsubiron
c7a38e1c77
Pass buffers by r-value reference whenever possible
2019-03-11 23:50:25 +01:00
nsubiron
77ee0382e5
Fix narrowing conversion in Buffer
2019-03-11 23:48:42 +01:00
Néstor Subirón
cff355e1c3
Merge branch 'master' into localhost
2019-03-11 19:03:50 +01:00
nsubiron
89161775a4
Add s property to waypoints
2019-03-11 17:33:11 +01:00
nsubiron
6a6254fd5e
Add unique ID for waypoints based on their position on the road
2019-03-11 17:33:03 +01:00
nsubiron
1a081e8f67
Add method to Map to transform Location to GeoLocation
2019-03-11 14:37:48 +01:00
Johannes Quast
63056910db
Fix resolving host "localhost"
2019-03-11 10:33:54 +01:00
Johannes Quast
2cfe7ad136
Resolve hostname for streaming client
...
- Allows usage of hostnames instead of IP addresses only
with carla::Client
2019-03-04 08:56:58 +01:00
nsubiron
cf6e9bbbed
Fix Windows build
2019-03-01 17:46:55 +01:00
Marc Garcia Puig
c012b48e73
Old GetLaneWidth now using new parsed lane width
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
94dde71c7f
Few revision fixes
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
3e6fb728ed
Using the old lane positioning for junction waypoints
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
a241e133f4
Now the waypoint position is correctly computed
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
5490c2dd68
Added Cubic polinomial helper class
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
c4c8ac886d
Improved lane changing functions
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
7e0d570e1c
Now all the roadmarks are parsed + added lane type to waypoint API.
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
7bbc894ed7
Added material to the lane parser
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
43a9908b73
Searching for lanes now is O(1) and not O(n)
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
a66dff8669
Extended waypoint API core to accept lane changes
2019-03-01 02:36:17 +01:00
nsubiron
43ead32787
Increase default time-out
2019-03-01 00:15:58 +01:00
nsubiron
8b3489fc88
Add attribute to vehicles to control whether control is sticky
2019-03-01 00:15:58 +01:00
nsubiron
b8ec3e2c1c
Allow streaming server connecting to random available port (port 0)
2019-03-01 00:15:58 +01:00
nsubiron
2696c9684e
Fix #784 , add methods for sending commands in batch
2019-03-01 00:15:58 +01:00
nsubiron
fd4d8959f5
Change more rpc bindings to accept rpc::ActorId instead of rpc::Actor
2019-03-01 00:15:58 +01:00
nsubiron
94ce35dd31
Change rpc bindings to accept rpc::ActorId instead of rpc::Actor when only the id is needed
2019-03-01 00:15:58 +01:00
nsubiron
365eecbb7f
Rename actor_id_type to ActorId
2019-03-01 00:15:58 +01:00
nsubiron
1378d7c3cf
Fix synchronization issues when changing episode
2019-03-01 00:15:58 +01:00
nsubiron
579d93e61f
Change episode in client-side if server changed episode by checking world observer message
2019-03-01 00:15:58 +01:00
nsubiron
691fecd15f
Improve wait for newly loaded maps, ignore time-outs
2019-03-01 00:15:58 +01:00
nsubiron
8fb6197a79
Add a method for getting the list of available maps in Python API
2019-03-01 00:15:58 +01:00
nsubiron
5210cd71f0
Make load map methods const
2019-03-01 00:15:58 +01:00
nsubiron
3ec2483316
Add acceleration and delta-time to world observer message to make data self contained
2019-03-01 00:15:58 +01:00
nsubiron
bcc44c97fb
Fix synchronization issues when changing episode
2019-03-01 00:15:58 +01:00
nsubiron
d331f6969b
Improve checks when the episode changed
2019-03-01 00:15:58 +01:00
nsubiron
6bb2feb9b1
Fix #1272 , allow changing the map from client-side
2019-03-01 00:15:58 +01:00
nsubiron
5da183e4c5
Change episode in client-side if server changed episode by checking world observer message
2019-03-01 00:15:58 +01:00
nsubiron
5b7098a67c
Remove map_name from world
2019-03-01 00:15:58 +01:00
nsubiron
461bd5b1c6
Fix possible unwanted exception thrown on a thread
2019-03-01 00:15:58 +01:00
nsubiron
036bc22ae4
Include episode id on world observer message
2019-03-01 00:15:58 +01:00
nsubiron
aa818cdc67
Make episodes have a random unique id to avoid collisions between runs
2019-03-01 00:15:58 +01:00
nsubiron
532355dbf9
Fix client stuck after requesting map on sync mode
2019-03-01 00:15:58 +01:00
nsubiron
fe2ebc527c
Allow changing episode settings at runtime (sync mode and no-rendering mode)
2019-03-01 00:15:58 +01:00
nsubiron
e90e82cc81
Fix #1244 , make simulator wait for client cue each tick if sync mode is enabled
2019-03-01 00:15:58 +01:00
nsubiron
43ed758fb8
Fix #1258 , add FCarlaEngine to ensure tick order
2019-03-01 00:15:58 +01:00
Néstor Subirón
1798e57ef9
Merge branch 'master' into autogenerate-map-commandlet
2019-02-28 16:08:48 +01:00
nsubiron
6789783a17
Merge branch 'master' into bernatx/Recorder
2019-02-28 15:17:18 +01:00
bernatx
b7be0c67d3
Changes for the Pull Request
2019-02-28 12:37:02 +01:00
Daniel
e7a5f870f3
Added Traffic Signs
2019-02-27 20:01:23 +01:00
Daniel
59ea5589e0
Import now work with custom traffic lights and groups
2019-02-27 20:01:23 +01:00
Aidan Clear
5cbde4d5a9
Updating api to allow retrieval of traffic pole index and the other traffic lights in a group from a traffic light
2019-02-27 18:48:40 +01:00
nsubiron
3e93782c98
Expose traffic sign's trigger volumes on Python API
2019-02-27 17:47:36 +01:00
Néstor Subirón
3f80ebcf0a
Merge branch 'master' into feature/fixGeoReferenceParsing
2019-02-27 13:14:29 +01:00
Néstor Subirón
0e7e1b0b91
Merge branch 'master' into new_expose_vehicle_physics
2019-02-27 12:29:58 +01:00
Marc Garcia Puig
f0273d5465
Merge branch 'master' into marcgpuig/windows_build
2019-02-27 11:50:57 +01:00
Pasch, Frederik
381f03a9a0
fix parsing of OpenDrive geoReference exported by RoadRunner
2019-02-26 19:34:31 +01:00
manishthani
a49e14997e
Merge branch 'master' into new_expose_vehicle_physics
2019-02-26 14:56:05 +01:00
Manish
4cbd6311e6
changed some default params
2019-02-25 21:36:50 +01:00
Manish
5eb4561a38
refactoring code
2019-02-25 20:41:54 +01:00
Manish
dcc0cc4f1d
Added default params and refactored
2019-02-25 13:16:57 +01:00
bernat
98492c592d
Merge branch 'master' into bernatx/Recorder
2019-02-25 12:16:06 +01:00
Manish
333fe4546d
refactored code
2019-02-25 11:17:16 +01:00
Manish
12fd0178e5
Improved test, removed inertia tensor scale, fixed bindings and center of mass
2019-02-24 19:47:35 +01:00
nsubiron
6abcb692e2
Fix #1151 , wait for tick after subscribing to world observer
2019-02-22 19:17:26 +01:00
nsubiron
27619b5c4c
Improve time-out messages
2019-02-22 19:17:26 +01:00
Manish
01ecabc0e0
simplified get and set of center of mass and extended test
2019-02-21 11:20:32 +01:00
Manish
4df5da8620
Added center of mass and huge refactor of bindings
2019-02-20 19:25:16 +01:00
bernatx
737431735c
Adding collision events and a few more features to the recording system
2019-02-20 14:51:33 +01:00
Manish
c6f618090b
Removed hack for controlling physics params, found a better way
2019-02-19 20:38:43 +01:00
Manish
0b235ad0cc
Added Vector2D and changed curves to list of Vector2D
2019-02-19 14:14:06 +01:00
Manish
adb2f50158
Added wheels physics control
2019-02-18 20:54:24 +01:00
Manish
f9255b9544
Working on wheel physics and changed call from world to each actor
2019-02-18 19:16:13 +01:00
Manish
0c8839ccb6
we can now set physics params of vehicles
2019-02-18 11:39:32 +01:00
Manish
6547535a71
Added constructor of VehiclePhysicsControl in PythonAPI
2019-02-18 10:53:29 +01:00
bernatx
12dd144400
Moved Recorder code from LibCarla to Unreal
2019-02-15 13:06:32 +01:00
Manish
89ed858cd9
Added vehicle engine setup params
2019-02-15 10:54:25 +01:00
Manish
b882efe8e3
exposing torque curve of vehicle physics working
2019-02-14 19:33:24 +01:00
Marc Garcia Puig
4b511113e4
Fixed image test for Linux
2019-02-12 15:06:28 +01:00
Marc Garcia Puig
5ef2148e73
Win build now copies the headers and libs of the new dependencies
2019-02-12 15:06:27 +01:00
Marc Garcia Puig
1e5d87878e
Added zlib and libpng to Win setup, PythonAPI now compiles on Win
2019-02-12 15:06:27 +01:00
bernatx
06d486f22a
Some Pull Request fixes
2019-02-11 19:15:28 +01:00
bernatx
525293850a
Fixing problem with dynamic Id of TrafficLights
2019-02-11 16:42:14 +01:00
bernatx
1985ab683f
Adding traffic light state to recorder. Also other fixes.
2019-02-08 15:30:22 +01:00
bernatx
cedf9c1bfa
Fixing merge with master
2019-02-06 17:24:09 +01:00
bernatx
3824e4d616
Manual_control script with recording/replayer functionality
2019-02-06 12:40:35 +01:00
bernatx
41e53d528b
Added parenting and negative times to start a time from the end
2019-02-06 12:18:30 +01:00
bernatx
561895280a
Adding general info to the recorder file, and removing velocity data
2019-02-06 12:17:10 +01:00
bernatx
0a6ecf4349
Basic recording/replayer functionality
2019-02-06 12:14:22 +01:00
bernatx
7d9ccf8c18
Adding Replayer (but with callback problem)
2019-02-06 12:11:38 +01:00
bernatx
80ebdbf945
First version of recorder (logger), only capture.
2019-02-06 11:47:48 +01:00
nsubiron
7dfbe396d0
Conversions between Vector3D and Location in Python API
2019-02-05 18:29:41 +01:00
nsubiron
82d36872fc
Do not try to destroy lane detector as it does not exist in the simulator
2019-01-31 14:18:56 +01:00
Néstor Subirón
0e8ca5064b
Merge branch 'master' into tl_api
2019-01-30 14:40:21 +01:00
Aidan Clear
fc73946e73
Fixing indent issue
2019-01-30 11:48:40 +01:00
Aidan Clear
faac288002
Prettyfying the files in response to review
2019-01-30 11:20:23 +01:00
Daniel
1334116a98
Optimization
2019-01-29 19:51:51 +01:00
Daniel
93a30cda52
Optimization of ObstacleDetectionEvent
2019-01-29 19:43:37 +01:00
Daniel
79b7e39196
Moved code from Sensor to ActorBlueprintFunctionLibrary
...
Added documentation
Minor code improvements
2019-01-29 19:21:34 +01:00
Aidan Clear
cb6c57d24e
Merge branch 'master' into tl_api
2019-01-29 13:07:48 +00:00
Daniel Novillo Villarejo
5a31efe298
Obstacle detector for vehicles or everything
2019-01-29 12:44:22 +01:00
Daniel Novillo Villarejo
91e9ee8200
Basic sensor setup for ObstacleDetectionSensor
2019-01-29 12:44:22 +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
nsubiron
98a515537a
Minor fixes
2019-01-28 19:13:56 +01:00
nsubiron
027362bb48
Refactor the server to always return a Response object, move some functionality to UCarlaEpisode
2019-01-27 13:34:57 +01:00
nsubiron
1683bd66a0
Split test rpc and msgpack
2019-01-26 18:45:26 +01:00
nsubiron
7a9b1f08d9
Remove throws from MsgPackAdaptors
2019-01-26 18:44:40 +01:00
nsubiron
1f34cf33b7
Add more info to actor view, including serialized data
2019-01-26 18:31:15 +01:00
nsubiron
4e70097c4b
Add Response class
2019-01-26 18:31:15 +01:00
nsubiron
0371620a36
Replace Optional by boost::optional and add adaptors for serialization
2019-01-26 18:31:15 +01:00
nsubiron
8296b50aec
Fix serialization of boost::variant
2019-01-26 18:31:15 +01:00
nsubiron
8778cd6a4a
Adjust streaming benchmark, failing on laptop
2019-01-26 17:56:07 +01:00
nsubiron
3f29c40530
Add exceptions back to Buffer
2019-01-26 17:42:53 +01:00
nsubiron
6ff8784f16
Compile server pipeline with -fno-exceptions, split unit tests for client and server
2019-01-26 17:27:14 +01:00
nsubiron
d0137fecc7
Replace uses of throw by carla::throw_exception
2019-01-26 16:10:52 +01:00
nsubiron
459d75568a
Add carla::throw_exception function to re-route exceptions
2019-01-26 15:59:17 +01:00
nsubiron
8e6406cf78
Suppress deprecated header warning
2019-01-26 14:32:04 +01:00
nsubiron
81e41bbb2f
Fix assert placed in wrong place
2019-01-26 14:31:35 +01:00
nsubiron
e231d71f18
Clear expired streams
2019-01-26 14:31:35 +01:00
nsubiron
bd398acf28
#1119 make sure streams are discarded when the sensor is destroyed
2019-01-26 14:31:35 +01:00
bernatx
21bf92c5af
Removed 'add_force' command, and little fixes.
2019-01-24 18:57:38 +01:00
bernatx
c360d1407b
Adding conversion for meter / centimeter for Vector3D
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
Marc Garcia Puig
2b99e46954
Fixed OpenDriveActor bug on multiple lane junctions
2019-01-24 12:58:15 +01:00
nsubiron
6c8499c8c9
Upgrade to UE4.21
2019-01-23 18:57:26 +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
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
656aba71ec
Rename apply_control_to_actor to apply_control_to_vehicle
2019-01-22 19:54:57 +01:00
nsubiron
25bc958e78
Upgrade Boost dependencies and image IO to Boost 1.69
2019-01-22 11:52:22 +01:00
nsubiron
5295261aca
Add forward vector to rotations and transforms
2019-01-17 11:41:14 +01:00
nsubiron
0bcefc0ffd
Clean up geom files
2019-01-17 11:36:56 +01:00
nsubiron
5714f69243
Minor print out fix
2019-01-10 16:49:04 +01:00
manishthani
4e341b2b9f
Refactoring according to reviewable
2019-01-10 14:03:11 +01:00
manishthani
3de574af36
Any type of point can be transformed
2019-01-09 17:41:01 +01:00
manishthani
4e2b0b891d
Removed useless function
2019-01-08 12:44:54 +01:00
manishthani
7a163c2320
Extended functionality of point transforms
2019-01-08 11:19:12 +01:00
nsubiron
4661c24899
Add find function to actor list
2018-12-16 00:05:15 +01:00
nsubiron
e464913014
Update cameras and sensors documentation
2018-12-15 17:35:04 +01:00
marcgpuig
f50c2f49f2
Added rotation to waypoints acordin to elevation
2018-12-13 19:31:37 +01:00
marcgpuig
52429a3e94
Now the waypoint elevation works within the Python API
2018-12-13 19:31:37 +01:00
marcgpuig
a0cbf1dfb2
Added elevation in OpenDriveActor
2018-12-13 19:31:37 +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
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
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
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
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