Re: [Flightgear-devel] Weather

2012-11-12 Thread HB-GRAL
Am 12.11.12 08:21, schrieb Renk Thorsten:
 Flightgear has a nice (local and global) weather implementation AFAIK.
 Are there some ideas (or solutions) how to map custom or shared weather
 values in a (internal or external) weather radar ?

 Someone was working on that, and we got to the point that Advanced Weather 
 writes thunderstorm info into the wxradar section of the property tree. If 
 the wxradar ever picked up that info and displayed anything I don't know. If 
 you're interested in pursuing this further, it's easy to extend to include 
 other precipitation info.

 Basically the concept is that the wxradar gets a very abstract set of data 
 and 'fakes' a plausible display, because if you would acutally display the 
 rain distribution we generate under a storm, you'd see a very nice and 
 utterly unrealistic circle :-)

 * Thorsten


Hm, the wxradar ... couldn’t find that much documentation about it but 
will do more research in code and property tree, thanks for pointing me 
to this. Could this weather properties be shared trough network somehow 
? Sorry this dumb questions, I just had the intention to show flightgear 
weather on a external map/radar and now I need a contemporary way how to 
get i.e. the thunderstorm data to show.

Could a thunderstorm be shared over network basically ? Or better, 
should weather be shared trough a RTI federation ? Is there some kind of 
a weather engine and interface for pilots/teacher/atc already ? Thanks 
to everyone pointing me into the right direction for this topic.

-Yves







--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Weather

2012-11-12 Thread Renk Thorsten
 Could this weather properties be shared trough network somehow
 ? 

No idea, I'm not into MP at all, so I know next to nothing about how easy or 
difficult it is to transmit anything more.

 Sorry this dumb questions, I just had the intention to show flightgear
 weather on a external map/radar and now I need a contemporary way how to
 get i.e. the thunderstorm data to show.

I'm not sure how this is supposed to work. Weather works currently in a rather 
plane-centered approach, i.e. in Basic Weather the weather everywhere in the 
sim is how it is at the plane's location (i.e. if you can't see a thunderstorm, 
there isn't one elsewhere either), Advanced Weather has a limited horizon of 
'knowing' the weather in a radius of ~150 km around you. 

Neither system is in sync with the MP server - you can use any weather you 
like, online or offline, so in a formation flight one plane can be in bright 
sunlight whereas the other can be in foggy dawn (just look at the FGUK event 
screenshots to see how different individual people see weather). It's not clear 
to me what an external map *should* then be showing if MP use doesn't force 
same weather for everyone.

 Could a thunderstorm be shared over network basically ? Or better,
 should weather be shared trough a RTI federation ? Is there some kind of
 a weather engine and interface for pilots/teacher/atc already ?

There's a lengthy discussion on sharing weather in a rather general context 
over MP here

http://www.flightgear.org/forums/viewtopic.php?f=69t=15516

The consensus seems to be that (with some limitations) this can be done in 
principle. Just someone would need to do it in practice, and I'm not going to 
do it because I'm not into MP in the first place, so this seems to be where 
this is stuck.

Hope that helps a bit!

* Thorsten
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] flight recorder / replay system

2012-11-12 Thread James Turner

On 10 Nov 2012, at 22:44, ThorstenB bre...@gmail.com wrote:

 I'll document the details of how to create a tutorial (add text 
 messages) later. For now, I'd like to know if the basic system is 
 working everywhere, and if recorded tapes work across systems.
 
 When something is (not) working, let me know.

Works great here, except the livery / UV coords on the beechcraft were screwed 
up. Don't see how this could be related to your code, more likely an Intel 
graphics / Mac issue :)

The text prompts are great.

James

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Weather

2012-11-12 Thread HB-GRAL
Am 12.11.12 10:45, schrieb Renk Thorsten:

 The consensus seems to be that (with some limitations) this can be done in 
 principle. Just someone would need to do it in practice, and I'm not going to 
 do it because I'm not into MP in the first place, so this seems to be where 
 this is stuck.

 Hope that helps a bit!

Yes, thanks, that helps a bit. I searched the forums for this topic but 
unfortunately I couldn’t find this thread some time ago. It answers a 
lot of questions of course.

I see some differences to what I’m thinking about, it’s not to share 
hundreds of cloud positions trough a dedicated distribution system. All 
I need for the radar (aka map) and a plane to simulate weather 
condition is some metar-like data, where i.e. you can get the center and 
movement of a thunderstorm, this storm can be generated and the data can 
be shared trough network. I don’t know if this makes sense for anyone 
else, for me it does at the moment. When I read the forum thread I fear 
my approach is too simple :-(

But if this thunderstorm looks exactly the same from different angles is 
not that important in case there IS a thunderstorm probably. Sharing the 
center position, pressure, movement, winds and probably cloud density 
over network is sufficient, in case this data could be shared in 
metar-like system somehow. AFAIK fg can get metars, probably some simple 
weather situation can be shared trough artificial metars? So another 
dumb question, advanced weather is not writing metars, is it? Or more 
general question, does advanced weather in general deal with metars or 
is this something that is only used with basic weather?

-Yves



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Att: Syd - Changes to gps-nav.xml for b1900d

2012-11-12 Thread Nigel Mackay
I have made a few changes to the gps-nav tutorial for the b1900d. Mostly 
typos.


Macnab
PropertyList
nameGPS Navigation/name
descriptionGPS waypoint navigation how-to/description
interval2/interval

init
set
propertyinstrumentation/gps/wp/wp[1]/ID/property
value/value
/set
set
propertyinstrumentation/gps/serviceable/property
value0/value
/set
/init


step
message
Make sure aircraft is running... power on.{|.}
Press power button on the GPS unit{|.}
/message
view
heading-offset-deg322.2/heading-offset-deg
pitch-offset-deg-22.2/pitch-offset-deg
field-of-view10/field-of-view
/view
error
messagePower up the GPS{|.}
Nav 1 page will display{|.}
/message
condition
equals
propertysystems/electrical/outputs/gps/property
value0/value
/equals
/condition
/error
exit
condition
greater-than
propertysystems/electrical/outputs/gps/property
value0/value
/greater-than
/condition
/exit
/step

step
message
Open Equipment/GPS Settings.{|.}
Select a waypoint type , and enter the ID.{|.}
Press DTO.{|.}
Close the dialog
/message
view
heading-offset-deg322.2/heading-offset-deg
pitch-offset-deg-22.2/pitch-offset-deg
field-of-view12/field-of-view
/view
error
message
Enter waypoint type and ID in the Equipment/GPS dialog.{|.}
Waypoint ID will appear at the top of the  NAV1 page{|.}
when active{|.}
!-- Currently it won't, due to a reported bug. Bug ID 933 --
/message
condition
equals
propertyinstrumentation/gps/wp/wp[1]/ID/property
value/value
/equals
/condition
/error
exit
condition
not-equals
propertyinstrumentation/gps/wp/wp[1]/ID/property
value/value
/not-equals
/condition
/exit
/step

step
message
Press the GPS CRS button ON/OFF/ON until GPS heading appears on the HSI{|.}
/message
view
heading-offset-deg357.3/heading-offset-deg
pitch-offset-deg-23.4/pitch-offset-deg
field-of-view25/field-of-view
/view
error
message
Press GPS CRS again{|.}
GPS heading will display on the HSI when GPS mode enabled.{|.}
/message
condition
not
propertyinstrumentation/nav/slaved-to-gps/property
/not
/condition
/error
exit
condition
propertyinstrumentation/nav/slaved-to-gps/property
/condition
/exit
/step

step
message
Open Autopilot dialog (F11),and adjust HEADING{|.}
to match COURSE.{|.}
and white TO arrow appears{|.}
/message
view
heading-offset-deg0.45/heading-offset-deg
pitch-offset-deg-30/pitch-offset-deg
field-of-view12/field-of-view
/view
error
message
Adjust HEADING setting.{|.}
/message
condition
and
greater-than
propertyinstrumentation/flightdirector/hsi/crs-deflection/property
value0.1/value
/greater-than
less-than
propertyinstrumentation/flightdirector/hsi/crs-deflection/property
value-0.1/value
/less-than
not
propertyinstrumentation/flightdirector/hsi/to-flag/property
/not
/and
/condition
/error
exit
condition
and
less-than
propertyinstrumentation/flightdirector/hsi/crs-deflection/property
value0.1/value
/less-than
greater-than
propertyinstrumentation/flightdirector/hsi/crs-deflection/property
value-0.1/value
/greater-than
propertyinstrumentation/flightdirector/hsi/to-flag/property
/and
/condition
/exit
/step

step
message
Set 

[Flightgear-devel] download_and_compile.sh

2012-11-12 Thread Pat
I've been learning a lot about Linux development by reading the
download_and_compile.sh.  I have a few ideas for enhancements to the
script.

Is anyone keeping a list of requested enhancements to the script?

Is this list the right place for discussion of the script and changes
to it?

-Pat

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Weather

2012-11-12 Thread Renk Thorsten
 But if this thunderstorm looks exactly the same from different angles is
 not that important in case there IS a thunderstorm probably. Sharing the
 center position, pressure, movement, winds and probably cloud density
 over network is sufficient, in case this data could be shared in
 metar-like system somehow.
 AFAIK fg can get metars, probably some simple
 weather situation can be shared trough artificial metars? So another
 dumb question, advanced weather is not writing metars, is it? Or more
 general question, does advanced weather in general deal with metars or
 is this something that is only used with basic weather?

Advanced Weather can parse METAR info and translate it into a weather 
situation. But the METAR format doesn't include position info on a storm 
center, a METAR report will provide you the information that there is a 
thunderstorm somewhere in the vicinity of a weather station, but that's about 
it. Advanced Weather is not writing METAR info - admittedly I never saw the 
point why this would be useful, although in theory it could - internally it has 
all the info needed to assemble a METAR string, so we could generate METAR 
strings based on the offline weather engine and let airports report those if we 
like. 

Advanced Weather manages weather in discrete 40x40 km tiles. A tile has a high 
level representation (like 'high pressure') as long as it's not generated, when 
it becomes generated that info is fleshed out, it gets values for pressure, 
temperature, wind, visibility, light absorption of the atmosphere,... and it 
gets a large array of all clouds in the tile. The position of any cloud in the 
tile, specifically also a storm, is generated randomly inside the tile.

Dependent on what accuracy you need, there are various options. From simple to 
complicated:

* Simply feeding a METAR string reporting thunderstorms will generate multiple 
cells of thunderstorms - from the time on when you feed the new string, all 
subsequent tiles will generate storms till a new report comes in. In this way, 
you can generate roughly the same weather for all planes approaching a 
location, but your target region is 100 km sized or so, because you can't 
precisely control when tiles are built, as this depends on what visibility 
settings the various MP clients run locally. This should work out of the box.

* A more advanced option is to instruct the tile manager to build a special 
tile when the tile center is close to a pre-defined location. This would allow 
you to place a storm somewhere in a 40x40 area, but two MP clients might see it 
in different locations inside this area. This requires ~20 lines of Nasal 
inserted into the tile manager, including the code which passes the location at 
which the storm is supposed to appear.

* A low level Nasal call like local_weather.create_medium_thunderstorm = 
func(lat, lon, alt, alpha); will immediately place you a storm at a given 
location. If Advanced Weather is currently running, all the goodies like 
turbulence and reduced visibility will work alongside and the storm will drift 
in the wind. If it isn't running, all you get are the clouds. So there's a 
simple-to-call function to place a storm at a precise location, but you'd have 
to write the management structure around it - how is it called, how is it 
removed, ...? That's probably a few hundred lines of Nasal. 

* The most advanced option is to do exact synchronization over the MP protocol 
by exchanging random seeds between clients. That's not so much additional 
Nasal, maybe a few hundred lines, but requires changes in other places as well.

Since I'm not sure what exactly you want to do, I can't really tell you what 
the best option is.

Cheers,

* Thorsten
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] download_and_compile.sh

