ugcs / ugcs-java-sdk

UgCS Java SDK
Other
14 stars 7 forks source link

SendCommand java samples not working fully #5

Open Kiwa21 opened 7 years ago

Kiwa21 commented 7 years ago

Hey,

I just built the ugcs-java-sdk repo with maven and I can run the SendCommand sample with java. However, differents commands seems to work unproperly :

Thanks for your review !

Kiwa21 commented 7 years ago

Actually, same thing is happening with the C# SDK

https://github.com/ugcs/ugcs-dotnet-sdk/blob/master/UGCS.Example/UGCS.Console/Program.cs

When using only the Click&Go function, copter start moving, but not at the right location ? Seems to never stop but I don't know where it is going !

episarenko commented 7 years ago

Hi,

target position for the waypoint command should be specified in radians not in degrees. If everything is correct could you please post the full command string here (including args).

Regarding the wrong home altitude - I'll check it and reply shortly.

episarenko commented 7 years ago

Yes there is an issue with the wrong target altitude in the RTH. It only affects ugcs emulator drones and will be fixed in 2.12. I hope it will not cause much trouble for you.