Howto:Port I/O from Nasal: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 2: Line 2:


== Introduction ==
== Introduction ==
{{FGCquote
|1= there's no built-in functionality to allow Nasal access to serial ports
|2= {{cite web
  | url    = http://sourceforge.net/p/flightgear/mailman/message/34883538/
  | title  = <nowiki>[Flightgear-devel] Nasal & Serial I/O...</nowiki>
  | author = <nowiki>geneb</nowiki>
  | date  = Feb 25th, 2016
  | added  = Feb 25th, 2016
  | script_version = 0.25
  }}
}}
You can't really 'access' a device from [[Nasal]] directly. What you'll most likely want to do is define a [[generic protocol]] for the properties you're interested in sending between fgfs and your device. A generic protocol allows you to easily import external data into [[FlightGear]]'s [[property tree]] and export properties, too.
You can't really 'access' a device from [[Nasal]] directly. What you'll most likely want to do is define a [[generic protocol]] for the properties you're interested in sending between fgfs and your device. A generic protocol allows you to easily import external data into [[FlightGear]]'s [[property tree]] and export properties, too.


Navigation menu