-
Notifications
You must be signed in to change notification settings - Fork 225
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
CameraServer plugin "UNIMPLEMENTED" #522
Comments
Server plugins haven't been properly verified in the language wrappers as far as I remember. Sorry this is a bit in flux. |
Are you sure that What version of MAVSDK are you using? Did you build it from source? It seems to complain that this function you are calling ( |
I am not sure what version I am using specifically. I have used the newest version of mavsdk available via PyPI and installed it via source with the same results. All the examples in the examples folder work for me (except I noticed that C++ code as well which made it even more confusing to me that I was receiving this error. I have not built the C++ code personally before |
Let me ask a different question: what are you trying to do? |
So, I know that the CameraServer really just receives and responds to events from the Camera plugin. I initially ran into this issue when attempting to subscribe to |
Right, I guess we can add it then. I'm sorry I'm a bit swamped right now, so if you can make pull requests and test things I can merge things but I can't push stuff forward much at this point. |
No problem. Can you point me in the right direction since the C++ and Python grpc stuff appears to match pretty well to my eye |
I wonder if this is due to the changes that have gone in towards v2 of MAVSDK, and the Python wrappers are still against v1.4. |
But we haven't changed the proto files, so the data going over protobuf should be the same, right? |
Are you guys able to replicate my issue using the provided example? |
Has there been any movement on this? I wouldn't mind getting my hands dirty, but I'm not sure of the best place to start. Like @carlsondev I am trying to run a camera server:
And I get the same sort of error:
|
Hmm I would say that the gRPC error is thrown by:
Presumably because your Python version knows the |
I installed it in a virtualenv with
And then connecting to it in my code to see if I can get any useful log info, but nothing gets logged, and it falls over at the same place as before.
Like @carlsondev I have tried with |
I don't think The Now the thing is that the current So realistically, I think your two best solution is to build MAVSDK from the @julianoes: or do you think backporting would be easier? |
Thanks for looking into this @JonasVautherin Yeah, it's funny there was a mismatch, but I am glad we have got to the bottom of it. I appreciate the amount of work this is for you, @julianoes and contributors. |
I can confirm that the latest mavsdk_server v1.4.0-511-gfadfe22e works. |
Ok let's close this then, I think we have our answer now 😊. Feel free to re-open if necessary. |
When running the attached code and connecting to the headless px4 docker container (
jonasvautherin/px4-gazebo-headless
) I receive this error.Based on a prior reported issue (#394), I think this might be some simple issue with the library.
Code
The text was updated successfully, but these errors were encountered: