- fgTie("/instrumentation/turn-indicator/serviceable",
- &_gyro, &Gyro::is_serviceable);
- fgTie("/instrumentation/turn-indicator/spin",
+ std::ostringstream temp;
+ string branch;
+ temp << _num;
+ branch = "/instrumentation/" + _name + "[" + temp.str() + "]";
+
+ fgTie((branch + "/serviceable").c_str(),
+ &_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
+ fgTie((branch + "/spin").c_str(),