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
Praveen Kumar
a86d37f477
Modified router to work with new waypoints API
2019-03-28 19:31:55 +05:30
Praveen Kumar
1b04100b22
Appropriately ending waypoint trace
2019-03-28 19:31:55 +05:30
Praveen Kumar
1c11fae26a
Global router waypoint generation implemented
...
independently of global plan generation
Note: waypoint generation also includes plan details but it is generated using waypoints,
Not the other way round
2019-03-28 19:31:55 +05:30
Praveen Kumar
31b80f86ac
Checkpoint ! Major code overhauling ahead.
2019-03-28 19:31:55 +05:30
Praveen Kumar
acd5ce0127
Basic agent integration and code overhauled
...
* Split basic agent functionality into sensible private methods
* Fixed global router intersection verifier to work with lane change edges
2019-03-28 19:31:55 +05:30
Praveen Kumar
b854ed0851
Global router overhauled
...
* Enabled support for 3d localization and routing
* Added graph representation for lane change
* Overhauled code to make use of carla objects as much as possible
EOD commit
2019-03-28 19:31:55 +05:30
Praveen
106d3e116c
* Fixed false red signal detection
...
* Fixed route interpretation logic
EOW work desktop commit
2019-03-28 19:31:55 +05:30
Praveen
1530144f71
* Fixed round about path overlap issue
...
* Fixed intersection identification issue
EOW Work Desktop Commit
2019-03-28 19:31:55 +05:30
Praveen
8a876d7d75
Fixed intersection ignore issue on town 03
2019-03-28 19:31:55 +05:30
nsubiron
560c124dab
Merge branch 'master' into feature/new_opendrive_parser
2019-03-27 16:40:11 +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
Marc Garcia Puig
53d811ba16
Merge remote-tracking branch 'origin/manishthani/no_rendering_opendrive' into jenkins/opendrive
2019-03-26 15:25:12 +01:00
Marc Garcia Puig
fd45428933
Updated no_rendering_mode
2019-03-26 15:24:16 +01:00
Marc Garcia Puig
d8d399494e
Merge branch 'marcgpuig/opendrive' into jenkins/opendrive
2019-03-26 14:35:19 +01:00
Manish
5da0350ea9
scene layout for new opendrive
2019-03-26 14:30:04 +01:00
Marc Garcia Puig
5272abf37b
Fixed Waypoint type search
2019-03-26 14:12:22 +01:00
Manish
abf67f0ddc
Fixed lane markings for no rendering mode
2019-03-26 12:31:58 +01:00
Marc Garcia Puig
0149a86037
Merge remote-tracking branch 'origin/manishthani/no_rendering_opendrive' into marcgpuig/opendrive
2019-03-25 23:55:27 +01:00
Marc Garcia Puig
dd4897faa4
Added lane types to API
2019-03-25 23:52:46 +01:00
nsubiron
5acf722799
Allow creating a carla.Map from an XODR string
2019-03-25 23:18:25 +01:00
Jose Carlos Ferrugem
e92f944ec6
the type was not there anyway
2019-03-25 15:58:11 -04:00
Jose Carlos Ferrugem
180d6262a5
adding the type of the prop
2019-03-25 15:58:11 -04:00
Jose Carlos Ferrugem
3f400aef75
fixing typo
2019-03-25 15:58:11 -04:00
Felipe Codevilla
45536b2ce5
scena layout
2019-03-25 15:58:11 -04:00
Felipe Codevilla
60c61f9880
scene layout adding static props
2019-03-25 15:58:11 -04:00
Manish
ec5a4bc72b
Adapted no rendering to new opendrive
2019-03-25 20:29:32 +01:00
bernatx
448bbfc65f
Exposing lane section id to client API
2019-03-25 17:56:02 +01:00
nsubiron
889b998336
Include scene_layout.py in package
2019-03-22 16:04:11 +01:00
Pasch, Frederik
d1913a295d
Add rolename parameter to manual_control
2019-03-22 10:00:19 +01:00
nsubiron
ddf3ad2282
Pylint ignore performance benchmark
2019-03-19 22:34:49 +01:00
nsubiron
824acaa049
Disable Pylint false positive
2019-03-19 22:34:49 +01:00
nsubiron
426bee6d81
Fix typo
2019-03-19 22:34:49 +01:00
nsubiron
9f34e37825
Add networkx dependency
2019-03-19 22:34:49 +01:00
nsubiron
236a1fc81f
Fix Pylint errors of scene_layout.py
2019-03-19 22:34:49 +01:00
nsubiron
0efd55a385
AutoPEP8 everything
2019-03-19 22:34:49 +01:00
nsubiron
0c1f17f05f
Fix Pylint errors of manual_control_steeringwheel.py
2019-03-19 22:34:49 +01:00
germanros1987
1c3713459c
removing global router test for the time being
2019-03-19 22:34:49 +01:00
nsubiron
003661cc5b
Fix generate_map.py linter errors
2019-03-19 22:34:49 +01:00
nsubiron
d2dea42f11
Pylint every Python file in PythonAPI
2019-03-19 22:34:49 +01:00
germanros1987
37e2c951e6
removed test_global_route_planner.py
2019-03-19 22:34:49 +01:00
germanros1987
b85b006ad5
agents code updated
2019-03-19 22:34:49 +01:00
nsubiron
1bb2ccff10
Fix some Pylint errors and warnings
2019-03-19 22:34:49 +01:00
nsubiron
848c068b63
Upgrade travis.yml to Ubuntu 16.04
2019-03-19 22:34:49 +01:00
nsubiron
e78f9daab2
Add smoke tests for checking the waypoints of each town
2019-03-19 19:27:08 +01:00
Felipe Codevilla
81f781cb5c
scene layout, fixing testing functions
2019-03-18 20:31:11 -04:00
Felipe Codevilla
62d0d0e134
scene layout
2019-03-18 20:13:16 -04:00
nsubiron
97a46f00c6
Make performance_benchmark.py executable
2019-03-18 15:09:55 +01:00
Fabian Oboril
569a2d80d1
Fix cleanup local_planner when used by other modules
...
If the local_planner is used by other Python modules the cleanup causes
a destruction of the actor, handed over to the local_planner. As this
may be undesired, an additional reset_vehicle() method was added to the
local_planner.
2019-03-16 18:59:38 -07:00
Néstor Subirón
0c04479612
Merge branch 'master' into master
2019-03-15 17:40:43 +01:00
nsubiron
db1addc378
Fix #1381 , make sensors use timestamp from UCarlaEpisode
2019-03-15 14:39:23 +01:00
nsubiron
93c3b5fa71
Increase license year
2019-03-14 20:19:29 +01:00
nsubiron
2e254528a2
Add some smoke tests
2019-03-14 20:17:55 +01:00
nsubiron
40836a1fd4
Add infrastructure for smoke tests in Jenkins
2019-03-14 20:17:55 +01:00
Kartik
df30cbae1a
Fix to locate carla python package in performance_benchmark.py
2019-03-14 17:00:05 +05:30
nsubiron
39ec79ead2
Remove profiler from libcarla_client
2019-03-13 16:51:31 +01:00
Pasch, Frederik
3d2e08611e
Add time to SensorData
2019-03-13 16:07:31 +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
germanros1987
0826b307c2
new flag in no_rendering_mode.py to actually switch off rendering if needed:
2019-03-10 14:20:45 -07:00
nsubiron
cf1598ae61
Increase version
2019-03-01 20:29:47 +01:00
Daniel
155a03ab5e
Improved output
2019-03-01 15:14:52 +01:00
Marc Garcia Puig
6966d56c76
Changed right/left_lane() to get_right/left_lane()
2019-03-01 02:36:17 +01:00
Marc Garcia Puig
34fad123d7
Added the lane_explorer example
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
8f9ec7fc69
Small indentation style fix
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
German Ros
09dcc4ec5e
minor bug fix
2019-02-28 15:58:40 -08:00
German Ros
628b78844b
Revert "updated LIDAR setup to reflect a real Velodyne 32"
...
This reverts commit 0c8d38adf1
.
2019-02-28 15:55:04 -08:00
German Ros
0c8d38adf1
updated LIDAR setup to reflect a real Velodyne 32
2019-02-28 15:52:40 -08:00
German Ros
0e019f5fb1
blocked fixed
2019-03-01 00:48:32 +01:00
German Ros
e3e98b4628
minor fixes
2019-03-01 00:48:32 +01:00
German Ros
f3f69fddb6
changelog updated
2019-03-01 00:48:32 +01:00
German Ros
0657f226de
performance benchmark CARLA
2019-03-01 00:48:04 +01:00
German Ros
ee3f380752
performance_benchmark initial script
2019-03-01 00:48:04 +01:00
nsubiron
338afbdc3b
Add synchronous mode example script
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
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
6bb2feb9b1
Fix #1272 , allow changing the map from client-side
2019-03-01 00:15:58 +01:00
nsubiron
5b7098a67c
Remove map_name from world
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
germanros1987
9ab1411bd4
Merge master into manishthani/no_rendering_mode
2019-02-28 12:29:05 -08:00
Néstor Subirón
1798e57ef9
Merge branch 'master' into autogenerate-map-commandlet
2019-02-28 16:08:48 +01:00
nsubiron
34a6afac1c
Make Python scripts executable
2019-02-28 15:22:24 +01:00
nsubiron
6789783a17
Merge branch 'master' into bernatx/Recorder
2019-02-28 15:17:18 +01:00
Manish
27c472fce6
Improved stop signs and fixed pylint messages
2019-02-28 14:14:50 +01:00
bernatx
b7be0c67d3
Changes for the Pull Request
2019-02-28 12:37:02 +01:00
Manish
d7b28173ef
Text also updates according to affecting light state
2019-02-28 11:12:34 +01:00
Manish
847117245a
Merge branch 'master' into manishthani/no_rendering_mode
2019-02-28 10:38:48 +01:00
Manish
7fe55b8d6c
Fixed bug
2019-02-28 10:14:31 +01:00
Daniel
9051def0ee
Small fixes
2019-02-27 20:01:23 +01:00
Daniel
1644ae4b17
Fixed material issue
2019-02-27 20:01:23 +01:00
Daniel
5491ab54eb
Improved script messaging
2019-02-27 20:01:23 +01:00
Daniel
166375b87e
Removed test print
2019-02-27 20:01:23 +01:00
Daniel
8d2769d22e
first completed version of the generate_map.py script
2019-02-27 20:01:23 +01:00
Daniel
a34a0e1d02
Basic functionality achieved.
...
- FBX to UMAP
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
Manish
be6b9d3b79
Traffic light gets illuminated when car is close to its trigger volume
2019-02-27 18:20:11 +01:00
nsubiron
3e93782c98
Expose traffic sign's trigger volumes on Python API
2019-02-27 17:47:36 +01:00
bernatx
dc6fb320e0
Calling Recording functions without blocking Python
2019-02-27 15:29:01 +01:00
Néstor Subirón
0e7e1b0b91
Merge branch 'master' into new_expose_vehicle_physics
2019-02-27 12:29:58 +01:00
Manish
15d6675ddb
calling get physics control without gil
2019-02-27 12:00:12 +01:00
Marc Garcia Puig
f0273d5465
Merge branch 'master' into marcgpuig/windows_build
2019-02-27 11:50:57 +01:00
Manish
0cf2c1b5de
changed pixels per meter to avoid pygame error when loading town06
2019-02-26 17:46:56 +01:00
bernatx
4edf6c4fd7
Fix error when client can not connect to server
2019-02-26 15:07:19 +01:00
manishthani
a49e14997e
Merge branch 'master' into new_expose_vehicle_physics
2019-02-26 14:56:05 +01:00
Manish
3390e5a718
Updated documentation and small refactor
2019-02-26 11:44:51 +01:00
Manish
37f70ba184
Bug Fix: vehicles do not vibrate and map name accessed from map object
2019-02-25 17:38:35 +01:00
Manish
331c0b04d2
Merge branch 'master' into NoRenderingModeFixes
2019-02-25 14:57:15 +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
Manish
a5b54cbcea
Added stop signals and changed colors
2019-02-22 11:58:18 +01:00
German Ros
00652c92de
added steering wheel control example
2019-02-22 11:10:27 +01:00
Manish
6002091935
prettified
2019-02-21 15:30:16 +01:00
Manish
644ccb75ed
Changed some objects to tango color,controlled vehicle has different color than rest
2019-02-21 15:01:33 +01:00
bernatx
2cc9df0149
Fix manual_control.py problem ending any recording in curse when closing
2019-02-21 14:02:23 +01:00
Manish
efe55fd38b
fixed some bugs
2019-02-21 13:08:08 +01:00
bernatx
bf693b71bf
Added scripts for recording/replaying, and also add documentation.
2019-02-21 12:13:48 +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
a890649bd8
Added missing change in last commit
2019-02-20 15:31:51 +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
German Ros
db2f56a733
fix for 1211
2019-02-12 17:44:07 -08:00
nsubiron
5e8964ca0d
Workaround for crash on no_rendering_mode.py exit (Python 3 only)
2019-02-12 15:28:55 +01:00
Marc Garcia Puig
a81ff1e90c
Fixed bool comparison overloads in pyhon client
2019-02-12 15:06:28 +01:00
Marc Garcia Puig
792cd25c75
Fix paths to work on Linux
2019-02-12 15:06:27 +01:00
Marc Garcia Puig
93dd1a1b4e
Removed unnecessary comments
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
Marc Garcia Puig
ee2df45ca7
Simplified make Windows usage + boost not using git but official repos
2019-02-12 15:06:26 +01:00
nsubiron
aacdf8a4e9
Small fixes
2019-02-12 12:07:02 +01:00
bernatx
483b1c1f66
More Pull Request fixes
2019-02-12 12:06:35 +01:00
manishthani
500904f1db
Merge branch 'master' into NoRenderingModeFixes
2019-02-11 16:33:02 +01:00
Manish
562b971861
initial position is set when switching hero to map mode
2019-02-11 12:00:01 +01:00
Manish
aace26c089
bug fix: when closing manual control, no rendering mode crashed in hero mode
2019-02-11 11:32:32 +01:00
bernat
56a5159415
Merge branch 'master' into bernatx/Recorder
2019-02-08 15:39:43 +01:00
Manish
9abb5d495e
refactored and slightly improved framerate
2019-02-08 13:25:45 +01:00
Manish
dcd3c29776
fixed mouse drag
2019-02-08 12:52:11 +01:00
Manish
55f085ed1d
Fixes for Python3
2019-02-08 10:11:59 +01:00
Manish
0298fa2df6
improved framerate by removing blend functions during blitting
2019-02-07 19:14:30 +01:00
nsubiron
8f20c73d62
Some tweaks to the HUD
2019-02-07 16:51:30 +01:00
Manish
4aceb65559
Added border to hero mode map
2019-02-07 16:46:56 +01:00
Manish
1c58a23960
id fonts are color of vehicle type and hero mode background changed
2019-02-07 16:31:34 +01:00
Manish
37bbcd3510
id fonts are rendered inside vehicle
2019-02-07 16:25:45 +01:00
nsubiron
0e4ad5ee6a
Change traffic light colors
2019-02-07 16:19:26 +01:00
nsubiron
adb1ba5dda
Add loading screen
2019-02-07 16:06:57 +01:00
Manish
b95b455071
Changed some colors and removed legend
2019-02-07 16:02:55 +01:00
nsubiron
fbcf180d06
Add nearby vehicles to HUD
2019-02-07 15:53:51 +01:00
nsubiron
7b96e8a7f7
Nicer render for traffic lights in no-rendering more
2019-02-07 15:33:57 +01:00
Manish
5797811611
solved map size bug and huge refactor
2019-02-07 15:02:42 +01:00
Manish
35ae76114c
hero surface only created once
2019-02-06 21:41:36 +01:00
Manish
ed47fbad40
map renders on start
2019-02-06 20:23:44 +01:00
Manish
75f84f4c75
moved blend surface in start
2019-02-06 20:15:43 +01:00
nsubiron
4cec87ec60
Set keyboard shortcuts of no-rendering mode similar to manual control
2019-02-06 19:54:08 +01:00
Manish
78dbc822d0
removing module render
2019-02-06 19:26:51 +01:00
Manish
91746f2a68
Add help and notifications to no rendering mode
2019-02-06 19:23:24 +01:00
Manish
e79a39178d
We can now toggle vehicle ids
2019-02-06 18:50:57 +01:00
Manish
4980dbefb6
refactor code and improved performance in hero mode
2019-02-06 18:09:51 +01:00
Manish
0bcc01318c
Changing way of rendering traffic lights and speed limits
2019-02-06 16:25:12 +01:00
Manish
fbcdf45d5e
refactor + fixing small bug
2019-02-06 15:01:38 +01:00
bernatx
3824e4d616
Manual_control script with recording/replayer functionality
2019-02-06 12:40:35 +01:00
Manish
d557f2d85b
refactoring code
2019-02-06 12:39:29 +01:00
bernatx
7d9ccf8c18
Adding Replayer (but with callback problem)
2019-02-06 12:11:38 +01:00
Manish
238d5b78b8
Integrated new map generation
2019-02-06 12:10:04 +01:00
bernatx
80ebdbf945
First version of recorder (logger), only capture.
2019-02-06 11:47:48 +01:00
Manish
7cddb026c6
increased zoom and improved fonts
2019-02-06 10:22:59 +01:00
Manish
2593ff7087
fixed map offset when running game
2019-02-06 10:12:57 +01:00
nsubiron
7dfbe396d0
Conversions between Vector3D and Location in Python API
2019-02-05 18:29:41 +01:00
Manish
59512106e0
Optimized map scaling
2019-02-05 17:34:29 +01:00
Manish
fc8fb552f7
hero mode's surface has circle shape and removed filter radius
2019-02-05 12:00:49 +01:00
Manish
70c65c61df
Added autopilot
2019-02-05 10:19:15 +01:00
Manish
95e412e4bb
Added manual control of hero vehicle
2019-02-05 10:14:10 +01:00
Praveen Palanisamy
d2645ee24f
Fixes #1217 to prevent crashes when run in no-rendering mode
2019-02-04 13:29:03 -05:00
Manish
b1016cf7ae
Fixed look forward area
2019-02-04 16:26:01 +01:00
Manish
59535a1dd0
Augmented default hero zoom and now we can visualize more area in forward direction
2019-02-04 15:27:20 +01:00
Manish
c50fabbe10
changed colors following tango project palette
2019-02-04 12:33:23 +01:00
Manish
b197e9bc58
Changing colors to Tango project palette color
2019-02-04 12:24:12 +01:00
Manish
b9727568bd
fixed vehicle blit position and added simulation time
2019-02-01 12:57:05 +01:00
Manish
f5d9e4bd39
added default hero zoom
2019-02-01 12:38:21 +01:00
Manish
35adce94a2
Small optimization
2019-02-01 12:19:28 +01:00
Manish
b365597cbd
Optimized zoom and zoom in factor increased
2019-02-01 12:09:52 +01:00
nsubiron
9134973489
Upgrade version
2019-01-31 19:32:27 +01:00
nsubiron
66a81d9884
Make automatic_control.py executable
2019-01-31 19:32:27 +01:00
nsubiron
d43c73f780
Fix NaN display for FPS
2019-01-31 19:32:27 +01:00
Néstor Subirón
40928db8e7
Merge branch 'master' into NoRenderingMode
2019-01-31 14:21:45 +01:00
Manish
be1dc0800e
huge refactor
2019-01-31 13:20:58 +01:00
nsubiron
2c5e115fe0
Fix FPS NaN
2019-01-31 12:58:39 +01:00
Praveen
f7b44d1726
Modified basic agent:
...
* Using RoadOption from local planner
Modified local planner:
* Increased waypoint que max length
* Re organised buffering code
Modified misc:
* Added vector function
Modified global route planner:
* Using RoadOption from local_planner
2019-01-30 22:32:50 +01:00
Praveen
d7a7e3cf55
Modified local planner
...
* Buffered waypoint queue to avoid path overlapping
2019-01-30 22:29:36 +01:00
Praveen
7e6b924dd4
Comments
2019-01-30 22:29:36 +01:00
Praveen
be920463f2
-
2019-01-30 22:29:36 +01:00
Praveen
0acdd8f6a9
Integrated global router into Basic Agent
...
* Modified set_destination function to use GlobalRoutePlanner
2019-01-30 22:29:36 +01:00
Praveen
b06e5080b6
* Fixed global router to handle round about turns
...
* Using local_planner.RoadOption to represent turns
2019-01-30 12:09:16 -08:00
Praveen
fedf8b2fd6
Modified turn decision logic to solve round about turn problem
2019-01-30 12:05:55 -08:00
Praveen
d85c20762a
Modified route translation to ignore intersection
...
segments with only one possible path
2019-01-30 12:05:55 -08:00
Praveen
f4219232a9
Fixed GlobalRoutePlanner:
...
* now using vector cross product for turn decisions.
2019-01-30 12:05:55 -08:00
Manish
e8f82aa6bb
Prettified file
2019-01-30 19:45:54 +01:00
Manish
5b04acde4e
Traffic Light and speed limit affecting to hero info now displayed
2019-01-30 19:38:37 +01:00
Manish
2f49b7ab6e
Merge branch 'master' into NoRenderingMode
2019-01-30 19:14:40 +01:00
Manish
07d87e8ee4
Fixed some pylint warnings and solved small roads bug
2019-01-30 19:09:30 +01:00
Néstor Subirón
0e8ca5064b
Merge branch 'master' into tl_api
2019-01-30 14:40:21 +01:00
Manish
7cbeacd8aa
Refactoring
2019-01-30 14:37:02 +01:00
Daniel Novillo
5a026fd489
Merge master into pedestrian-collision-sensor
2019-01-30 13:49:57 +01:00
Manish
e29950b60f
Refactor + Bug fix: Blits surfaces
2019-01-30 12:15:24 +01:00
Aidan Clear
faac288002
Prettyfying the files in response to review
2019-01-30 11:20:23 +01:00
Manish
23ef5d73cc
Merge branch 'master' into NoRenderingMode
2019-01-30 10:49:15 +01:00
Manish
91f43c8d5d
Changed Permissions and bug fix
2019-01-30 10:45:25 +01:00
Manish
25b31d6964
speed limit font quality improved
2019-01-29 18:44:29 +01:00
Manish
c595e1cfc0
road lanes are now drawn correctly
2019-01-29 18:13:03 +01:00
Manish
f1d1020bdc
speed limits rotate base on hero front
2019-01-29 16:32:49 +01:00
Manish
6c784bca85
ids aligned to hero vehicle
2019-01-29 16:07:54 +01:00
Manish
13c0c7d6b6
Improved a lot performance in hero mode
2019-01-29 14:52:43 +01:00
Manish
d0ae293303
Working on improving hero performance
2019-01-29 13:29:03 +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
Manish
7c8b3643a3
Added clip to rotated surface
2019-01-29 11:08:26 +01:00
Manish
35c9507ebc
Improved framerate when scaling map, still work in progress for hero mode scaling
2019-01-28 20:21:52 +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
Manish
c24c38a2fd
removed antialiasing, fixed speed, refactored
2019-01-28 17:24:29 +01:00
Manish
52f59b835b
bounding boxes of pedestrians are drawn
2019-01-28 14:39:57 +01:00
Manish
4a3d3f4762
traffic lights are bounding boxes + refactor
2019-01-28 14:25:01 +01:00
Manish
30ce63fc49
using convert, blits and given forward vector of transform
2019-01-28 11:34:38 +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
Manish
2f8ed18b5c
taking out blue background color
2019-01-25 19:25:08 +01:00
Manish
e6b6d7dc6f
Bug Fix: color before replacement error
2019-01-25 17:25:35 +01:00
Manish
a359923d57
hero mode with map rotation working! :D
2019-01-25 17:16:38 +01:00
Manish
18455139ba
Working on rotating map in hero mode
2019-01-25 16:39:26 +01:00
Manish
24068c969d
some code refactoring
2019-01-25 11:26:20 +01:00
Manish
d7826b9cc8
working on improving hero mode
2019-01-24 19:29:05 +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
Manish
fbfc7827fd
Scaling working in map and hero mode
2019-01-24 16:54:05 +01:00
Manish
f82eb49bb7
Scaling finally working
2019-01-24 16:31:05 +01:00
Manish
a892b8e666
Merge branch 'master' into NoRenderingMode
2019-01-24 14:44:01 +01:00
Manish
a0ba435989
working on scaling map
2019-01-24 14:19:54 +01:00
nsubiron
b57b56f6f3
Increase default time-out in world.wait_for_tick()
2019-01-24 12:03:01 +01:00
Manish
289678d702
refactoring
2019-01-23 20:10:56 +01:00
Manish
a27994c0f7
Improved scaling of map and actors
2019-01-23 18:19:39 +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
Manish
a47cd513f3
improving map scaling
2019-01-23 17:08:27 +01:00
Manish
24bf11de98
working on map scaling
2019-01-23 16:57:24 +01:00
Manish
61a87c80b6
Added 1st version of scaling map functionality
2019-01-23 16:28:28 +01:00
Manish
2401f8f380
Added arrows for orientation and lane separation
2019-01-23 15:31:04 +01:00
Manish
e5fde35cbd
Adapted code to test server without rendering option, working on scaling
2019-01-23 12:50:54 +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
Manish
2b2b97d7ad
Bug Fix: In hero mode, when deleting all vehicles the game would crash
2019-01-22 19:02:01 +01:00
Manish
1770e17ce2
Bug Fix: game crashed when selecting hero without vehicles spawned
2019-01-22 18:05:47 +01:00
Manish
b2c6d8ae09
Refactor and setting waypoint length
2019-01-22 17:33:00 +01:00
Manish
32c82999bd
Fixes of intersections and roads
2019-01-22 17:23:46 +01:00
Manish
780ada7fad
Added first version of speed limits
2019-01-22 12:35:35 +01:00
Manish
a9c0a93c3d
Rendering intersection waypoints separately
2019-01-22 11:51:35 +01:00
Manish
775c2c86fe
distance computation done well
2019-01-22 11:03:16 +01:00
Manish
8711fd0395
Hero actor is always in center of screen
2019-01-22 10:50:43 +01:00
Manish
ddda6e6505
pedestrian are being visualized
2019-01-21 18:28:42 +01:00
Manish
e9cc893918
Added vehicle front
2019-01-21 18:08:50 +01:00
Manish
a7f24f6d49
no_rendering_mode.py
2019-01-21 16:41:43 +01:00
Manish
c72b0797ac
Added legend
2019-01-21 15:35:42 +01:00
Manish
312bcc79b9
Added support for rendering pedestrians
2019-01-21 14:27:21 +01:00
Manish
94a3ccea63
Code refactoring
2019-01-21 12:12:06 +01:00
Manish
1790bc0873
Merge branch 'master' into NoRenderingMode
2019-01-21 10:32:42 +01:00
manishthani
83237f0d46
solving bug
2019-01-21 10:02:02 +01:00
manishthani
3cf7b48b7b
bounding box added to vehicle
2019-01-18 18:35:35 +01:00
manishthani
2ffd8ec839
Refactoring code
2019-01-18 10:32:32 +01:00
manishthani
edeac67bef
Improving performance and working on actor bounding box
2019-01-17 19:47:51 +01:00
manishthani
7f0b86f66a
We can now select actors randomly
2019-01-17 15:46:46 +01:00
manishthani
822d9e7e5f
Rendering radius of hero vehicle
2019-01-17 14:49:48 +01:00
manishthani
f4b4baefbd
Added hero speed and centered map
2019-01-17 12:39:16 +01:00
manishthani
1d29cca828
Hero mode id and type id is displayed
2019-01-17 11:51:53 +01:00
nsubiron
5295261aca
Add forward vector to rotations and transforms
2019-01-17 11:41:14 +01:00
manishthani
292e0b055a
Improved HUD managemente
2019-01-17 11:25:57 +01:00
manishthani
77e8deeda1
hero mode can be selected nowa nd actors get filtered by hero radius
2019-01-16 19:32:39 +01:00
manishthani
d9e29f8be4
Added antialiasing option and traffic lights state + refactor
2019-01-16 17:54:50 +01:00
manishthani
140f654096
Improving performance in map waypoint generation
2019-01-16 12:25:29 +01:00
manishthani
21522bf79a
Map waypoints are rendered correctly, antialising applied to actors and smoothscale when zooming
2019-01-16 11:27:03 +01:00
manishthani
5aba3df747
Map adjusts to screen size, and can be translated and scaled and refactored
2019-01-15 17:38:43 +01:00
manishthani
56194c3c8a
Map rescales to screen size
2019-01-15 17:17:10 +01:00
manishthani
9bda5755fa
working on scalating map
2019-01-15 15:45:31 +01:00
manishthani
13f04fdbff
Adding translation and scale to world surface
2019-01-15 12:59:35 +01:00
manishthani
086d926690
Improved map rendering, world rendering in separate surface and map can be translated
2019-01-15 12:23:50 +01:00
manishthani
7343b7d74e
Map is been rendered
2019-01-15 10:56:11 +01:00
manishthani
289d5d8bf3
Changing module names
2019-01-14 18:53:30 +01:00
manishthani
d7f74c7d95
Refactoring code
2019-01-14 18:44:58 +01:00
manishthani
c20e037b98
Integrating module based architecture
2019-01-14 11:49:29 +01:00
manishthani
d106839922
Added Carla world and displaying server FPS
2019-01-11 17:31:18 +01:00
manishthani
823c19b8ac
Added HUD and displaying client fps
2019-01-11 15:39:54 +01:00
nsubiron
5dbd53766f
Minor corrections
2019-01-11 15:23:58 +01:00
manishthani
831aca1d49
Added Carla module and arguments parser
2019-01-11 14:06:02 +01:00
manishthani
93b83bad21
First setup
2019-01-11 12:08:04 +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
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