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

Revision history [back]

click to hide/show revision 1
initial version

Let's look at the top of the file

<arg name="run_demo_traj" default="false"/> <arg name="effort_control" default="false"/> <arg name="velocity_control" default="false"/> <arg name="namespace" default="ufactory"/> <arg name="add_gripper" default="false" />

I think that if you launch with a "velocity_control" at value true, your controller launched will be "lite6_trajectory_controller"

Let's look at the top of the file

<arg name="run_demo_traj" default="false"/> <arg name="effort_control" default="false"/> <arg name="velocity_control" default="false"/> default="false"/> <arg name="namespace" default="ufactory"/> <arg name="add_gripper" default="false" />

I think that if you launch with a "velocity_control" at value true, your controller launched will be "lite6_trajectory_controller"

Let's look at the top of the file

<arg name="run_demo_traj" default="false"/>
     <arg name="effort_control" default="false"/>
     <arg name="velocity_control" default="false"/> 
     <arg name="namespace" default="ufactory"/>
     <arg name="add_gripper" default="false" />
default="false"/>

I think that if you launch with a "velocity_control" at value true, your controller launched will be "lite6_trajectory_controller_velocity", but a default launch will launch "lite6_trajectory_controller"

Your value is evaluated according to the condition, thus mixing eval, if and else