Sending control commands to GCS via UAVTalk
« on: February 10, 2017, 01:26:45 pm »
Hello, I'm using a Revo mini with OPLink, my final goal is to control the UAV with the computer. Before I develop a system to sysntetize PPM signals from the computer and connect it to the OPlink main port configured for control, I'm wondering if would be possible to send control commands through the UAVTalk protocol.

I'm sorry if it's a non sense question
Thanks,
Angel Segura

Re: Sending control commands to GCS via UAVTalk
« Reply #1 on: February 10, 2017, 07:59:24 pm »
Probably the quickest way to code that would be to hack the GCS HITL page.
I would get HITL working first, then hack it and replace the joystick inputs with your own code.

The benefit of doing it this way is that you have lots of debugging built in with the System page able to view and change UAVO's.

It depends on the language you want to code in too.  There is also the Lp2Go app.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Sending control commands to GCS via UAVTalk
« Reply #2 on: February 10, 2017, 08:43:39 pm »
Hi,

HITL is another stuff, not needed for GCS control.

GCS control plugin can work alone and allow control via UDP like from Matlab :
https://bitbucket.org/librepilot/librepilot/src/758af312b51c1bb39bddfeb807d1a1efe5ce9db7/matlab/GCSPlugin/?at=next
Maybe another way to control vehicle from external computer software, without hack needed.

Re: Sending control commands to GCS via UAVTalk
« Reply #3 on: February 11, 2017, 09:35:37 am »
Well, I'm developing the solution in .NET, I'd like to get rid of the Librepilot CGS, so perhaps take a look at how the Lp2Go works can be a good starting point.

Thanks!