ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I think the following method of using " to represent double quotation marks will work well.

<node pkg="rosservice" type="rosservice" name="chg_ctrl" args="call --wait /controller_manager/switch_controller 
    &quot;{ start_controllers:[joint_group_vel_controller],
    stop_controllers:[scaled_pos_joint_traj_controller],
    strictnes:1,
    start_asap:false,
    timeout:0.0}&quot;" />

I think the following method of using &quot; to represent double quotation marks will work well.

<node pkg="rosservice" type="rosservice" name="chg_ctrl" args="call --wait /controller_manager/switch_controller 
    &quot;{ start_controllers:[joint_group_vel_controller],
start_controllers: [joint_group_vel_controller],
 stop_controllers:[scaled_pos_joint_traj_controller],
stop_controllers: [scaled_pos_joint_traj_controller],
 strictnes:1,
strictnes: 1,
 start_asap:false,
start_asap: false,
 timeout:0.0}&quot;" timeout: 0.0 }&quot;" />

I think the following method of using &quot; to represent double quotation marks will work well.

<node pkg="rosservice" type="rosservice" name="chg_ctrl" args="call --wait /controller_manager/switch_controller 
    &quot;{ start_controllers: [joint_group_vel_controller],
    stop_controllers: [scaled_pos_joint_traj_controller],
    strictnes: strictness: 1,
    start_asap: false,
    timeout: 0.0 }&quot;" />