-
Notifications
You must be signed in to change notification settings - Fork 221
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
Don't allow fastrtps to be selected in rclpy #10
Conversation
Yeah, I'm not sure if we should fix it here, or update the tutorial to do something like:
|
personally when I was trying out ros2 demos I just ran all of the executables I could see, so the error may still come up for some with that approach |
hmm. Connext Dynamic should work actually. I think if these lines were removed: you could also remove the reference to rmw_connext_dynamic_cpp from this PR. |
We could certainly do with a better error message than this, but the fact that there is currently no python implementation built for FastRTPS is only a temporary problem. Also, it would be possible in the future for you to accidentally build your workspace in such a way that FastRTPS is there, but there is no Python implementation built yet (it would be tricky to do this on purpose, but possible). At one point I had a TODO to only use a separate
I agree, that's why I think an error message like:
It would similar to what you get when you select a bogus rmw implementations, e.g. try:
|
For example:
|
I agree that we should add a better error message. At the moment though, it's a fault of the code and not of the user. So, if I were testing ros2 for the first time I would not expect to have to do the workaround for this myself (especially in one of the first nodes that someone would try) |
Ok, we're going to merge this and fix it in a more permanent way after the alpha 5 release. |
I opened a new issue to track this: #11 |
Fails PEP8 check: http://ci.ros2.org/job/ci_linux/1161/testReport/ |
If I have both Connext and fastRTPS installed, I get the following error when trying to run either
listener_py
ortalker_py
From what I understand, fastrtps is chosen here even though it has been skipped over here
This is a pretty hack-y fix, but since this is the current default situation if following the linux install from source, I thought it would be worth patching.