2012-11-12 Thread ThorstenB
On 12.11.2012 14:25, Pat wrote:
 I've been learning a lot about Linux development by reading the
 download_and_compile.sh.  I have a few ideas for enhancements to the
 script.

 Is anyone keeping a list of requested enhancements to the script?

 Is this list the right place for discussion of the script and changes
 to it?

The script is maintained by Francesco Brisa. Not sure if he's reading 
this list. Otherwise try contacting him directly (see contact details in 
script header).

cheers,
Thorsten

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Att: Syd - Changes to gps-nav.xml for b1900d

2012-11-12 Thread syd adams
Thank you.Im currently upgrading the flightdeck and will add this fix.
Syd

On Mon, Nov 12, 2012 at 4:49 AM, Nigel Mackay nmac...@iburst.co.za wrote:
 I have made a few changes to the gps-nav tutorial for the b1900d. Mostly
 typos.

 Macnab

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_nov
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] download_and_compile.sh

2012-11-12 Thread Francesco Angelo Brisa
Yes, reading :-)


2012/11/12 ThorstenB bre...@gmail.com

 On 12.11.2012 14:25, Pat wrote:
  I've been learning a lot about Linux development by reading the
  download_and_compile.sh.  I have a few ideas for enhancements to the
  script.
 
  Is anyone keeping a list of requested enhancements to the script?
 
  Is this list the right place for discussion of the script and changes
  to it?

 The script is maintained by Francesco Brisa. Not sure if he's reading
 this list. Otherwise try contacting him directly (see contact details in
 script header).

 cheers,
 Thorsten


 --
 Monitor your physical, virtual and cloud infrastructure from a single
 web console. Get in-depth insight into apps, servers, databases, vmware,
 SAP, cloud infrastructure, etc. Download 30-day Free Trial.
 Pricing starts from $795 for 25 servers or applications!
 http://p.sf.net/sfu/zoho_dev2dev_nov
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel