20,741
edits
m (→Introduction) |
m (→Introduction) |
||
| Line 7: | Line 7: | ||
= 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. A [[Generic Protocol]] allows you to easily import external data into FlightGear's property tree and export properties, too. | ||
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. | ||