forked from carla-simulator/ros-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
carla_ros_bridge.launch
35 lines (33 loc) · 1.4 KB
/
carla_ros_bridge.launch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!-- -->
<launch>
<arg name='host' default=''/>
<arg name='port' default=''/>
<arg name='timeout' default=''/>
<arg name='rosbag_fname' default=''/>
<arg name='synchronous_mode' default=''/>
<arg name='synchronous_mode_wait_for_vehicle_control_command' default=''/>
<arg name='fixed_delta_seconds' default=''/>
<arg name='town' default=''/>
<param name="rosbag_fname" value="$(arg rosbag_fname)"/>
<rosparam file="$(find carla_ros_bridge)/config/settings.yaml" command="load" />
<param name="carla/host" value="$(arg host)" unless="$(eval host == '')"/>
<param name="carla/port" value="$(arg port)" unless="$(eval port == '')"/>
<param name="carla/timeout" value="$(arg timeout)" unless="$(eval timeout == '')"/>
<param
name="carla/synchronous_mode"
value="$(arg synchronous_mode)"
unless="$(eval synchronous_mode == '')"/>
<param
name="carla/synchronous_mode_wait_for_vehicle_control_command"
value="$(arg synchronous_mode_wait_for_vehicle_control_command)"
unless="$(eval synchronous_mode_wait_for_vehicle_control_command == '')"/>
<param
name="carla/fixed_delta_seconds"
value="$(arg fixed_delta_seconds)"
unless="$(eval fixed_delta_seconds == '')"/>
<param
name="carla/town"
value="$(arg town)"
unless="$(eval town == '')"/>
<node pkg="carla_ros_bridge" name="carla_ros_bridge" type="bridge.py" output="screen" required="true"/>
</launch>