-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Can I avoid installing ROS if my robot can directly respond to node commands? #131
Comments
Yes, you can, if you:
|
Excellent! I've made a note and will investigate this in the near future. |
Hi. I have a similar question, but with the situation reversed. I want to interface with a remote ROS master uri with a Rosnodejs node, without ROS installed on the nodes system. Is this possible or will I require a ros install/ros docker? Thank you! |
Yes, that's possible using the above mentioned |
Ah thank you! I have followed through with this and copied the share folder over and set the |
Ah yes, you should set that env variable as well, and it is usually (always?) the same value as |
Ah so next error is ; Any clue of this? |
Can you give more of the error stack? |
Edit: All fixed and working! Thank you for your help. Unfortunately I don't know what I did to fix it on the uri error, but glad it is working now. |
Just to document this a bit more: On the standard install of Kinetic on Ubuntu, the path variables are
Wherever they point, there needs to be a set of folders under the share folder with message package.xml and msg folder with the .msg files. Something like you find from /opt/ros/kinetic/share/ in a ROS installation. e.g. the std_msgs folder. But watch out for depends which must also be included. e.g. the package.xml for std_msgs lists:
so the message_generation and message_runtime folders must also be included. To support std_msgs and sensor_msgs, I ended up copying in
This allows messages with all the standard string, int32, etc... types from std_msgs, as well as JointState (from sensor_msgs), and Accel, Pose, Quaternion, and others from geometry_msgs. It does not support logging, which seems to have a massive list of dependencies. Of course, you can just copy the entire ros share folder to the robot. |
I'd like to NOT install ROS on my actual robot to save space. If this rosnodejs can receive and respond to ROS messages, can't I just start with it and add the code required to move the robot and return data from the robots sensors and skip ROS entirely? The goal is just for people who use ROS on their PC's or whatever to be able to talk to my robot via the ROS messaging system.
Again, pardon me for asking this without truly understanding ROS, but perhaps if you answer it, this will help others understand the system as a whole and rosnodejs's place in it.
The text was updated successfully, but these errors were encountered: