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

SendCommand java samples not working fully #5

Open
Kiwa21 opened this issue Jun 24, 2017 · 3 comments
Open

SendCommand java samples not working fully #5

Kiwa21 opened this issue Jun 24, 2017 · 3 comments

Comments

@Kiwa21
Copy link

Kiwa21 commented Jun 24, 2017

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 :

  • SendCommand -c waypoint : when giving latitude / longitude / altitude and "EMU-COPTER-17" as arguments, I can see the emulation copter moves in the regular client but it does not go to the specified waypoint..?

  • SendCommand -c return_to_home works but final alt is mixing AGL and AMSL.. My home location is AGL 0m and AMSL 329m and copter went to the right lat/long but with AGL 329m..

Thanks for your review !

@Kiwa21
Copy link
Author

Kiwa21 commented Jun 24, 2017

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
Copy link
Contributor

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
Copy link
Contributor

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.

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

2 participants