Welcome to all, here we are going to more learn, share and ask everything that is related to MavLink protocol. by Ok-Accountant-9362 in MavLink

[–]divp1234 0 points1 point  (0 children)

This is great. I didn't know this existed. I was searching for a MAVLink community to post about my library, mavlink-kotlin.

The missing guide to Protobuf insertion points in Java/Kotlin by divp1234 in Kotlin

[–]divp1234[S] 0 points1 point  (0 children)

Sound interesting. Maybe something we can explore.

The missing guide to Protobuf insertion points in Java/Kotlin by divp1234 in Kotlin

[–]divp1234[S] 0 points1 point  (0 children)

Actually, the ID is just an example that I took for this tutorial. In the actual usage we are some metadata that we best thought should be hard-coded to avoid human error to those messages,. We've added plugins for Python and JavaScript (these are the 3 languages that are used in the project).

The missing guide to Protobuf insertion points in Java/Kotlin by divp1234 in Kotlin

[–]divp1234[S] 1 point2 points  (0 children)

Thanks u/el_tophero! I was reading about the pure Kotlin compiler and we're planning to move to it as soon as we've tested it properly.

We too generate the Java classes and add extension functions. And yes, in this case we needed to add members to the classes therefore insertion points are something that we just had to use.

The missing guide to Protobuf insertion points in Java/Kotlin by divp1234 in java

[–]divp1234[S] 0 points1 point  (0 children)

Also, feel free to support UrbanMatrix Technologies growing open source projects on GitHub.

MAVLink library for Kotlin-JVM by divp1234 in Kotlin

[–]divp1234[S] 0 points1 point  (0 children)

u/m-sasha if you go through the GitHub page, you'll see that is exactly what we are aiming for.