On 03/03/2010 06:13 AM, Alasdair wrote: > I am using FG cvs and have recently noticed that commands such as: > fgfs --prop:/instrumentation/nav/radials/selected-deg=63 > no longer have any effect. > > --prop:/instrumentation/nav/frequencies/selected-mhz=108.90 > works fine.
I observe the same bug here. Only nav[0] is affected. It's a bug in gps.cxx. Or maybe multiple bugs. Why the gps.cxx code has a compiled-in reference to /instrumentation/nav[0]/radials/selected-deg is a mystery to me. Why the gps.cxx code thinks it can reach over and set the OBS on a KI-209 or similar indicator head is a mystery to me. Why the gps.cxx code runs at all in aircraft that don't have a gps receiver installed is also a mystery to me. The following workaround is something Mr. Spock would describe as "crude but effective": diff --git a/src/Instrumentation/gps.cxx b/src/Instrumentation/gps.cxx index 2f7455b..9bca740 100644 --- a/src/Instrumentation/gps.cxx +++ b/src/Instrumentation/gps.cxx @@ -250,6 +250,7 @@ GPS::Config::getExternalCourse() const void GPS::Config::setExternalCourse(double aCourseDeg) { + return; if (!_extCourseSource) { return; } ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel