|
2 | 2 |
|
3 | 3 | This ROS package aims at providing a simple ROS bridge for CARLA simulator.
|
4 | 4 |
|
5 |
| -**Important Note:** |
6 |
| -This documentation is for CARLA versions _newer_ than 0.9.4. |
7 |
| - |
8 | 5 | 
|
9 |
| - |
10 |
| - |
11 |
| - |
12 | 6 |
|
13 | 7 | ## Features
|
14 | 8 |
|
15 |
| -- [x] Cameras (depth, segmentation, rgb) support |
16 |
| -- [x] Transform publications |
17 |
| -- [x] Manual control using ackermann msg |
18 |
| -- [x] Handle ROS dependencies |
19 |
| -- [x] Marker/bounding box messages for cars/pedestrian |
20 |
| -- [x] Lidar sensor support |
21 |
| -- [x] Support CARLA synchronous mode |
22 |
| -- [ ] Add traffic light support |
| 9 | +- Provide Sensor Data (Lidar, Cameras (depth, segmentation, rgb), GNSS, Radar, IMU) |
| 10 | +- Provide Object Data (Transforms (via [tf](http://wiki.ros.org/tf)), Traffic light status, Visualization markers, Collision, Lane invasion) |
| 11 | +- Control AD Agents (Steer/Throttle/Brake) |
| 12 | +- Control CARLA (Support synchronous mode, Play/pause simulation, Set simulation parameters) |
| 13 | + |
| 14 | +### Additional Functionality |
| 15 | + |
| 16 | +Beside the bridging functionality, there are many more features provided in separate packages. |
| 17 | + |
| 18 | +| Name | Description | |
| 19 | +| --------------------------------- | ------------------------------------------------------------------------------------------------------- | |
| 20 | +| [Carla Ego Vehicle](carla_ego_vehicle/README.md) | Provides a generic way to spawn an ego vehicle and attach sensors to it. | |
| 21 | +| [Carla Manual Control](carla_manual_control/README.md) | A ROS-based visualization and control tool for an ego vehicle (similar to carla_manual_control.py provided by CARLA) | |
| 22 | +| [Carla Infrastructure](carla_infrastructure/README.md) | Provides a generic way to spawn a set of infrastructure sensors defined in a config file. | |
| 23 | +| [Carla Waypoint Publisher](carla_waypoint_publisher/README.md) | Provide routes and access to the Carla waypoint API | |
| 24 | +| [Carla ROS Scenario Runner](carla_ros_scenario_runner/README.md) | ROS node that wraps the functionality of the CARLA [scenario runner](https://github.com/carla-simulator/scenario_runner) to execute scenarios. | |
| 25 | +| [Carla Ackermann Control](carla_ackermann_control/README.md) | A controller to convert ackermann commands to steer/throttle/brake| |
| 26 | +| [Carla AD Agent](carla_ad_agent/README.md) | A basic AD agent, that follows a route, avoids collisions with other vehicles and stops on red traffic lights. | |
| 27 | +| [RVIZ Carla Plugin](rviz_carla_plugin/README.md) | A [RVIZ](http://wiki.ros.org/rviz) plugin to visualize/control CARLA. | |
| 28 | +| [RQT Carla Plugin](rqt_carla_plugin/README.md) | A [RQT](http://wiki.ros.org/rqt) plugin to control CARLA. | |
| 29 | + |
| 30 | +For a quick overview, after following the [Setup section](#setup), please run the [CARLA AD Demo](carla_ad_demo/README.md). It provides a ready-to-use demonstrator of many of the features. |
| 31 | + |
23 | 32 |
|
24 | 33 | ## Setup
|
25 | 34 |
|
26 |
| -### For User |
| 35 | +### For Users |
| 36 | + |
| 37 | +First add the apt repository: |
27 | 38 |
|
28 |
| - First add the apt repository: |
29 | 39 | ##### For ROS Melodic Users
|
30 | 40 | sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 81061A1A042F527D &&
|
31 | 41 | sudo add-apt-repository "deb [trusted=yes] http://dist.carla.org/carla-ros-bridge-melodic/ bionic main"
|
@@ -292,20 +302,6 @@ The following markers are supported in 'map'-frame:
|
292 | 302 | | ---------------------------------- | ------------------------------------------------------------------------------------------------------ | --------------------------- |
|
293 | 303 | | `/carla/debug_marker` (subscriber) | [visualization_msgs.MarkerArray](http://docs.ros.org/api/visualization_msgs/html/msg/MarkerArray.html) | draw markers in CARLA world |
|
294 | 304 |
|
295 |
| - |
296 |
| -## Additional Functionality |
297 |
| - |
298 |
| -| Name | Description | |
299 |
| -| --------------------------------- | ------------------------------------------------------------------------------------------------------- | |
300 |
| -| [Carla Ego Vehicle](carla_ego_vehicle/README.md) | Provides a generic way to spawn an ego vehicle and attach sensors to it. | |
301 |
| -| [Carla Infrastructure](carla_infrastructure/README.md) | Provides a generic way to spawn a set of infrastructure sensors defined in a config file. | |
302 |
| -| [Carla Waypoint Publisher](carla_waypoint_publisher/README.md) | Provide routes and access to the Carla waypoint API | |
303 |
| -| [Carla ROS Scenario Runner](carla_ros_scenario_runner/README.md) | ROS node that wraps the functionality of the CARLA [scenario runner](https://github.com/carla-simulator/scenario_runner) to execute scenarios. | |
304 |
| -| [Carla AD Agent](carla_ad_agent/README.md) | A basic AD agent, that can follow a route and avoid collisions with other vehicles and stop on red traffic lights. | |
305 |
| -| [Carla AD Demo](carla_ad_demo/README.md) | A meta package that provides everything to launch a CARLA ROS environment with an AD vehicle. | |
306 |
| -| [RVIZ Carla Plugin](rviz_carla_plugin/README.md) | A [RVIZ](http://wiki.ros.org/rviz) plugin to visualize/control CARLA. | |
307 |
| -| [RQT Carla Plugin](rqt_carla_plugin/README.md) | A [RQT](http://wiki.ros.org/rqt) plugin to control CARLA. | |
308 |
| - |
309 | 305 | ## Troubleshooting
|
310 | 306 |
|
311 | 307 | ### ImportError: No module named carla
|
|
0 commit comments