I wrote a roslaunch file that calls the raspicam node perfectly when typed into the terminal. However, when I call it using a script with the line
xterm -hold -e "roslaunch first package raspicam.launch" &
I get this error:
ERROR: cannot launch node of type [raspicam/raspicam_node]: raspicam
ROS path [0]=/opt/ros/groovy/share/ros
ROS path [1]=/home/pi/working space
ROS path [2]=/opt/ros/groovy/share
ROS path [3]=/opt/ros/groovy/stacks
I use another roslaunch file to call the image_transport node and it works fine in the script.
Any idea what's happening here?
I wrote a roslaunch file that calls the raspicam node perfectly when typed into the terminal. However, when I call it using a script with the line xterm -hold -e "roslaunch first package raspicam.launch" &
I get this error: ERROR: cannot launch node of type [raspicam/raspicam_node]: raspicam ROS path [0]=/opt/ros/groovy/share/ros ROS path [1]=/home/pi/working space ROS path [2]=/opt/ros/groovy/share ROS path [3]=/opt/ros/groovy/stacks
I use another roslaunch file to call the image_transport node and it works fine in the script. Any idea what's happening here?