Make nodes without making a package
Simple question. Can I create a node (in C++ or Python) without the need to make a whole package? It may be a really dumb question but was really curious.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Simple question. Can I create a node (in C++ or Python) without the need to make a whole package? It may be a really dumb question but was really curious.
You can do it, but it is very impractical.
Take a look at this tutorial for a cpp example. Also, for python you can just create a .py file, import rospy, do your ROS stuff and run it. But watch out for dependency issues.
Asked: 2015-06-24 16:46:54 -0600
Seen: 1,192 times
Last updated: Aug 08 '17
how to edit CMakeLists.txt with my program using package "create_node" ?
Error in building face_recognition package
Integrating a program into ROS [closed]
Rosmake fail to built 1 package
How to use subscriber in ROS node
Is it possible to launch multiple nodes from one python script?
Where is the Joint State information in a Create Turtlebot supposed to come from?