Skip to content

Commit

Permalink
Update mavsdk_server and protos
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed Sep 5, 2021
1 parent 77f606e commit c3c8134
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ void startMission(System drone) {
Float.NaN,
Mission.MissionItem.CameraAction.NONE,
Float.NaN,
1.0);
1.0,
Float.NaN,
Float.NaN);
missionItems.add(missionItem);
}

Expand Down
2 changes: 1 addition & 1 deletion examples/android-client/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include ':app'

// Uncomment the following line to use the SDK built from sources.
// This will require `protoc-gen-dcsdk` to be in your PATH. See
// This will require `protoc-gen-mavsdk` to be in your PATH. See
// the README in ../../sdk for more instructions about building
// from sources.
//includeBuild '../../sdk'
Expand Down
4 changes: 2 additions & 2 deletions mavsdk_server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ allprojects {
jcenter()
}

def mavsdk_server_release = "v0.40.0"
def mavsdk_server_release = "v0.43.0"

task extractMavsdkServer(type: Copy) {
mkdir project.buildDir.getAbsolutePath() + "/tmp"
Expand Down Expand Up @@ -132,7 +132,7 @@ android {
archivesBaseName = 'mavsdk-server'
group = 'io.mavsdk'
versionCode 1
version '0.9.1'
version '0.10.0'

ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64'
Expand Down
2 changes: 1 addition & 1 deletion sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Because it is deployed on Maven Central, adding MAVSDK-Java to your project is a

```groovy
dependencies {
implementation 'io.mavsdk:mavsdk:0.9.0'
implementation 'io.mavsdk:mavsdk:0.10.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ subprojects {

group = 'io.mavsdk'
archivesBaseName = 'mavsdk'
version = '0.9.0'
version = '0.10.0'

repositories {
jcenter()
Expand Down
2 changes: 1 addition & 1 deletion sdk/proto
Submodule proto updated from a968c0 to bc758a
4 changes: 4 additions & 0 deletions sdk/templates/stream.j2
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ private Flowable<{% if return_type.is_primitive %}{{ return_type.name }}{% elif
emitter.onNext(value.get{{ return_name.upper_camel_case }}List().stream().map({{ return_type.inner_name }}::translateFromRpc).collect(Collectors.toList()));
{%- endif %}
{%- else %}
{%- if return_type.is_primitive %}
emitter.onNext(value.get{{ return_name.upper_camel_case }}());
{%- else %}
emitter.onNext({{ return_type.name }}.translateFromRpc(value.get{{ return_name.upper_camel_case }}()));
{%- endif %}
{%- endif %}
break;
default:
Expand Down

0 comments on commit c3c8134

Please sign in to comment.