ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi @dinesh,
If you need to change the parameter like that your should add and argument to the launch file.
E.g.:
<?xml version="1.0"?>
<launch>
<arg name="arg1" default="-
<node pkg="pure_vision" type="my_publisher" name="my_publisher" args="$(arg arg1)"/>
<node pkg="pure_vision" type="pure_vision" name="pure_vision"/>
<node pkg="rviz" type="rviz" name="rviz"/>
</launch>
Cheers
2 | No.2 Revision |
Hi @dinesh,
If you need to change the parameter like that your should add and argument to the launch file.
E.g.:
<?xml version="1.0"?>
<launch>
<arg name="arg1" default="-
default="-arg1"/>
<node pkg="pure_vision" type="my_publisher" name="my_publisher" args="$(arg arg1)"/>
<node pkg="pure_vision" type="pure_vision" name="pure_vision"/>
<node pkg="rviz" type="rviz" name="rviz"/>
</launch>
Cheers
3 | No.3 Revision |
Hi @dinesh,
If you need to change the parameter like that your should add and argument to the launch file.
E.g.:E.g.:
Launch file pure_vision_single_image.launch:
<?xml version="1.0"?>
<launch>
<arg name="arg1" default="-arg1"/>
<node pkg="pure_vision" type="my_publisher" name="my_publisher" args="$(arg arg1)"/>
<node pkg="pure_vision" type="pure_vision" name="pure_vision"/>
<node pkg="rviz" type="rviz" name="rviz"/>
</launch>
Cheers
Command:
roslaunch pure_vision pure_vision_single_image.launch arg1:="image.jpg"
4 | No.4 Revision |
Hi @dinesh,
If you need to change the parameter like that your should add and argument to the launch file.
E.g.:
Launch file pure_vision_single_image.launch:-> pure_vision_single_image.launch
:
<?xml version="1.0"?>
<launch>
<arg name="arg1" default="-arg1"/>
<node pkg="pure_vision" type="my_publisher" name="my_publisher" args="$(arg arg1)"/>
<node pkg="pure_vision" type="pure_vision" name="pure_vision"/>
<node pkg="rviz" type="rviz" name="rviz"/>
</launch>
Cheers
Command:
roslaunch pure_vision pure_vision_single_image.launch arg1:="image.jpg"
5 | No.5 Revision |
Hi @dinesh,
If you need to change the parameter like that your should add and argument to the launch file.
E.g.:
Launch file -> pure_vision_single_image.launch
:
<?xml version="1.0"?>
<launch>
<arg name="arg1" default="-arg1"/>
<node pkg="pure_vision" type="my_publisher" name="my_publisher" args="$(arg arg1)"/>
<node pkg="pure_vision" type="pure_vision" name="pure_vision"/>
<node pkg="rviz" type="rviz" name="rviz"/>
</launch>
Cheers
Command:
roslaunch pure_vision pure_vision_single_image.launch arg1:="image.jpg"