Skip to content
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

How does MavSdk-Java mavsdk-server connect with mavsdk-core (C++)? QUESTION #160

Open
Ba0Nguyen opened this issue May 13, 2024 · 1 comment

Comments

@Ba0Nguyen
Copy link

For Android, I am using the below code inside of grade dependency to use the SDK. How does the mavsdk-server link with mavsdk-core? Does it link by downloading a prebuilt file of mavsdk-core from GitHub or I have an installed mavsdk-core system on my computer?

The reason I am asking is because when I try to use a modified sdk-java with new function in for example, core plugin and/or core.proto. It will have trouble linking with mansdk-core and crash the app.

implementation 'io.mavsdk:mavsdk:2.0.1'
implementation 'io.mavsdk:mavsdk-server:2.0.0'

I am using the modified mavsdk dependency through a .jar file.

Screenshot 2024-05-12 at 4 27 30 PM

I would really appreciate if someone could give me guidance on how I can use the modified mavsdk-java and link it with my modified mavsdk-core. I think I need to add a PATH into my project to tell it to use the modified mavsdk-core headers file.

@Ba0Nguyen Ba0Nguyen changed the title How does MavSdk-Java mavsdk-server connect with mavsdk-core (C++)? How does MavSdk-Java mavsdk-server connect with mavsdk-core (C++)? QUESTION May 13, 2024
@JonasVautherin
Copy link
Collaborator

For Android, gradle gets the prebuilt binaries from src/main/prebuiltLibs, which are downloaded here.

If you want to use your own, I'd say just comment out those lines and put your binaries instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants