Skip to content

Unable to control the drone with MavSDK-Java Manual Control Plugin  #193

Closed
@Ba0Nguyen

Description

@Ba0Nguyen

Ardupilot v4.6 (latest SITL)
MavSDK 2.0.1
SITL starting command: sim_vehicle.py -v Copter --console --map --out=IP:14540

Hi, I am unable to control the drone in Ardupilot SITL using the MavSDK-Java ManualControl Plugin, do you have any tips for this problem?

`val completable = mavSdkDataWrapper.manualControlWrapper.move(x, y, z, r)

           completable?.subscribe({
                Log.d("MotionEvent", "Move Success")
            },{ e ->
                Log.d("MotionEvent", "Error move: ${e.message}")
            })

`

I'm creating mavsdk server with systemId 245 and compId 190
mavSdkServer.run("IP:14540", 0, 245, 190)

I read another thread that it is solved with systemID 245, I tried that but it still not working and I am not able to control my drone in SITL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions