Board index FlightGear Support Interfacing

Modifying AI model offsets on the fly

Connecting two computers, using generic protocol, connecting with Matlab?

Modifying AI model offsets on the fly

Postby techyCoder81 » Fri Jun 14, 2019 9:56 pm

I have an AI craft that I'm creating with an AI scenario, and that I'm then controlling with some nasal. However, I cant seem to figure out how I can modify the offsets of this model on the fly. How would I do that?

Code: Select all
<?xml version="1.0"?>
    <name>test flight scenario</name>
    <description>This scenario is used to demonstrate the flightpath</description>
      <model>Aircraft/my-aircraft.xml</model> <!-- this is the one i need to modify the offsets for -->

Code: Select all
<?xml version="1.0"?>
   <y-m>0</y-m> <!-- these values need to be changed real time -->

Any help?
Posts: 3
Joined: Mon Jun 03, 2019 6:49 pm

Re: Modifying AI model offsets on the fly

Postby Octal450 » Fri Jun 14, 2019 10:30 pm

Not possible. You'll need to use translate animation to move em.

Kind Regards,
What I do: Flight Dynamics, Systems, Canvas Displays, Autoflight, FlyByWire, Cockpit Animations
Aircraft I currently develop: MD-11 (Mainly), Secret, A320-family (Quality over Quantity)

My GitHub|MD-11 and ITAF Dev Discord|Airbus Dev Discord
User avatar
Posts: 4732
Joined: Tue Oct 06, 2015 12:51 pm
Callsign: WTF411/Octal
Version: next
OS: Windows 7/10 x64

Return to Interfacing

Who is online

Users browsing this forum: No registered users and 1 guest