Go Back   Knife Edge > Developer's Corner > FlightAxis Link
Use of this site is subject to our Terms of Use. | Looking for technical support? Read this!

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-17-2017, 06:20 PM
Jeremy Sebens's Avatar
Jeremy Sebens Jeremy Sebens is offline
Registered User
 
Join Date: Oct 2006
Posts: 16
FlightAxis Link - network access to RealFlight for developers.

Knife Edge software is pleased to release FlightAxis Link. This is a beta feature for RealFlight 8, and allows you to connect to the simulator over the network. This allows for autopilot development, creation of training environments for your flight control systems, and any number of other applications.

This technology has been in use by a group of ArduPilot developers, resulting in some exciting new flight modes. We are looking forward to seeing what else can be made with it.

Watch this spot for more information. If you'd like to sign up for an unlock code, check out the product page: FlightAxis Link
Reply With Quote
  #2  
Old 11-17-2017, 09:06 PM
tridge tridge is offline
Registered User
 
Join Date: Nov 2015
Posts: 37
ArduPilot and RF8 LINK

Thanks Jeremy!
You can see a bit more information about how ArduPilot can use RF8 here:
http://ardupilot.org/dev/docs/sitl-with-realflight.html
and here is a video showing a recent effort building a "thrust vectored belly sitter" model that can be flown in RF8 using ArduPilot:
https://www.youtube.com/watch?v=n-uZB3oN_tY
There is a discussion on our efforts to create new models here:
https://discuss.ardupilot.org/t/buil...8-models/23106
We're storing our models in github here:
https://github.com/ArduPilot/SITL_Models
the most recent model (which goes with the above video) is here:
https://github.com/ArduPilot/SITL_Mo...ers/Caipirinha
we've still got a lot to learn about building models, but we're delighted with what we've got working so far.

On behalf of the ArduPilot developer and user community I'd like to say a huge thank you to KnifeEdge and especially to Jeremy Sebens for making this possible. It really revolutionizes autopilot development for us. I've been using it for more than 2 years now in a beta form and it has been instrumental in the development of many new flight features for ArduPilot, especially for VTOL aircraft.
Reply With Quote
  #3  
Old 11-21-2017, 02:53 PM
adcam adcam is offline
Registered User
 
Join Date: Nov 2017
Posts: 2
unlock link functionality for realflight

Hello

following the instructions, I have this error message

Incorrect flight axis callback codeform

Is there any specific syntax to type ?

Thanks for your support
Reply With Quote
  #4  
Old 11-22-2017, 12:45 AM
Jeremy Sebens's Avatar
Jeremy Sebens Jeremy Sebens is offline
Registered User
 
Join Date: Oct 2006
Posts: 16
adcam, the callback code is of the form LINK-12345678. The numbers will be different for you, but it should begin with "LINK-"

If that doesn't straighten it out for you, send me a PM, and we can troubleshoot further.
Reply With Quote
  #5  
Old 11-22-2017, 01:37 AM
BrokeDad's Avatar
BrokeDad BrokeDad is offline
Registered User
 
Join Date: Dec 2014
Posts: 920
I had the same problem (error code) and I put in the LINK-(Numbers) code. This was a day after the original post. I eventually gave up trying.
Reply With Quote
  #6  
Old 11-22-2017, 11:09 AM
Jeremy Sebens's Avatar
Jeremy Sebens Jeremy Sebens is offline
Registered User
 
Join Date: Oct 2006
Posts: 16
OK guys, thanks for the reports. We're looking into it at our end, and I expect we'll have it resolved very soon.
Reply With Quote
  #7  
Old 11-22-2017, 01:56 PM
Ryan Douglas's Avatar
Ryan Douglas Ryan Douglas is offline
Administrator
 
Join Date: Mar 2002
Location: Corvallis, OR
Posts: 2,617
This should work for you now. Please try again.
Reply With Quote
  #8  
Old 11-22-2017, 03:37 PM
adcam adcam is offline
Registered User
 
Join Date: Nov 2017
Posts: 2
it works !

I will receive the notification in 24 hours

Many thanks
Reply With Quote
  #9  
Old 11-23-2017, 01:31 AM
Stevesies Stevesies is offline
Registered User
 
Join Date: Nov 2017
Posts: 2
Hello all,

Are there any notes regarding how the Flight Axis interface works apart from the ardupilot SITL implementation? Summary of how variables, datatypes, flow?

Cheers,
Reply With Quote
  #10  
Old 11-23-2017, 06:36 AM
BrokeDad's Avatar
BrokeDad BrokeDad is offline
Registered User
 
Join Date: Dec 2014
Posts: 920
It worked now. I assume the code will be sent to the email on my KE forum profile. Thanks for getting it fixed.

For those looking to download the file: Quadcopter X - direct throttles_AV.RFX. It's here: (It took me a while to find)

https://github.com/ArduPilot/SITL_Mo...rottles_AV.RFX

Last edited by BrokeDad; 11-23-2017 at 06:46 AM.
Reply With Quote
  #11  
Old 11-27-2017, 03:48 PM
Ryan Douglas's Avatar
Ryan Douglas Ryan Douglas is offline
Administrator
 
Join Date: Mar 2002
Location: Corvallis, OR
Posts: 2,617
Quote:
Originally Posted by Stevesies View Post
Are there any notes regarding how the Flight Axis interface works apart from the ardupilot SITL implementation? Summary of how variables, datatypes, flow?
I'm not sure what we have in the way of documentation. Jeremy Sebens is in a better position to answer this but is currently out of the office. Please check back in a day or so.
Reply With Quote
  #12  
Old 11-27-2017, 03:48 PM
Ryan Douglas's Avatar
Ryan Douglas Ryan Douglas is offline
Administrator
 
Join Date: Mar 2002
Location: Corvallis, OR
Posts: 2,617
As of this writing, all requested unlock codes have been sent.
Reply With Quote
  #13  
Old 11-27-2017, 06:20 PM
tridge tridge is offline
Registered User
 
Join Date: Nov 2015
Posts: 37
Here is a typical protocol packet for LINK:
http://uav.tridgell.net/RealFlight/data-exchange.txt
together with the ArduPilot code that should help you get going. ArduPilot code is here:
https://github.com/ArduPilot/ardupil...M_FlightAxis.h
https://github.com/ArduPilot/ardupil...FlightAxis.cpp
I'd be happy to answer questions

Last edited by tridge; 11-27-2017 at 06:20 PM. Reason: additional info
Reply With Quote
  #14  
Old 11-28-2017, 02:54 PM
Jeremy Sebens's Avatar
Jeremy Sebens Jeremy Sebens is offline
Registered User
 
Join Date: Oct 2006
Posts: 16
Some additional information is available in this Q&A thread. We don't have a formal set of documentation yet, but the ArduPilot implementation should give you a good start.

Thanks for the links, tridge - I've included a link to your post in the Q&A.
Reply With Quote
  #15  
Old 11-28-2017, 04:28 PM
tridge tridge is offline
Registered User
 
Join Date: Nov 2015
Posts: 37
Hi Jeremy,
What do you think we should do about posting models setup for use with LINK in the swap pages? The reason I ask is that the models when setup for LINK tend not to be suitable for flight without LINK (eg. elevon mixing, expo and dual-rates removed, tilt rotor setups etc). If we just post them as RF8 models then it could annoy people who download them and can't fly them.
For the tailsitter that Lorbass and I did recently I posted a manual-flight version (setup with an elevon mixer and expo), but perhaps we should have a LINK category in the swap pages for models and model variants that are setup for use with an external controller?
For now we've been keeping our models in a separate SITL_Models git repo on github.com, and maybe that is sufficient, but I wanted to check with you if you think having them on the swap pages too is worthwhile.
Cheers, Tridge

Last edited by tridge; 11-28-2017 at 04:29 PM. Reason: fixed typo
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:17 PM.