carla_ros_control_ego

所属分类:自动驾驶
开发工具:Dockerfile
文件大小:0KB
下载次数:0
上传日期:2020-10-13 15:25:47
上 传 者sh-1993
说明:  一个简单的docker环境和python ROS节点,用于在CARLA模拟器中控制自我车辆,
(A simple docker environment and python ROS node to control the ego vehicle in the CARLA simulator,)

文件列表:
Dockerfile (1759, 2020-10-13)
LICENSE (1067, 2020-10-13)
run-docker.sh (434, 2020-10-13)
sample_ros_control/ (0, 2020-10-13)
sample_ros_control/carla_ros_dep.launch (367, 2020-10-13)
sample_ros_control/control_node.py (917, 2020-10-13)

# CARLA - control ego vehicle using ROS A simple docker environment and python ROS node to control the ego vehicle in the CARLA simulator. The repository is intended to give an overview of how it works and to get familiar with CARLA and controlling it with ROS messages. ## Usage - Build the docker environment with following command: `docker build --tag carla_ros_control:local .` - Run the docker image: `bash run-docker.sh` - Launch the CARLA simulator. - Launch all the dependencies (CARLA ROS bridge, ego vehicle, manual control) using the provided launch script: `roslaunch /home/carla/shared/sample_ros_control/carla_ros_dep.launch` - Run the provided Python script to control the ego vehicle's speed and steering angle. `python /home/carla/shared/sample_ros_control/control_node.py` This will create a ROS node that uses Ackermann control messages to set the speed and steering angle of the ego vehicle. Default values are: - speed: 5.0 m/s - steering angle: 0.0 rad You can pass in your own desired values using the `--speed` and `--steering_angle` arguments of the provided Python script.

近期下载者

相关文件


收藏者