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,125 times
Last updated: Aug 08 '17
How to use an Indigo ROS package in ROS Melodic? (tum_ardrone)
Insert obstacle in step-format into moveit via C++-node
about packages and ros distributions
No executable inside devel/lib/<package>
Where is the Joint State information in a Create Turtlebot supposed to come from?
Can't creake a package on fuerte
Integrating a program into ROS [closed]