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 | Q&A answers.ros.org |
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2015-06-24 16:46:54 -0500
Seen: 1,022 times
Last updated: Aug 08 '17
How to manage multiple projects in single wrokspace?
Map created using slam_gmapping looks weird ( Irobot Create + Hokuyo Laser)
The executable of my package is not created
Error in building package (cmake) [closed]
Error when trying to run a ros node
Transferred catkin pkgs to new computer and can't launch
Can't run packages with latest distribution?
Why is not building package turtlebot3_gazebo on ROS2?
When I want to compile catkin_ws it give me this error [closed]