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 -0500
Seen: 1,122 times
Last updated: Aug 08 '17
how to edit CMakeLists.txt with my program using package "create_node" ?
about packages and ros distributions
Where is the Joint State information in a Create Turtlebot supposed to come from?
How to manage multiple projects in single wrokspace?
No executable inside devel/lib/<package>
How to use ROS nodes/packages from the internet?
Failure in installing a new package on ROS2
Is it possible to launch multiple nodes from one python script?