# Vibrating yaw string

io.include("Aircraft/Generic/soaring-instrumentation-sdk.nas");

var yawstring = YawString.new(
	on_update: update_prop("instrumentation/yaw-string[0]/deflection-deg"), 
	n: 0);
var yawstring2 = YawString.new(
	on_update: update_prop("instrumentation/yaw-string[1]/deflection-deg"), 
	n: 1);

var string_instrument = Instrument.new(
	components: [yawstring, yawstring2],
	enable: 1);
