Thank you for your help. I tried using the CommandArgument you specified and now I'm getting the following error:
2017-07-13 17:11:38,676 WARN [pool-9-thread-1] com.ugcs.ucs.service.command.CommandServiceImpl - Cannot send…"
"Hi David,
Do you see something like "lock acquired by <User> admin" in your ucs.log?
If not, instead of updateRouteTask.Value.Object.Route.Id try to use the vehicle ID. This worked for me:
/* lock request */AcquireLockRequest ALRequest = new…"
I decided to try and fly the Phantom 3 Pro using click&go. From the UgCS client it works well (on simulation)
When I use the .NET UgCS console SDK exmaple (from here) I get the following error in the log file:
2017-07-12 13:13:14,282…"
"Hi Sergey,Looking at the Drone Specific Commands I see Phantom 3 only supports: Auto, Manual, Click&Go, Return Home, takeoff, land, Hold and Continue.
Is there a place where of these command are explained?
When using pixhawk I used the following…"
Again, thank you very much for help.
I have tried the following sequences:
1. AcquireLockRequest + SendCommandRequest(code = "takeoff_command") - no success*
2. AcquireLockRequest + SendCommandRequest(code = "mnual") +…"
Attached are two file:
1. The current source code
2. The full log, from starting the UgCS server. My program starts at line 460.Program.csucs_full_log_using_device_with_lock.log"
"Some more information:After trying many different commands and failing with the same error ("Action requires exclusive vehicle control") I managed to get a different response when submitting "AcquireLockRequest". Now I'm getting the following error…"
I started checking the UgCS logs, and seem to have found an issue (which I can't understand) in ucs.log.
The issue is the same both when using vehicle_id or the vehicle object. To create minimal log, this is the log starting when my C#…"
Thank you for your reply.
I already noticed the mistake I had regarding the userSelectedID and fixed it, but it didn't change the behavior.
Now I ran the code suggested and got the same results.
Hi,I'm trying to use UgCS .NET SDK to control my DJI Phantom 3 Pro. I wanted to start with the most basic functionality - arm/disarm. I am able to connect to the UgCS server, get the list of vehicles and select the P3P, but then when I send the Arm…