Re: [Flightgear-devel] airseed fix

2010-03-14 Thread syd adams
Thanks , I have too many tests running, making errors go by too fast to see
... , missed that one ...


> Nasal runtime error: undefined symbol: set_barber_pole
>
> at /opt/FlightGear/FlightGear_cvs/data/Aircraft/b1900d/Nasal/systems.nas,
> line 132
>  called from: /opt/FlightGear/FlightGear_cvs/data/Nasal/globals.nas,
> line 100
>
> Kind regards,
>
> Alasdair
>
>
--
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


Re: [Flightgear-devel] airseed fix

2010-03-14 Thread Alasdair
On Fri, 2010-03-12 at 18:55 -0800, syd adams wrote:
> Hi guys ,
>  This is another patch for the overspeed 
> It keeps the overspeed properties out of property tree when airspeed
> indicator is not 'overspeed ' enabled 
> No sense putting unused properties in an already heavily populated
> property tree .
> Could someone apply please ? 
> Thanks .
14 Mar 10:30 Zulu CVS gives:

Nasal runtime error: undefined symbol: set_barber_pole

at /opt/FlightGear/FlightGear_cvs/data/Aircraft/b1900d/Nasal/systems.nas, line 
132
  called from: /opt/FlightGear/FlightGear_cvs/data/Nasal/globals.nas,
line 100

Kind regards,

Alasdair


--
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


Re: [Flightgear-devel] airseed fix

2010-03-13 Thread syd adams
Thanks James

On Sat, Mar 13, 2010 at 4:24 AM, James Turner  wrote:

>
> On 13 Mar 2010, at 02:55, syd adams wrote:
>
> > Could someone apply please ?
>
> Done.
>
> James
>
>
>
> --
> 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
>
--
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


Re: [Flightgear-devel] airseed fix

2010-03-13 Thread James Turner

On 13 Mar 2010, at 02:55, syd adams wrote:

> Could someone apply please ? 

Done.

James


--
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


[Flightgear-devel] airseed fix

2010-03-12 Thread syd adams
Hi guys ,
 This is another patch for the overspeed 
It keeps the overspeed properties out of property tree when airspeed
indicator is not 'overspeed ' enabled 
No sense putting unused properties in an already heavily populated property
tree .
Could someone apply please ?
Thanks .
? airspeed.patch
Index: airspeed_indicator.cxx
===
RCS file: /var/cvs/FlightGear-0.9/source/src/Instrumentation/airspeed_indicator.cxx,v
retrieving revision 1.13
diff -U 3 -r1.13 airspeed_indicator.cxx
--- airspeed_indicator.cxx	11 Mar 2010 09:45:48 -	1.13
+++ airspeed_indicator.cxx	13 Mar 2010 02:47:45 -
@@ -41,29 +41,32 @@
 _static_pressure_node = fgGetNode(_static_pressure.c_str(), true);
 _density_node = fgGetNode("/environment/density-slugft3", true);
 _speed_node = node->getChild("indicated-speed-kt", 0, true);
-
+
   // overspeed-indicator properties
+if(_has_overspeed){
 _ias_limit_node = node->getNode("ias-limit",0, true);
 _mach_limit_node = node->getNode("mach-limit",0, true);
 _alt_threshold_node = node->getNode("alt-threshold",0, true);
 _airspeed_limit = node->getChild("airspeed-limit-kt", 0, true);
-
+
 if (!_ias_limit_node->hasValue()) {
-  _ias_limit_node->setDoubleValue(250.0);
+  _ias_limit_node->setDoubleValue(248.0);
 }
-
+
 if (!_mach_limit_node->hasValue()) {
   _mach_limit_node->setDoubleValue(0.48);
 }
-
+
 if (!_alt_threshold_node->hasValue()) {
   _alt_threshold_node->setDoubleValue(13200);
 }
-
+
 string paSource = node->getStringValue("pressure-alt-source",
   "/instrumentation/altimeter/pressure-alt-ft");
 _pressure_alt = fgGetNode(paSource.c_str(), true);
 _mach = fgGetNode("/velocities/mach", true);
+}
+
 }
 
 #ifndef FPSTOKTS
--
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