-
Notifications
You must be signed in to change notification settings - Fork 72
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
The adapter has some knowledge of specific message/srv types #483
Comments
I believe you have to build for your own messages to generate the python bindings for your messages before starting your app. So during the runtime, you will not care about it. The
Indeed, it is not a good experience, but somehow we have to do it either before runtime or during. |
I don't really get what that means but I get that cpp headers and "python header" are generated by idl when the packages srv/msg packages are built by colcon so maybe we can't achieve the same level of integration. A few answers :
|
My description was a little obscure, I mean the process of generating the bindings for Python from idl files (.msg/.srv). We can achieve the result that searching the unknown messages in the current ROS env variable and |
AFAIU some JS messages files are generated at build time. These will depend on the build environment at the time node-gyp is run. Calls to custom messages and services will raise errors if they were not present at build time - or won't they?- I got an error (something like fs: file not found) but maybe I did it wrong?)
This IMO is not typical ROS behavior. We want to be able to build code independently and then compose. In python project I can
import my_msgs.msg
without a care as long as there are references to it in my environment at run-time. And I don't have to rebuild rclpy.I believe the purpose of the adapters is to give a unified ROS feel regardless of the language so I find this is rather important albeit maybe more time consuming to implement.
somewhat related : #356
The text was updated successfully, but these errors were encountered: