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

Jump to navigation Jump to search
m
Line 3: Line 3:
= Introduction =
= Introduction =


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. You can configure FlightGear to use that protocol directly with your serial device, through network to secondary program which handles serial, etc.  
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. You can configure FlightGear to use that protocol directly with your serial device, through network to secondary program which handles serial, etc.  


Of course, in FlightGear, you can then use [[Nasal]] scripting to handle and modify the properties being sent/received by whatever logic you desire.
Of course, in FlightGear, you can then use [[Nasal]] scripting to handle and modify the properties being sent/received by whatever logic you desire.

Navigation menu