Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

pass string parameter from command line using rosrun

In OpenCV, it's common that a program takes a command line parameter as the input image, such as "Mat source =cv::imread(argv[1],...)", now if I turn the program into a ros node, how can i achieve the same result with rosrun?, thanks in advance!