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

Getting "UNSUPPORTED" error when uploading mission to ArduPilot Sim (2.1.0 SDK) #185

Open
rayw-dronesense opened this issue Oct 1, 2024 · 0 comments

Comments

@rayw-dronesense
Copy link
Contributor

rayw-dronesense commented Oct 1, 2024

Environment

  • ArduPilot SITL Simulator
  • MAVSDK-Java 2.1.0
  • MAVSDK-Server for Android 2.1.1

Repro

        val item = Mission.MissionItem(40.52,-80.02, 100.0f, 2.0f, false, 0.0f, 0f, Mission.MissionItem.CameraAction.NONE, 1.0f, 0.0, 1.0f, 0.0f, 0.0f, Mission.MissionItem.VehicleAction.NONE)
        val plan = MissionPlan(mutableListOf(item))
        mavLinkSystem.mission.uploadMission(plan).andThen(mavLinkSystem.mission.startMission()).subscribe()
2024-10-01 12:48:33.576 29356-29469 Mavsdk                  com.example.mav            D  Falling back to gimbal protocol v1
2024-10-01 12:48:33.732 29356-29458 DsLog                   com.example.mav            D  
    io.mavsdk.mission.Mission$MissionException: UNSUPPORTED: Unsupported
    	at io.mavsdk.mission.Mission$1.onNext(Mission.java:659)
    	at io.mavsdk.mission.Mission$1.onNext(Mission.java:652)
    	at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onMessage(ClientCalls.java:468)
    	at io.grpc.internal.DelayedClientCall$DelayedListener.onMessage(DelayedClientCall.java:473)
    	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInternal(ClientCallImpl.java:667)
    	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:654)
    	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
    	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
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

1 participant