Re: [Flightgear-devel] LaRCsim broken?

2012-01-31 Thread Frederic Bouvier
You can try to switch on ENABLE_UIUC_MODEL too as one of the undefined relates 
to uiuc

-Fred

- Mail original -
> De: "D-NXKT" 
> Objet: [Flightgear-devel] LaRCsim broken?
> 
> Hello Fred,
> 
> thanks for your reply. I wasn't aware of this option.
> 
> I assume  "configuring fg with Cmake" means setting
> "ENABLE_LARCSIM:BOOL=ON" in
> "CMakeCache.txt". After doing this LaRCsim is compiled with some
> warnings but during linking I get the following errors:
> 
> Linking CXX executable fgfs
> ../FDM/libfgFDM.a(LaRCsim.cxx.o): In function
> `FGLaRCsim::copy_from_LaRCsim()':
> LaRCsim.cxx:(.text+0xad0): undefined reference to `aircraft_'
> LaRCsim.cxx:(.text+0xb91): undefined reference to `aircraft_'
> LaRCsim.cxx:(.text+0xbe7): undefined reference to `aircraft_'
> LaRCsim.cxx:(.text+0xc19): undefined reference to `aircraft_'
> ../FDM/libfgFDM.a(LaRCsim.cxx.o): In function
> `FGLaRCsim::update(double)':
> LaRCsim.cxx:(.text+0xf03): undefined reference to `aircraft_'
> ../FDM/libfgFDM.a(LaRCsim.cxx.o):LaRCsim.cxx:(.text+0x1660): more
> undefined
> references to `aircraft_' follow
> ../FDM/libfgFDM.a(ls_step.c.o): In function `uiuc_init_vars':
> ls_step.c:(.text+0x1b): undefined reference to `uiuc_init_aeromodel'
> ls_step.c:(.text+0x26): undefined reference to `uiuc_initial_init'
> ...
> ...
> ...
> 
> Is there something else I should know?
> 
> Will LaRCsim be "on" or "off" in the upcoming release?
> 
> (And how do I reply to messages correctly? I'm not familiar with
> mailing-
> lists. Just found your message in Flightgear-devel Archives.)
> 
> 
> Thanks for your effort
> 
> D-NXKT
> 
> 
> 
> --
> 
> Make sure that LaRCsim is selected when configuring fg with Cmake
> 
> Regards,
> -Fred
> 
> - Mail original -
> > De: "D-NXKT" 
> > À: flightgear-devel@...
> > Envoyé: Mardi 31 Janvier 2012 01:02:27
> > Objet: [Flightgear-devel] LaRCsim broken?
> > 
> > Hello,
> > 
> > could it be that LaRCsim is broken or switched off?
> > 
> > I noticed that the LaRCsim planes don't work since a while (for
> > me).
> > Following message appears during the start procedure:
> > Fatal error: Unrecognized flight model 'larcsim', cannot init
> > flight
> > dynamics
> > model.
> > 
> > Tested with ASW20, wrightFlyer and airwaveXtreme150.
> > FlighGear, SimGear and fgdata are up to date (next-branch).
> 
> 
> 
> 
> 
> --
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft
> developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
> MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
> 

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] LaRCsim broken?

2012-01-31 Thread D-NXKT
Hello Fred,

thanks for your reply. I wasn't aware of this option.

I assume  "configuring fg with Cmake" means setting "ENABLE_LARCSIM:BOOL=ON" in 
"CMakeCache.txt". After doing this LaRCsim is compiled with some warnings but 
during linking I get the following errors:

Linking CXX executable fgfs
../FDM/libfgFDM.a(LaRCsim.cxx.o): In function 
`FGLaRCsim::copy_from_LaRCsim()':
LaRCsim.cxx:(.text+0xad0): undefined reference to `aircraft_'
LaRCsim.cxx:(.text+0xb91): undefined reference to `aircraft_'
LaRCsim.cxx:(.text+0xbe7): undefined reference to `aircraft_'
LaRCsim.cxx:(.text+0xc19): undefined reference to `aircraft_'
../FDM/libfgFDM.a(LaRCsim.cxx.o): In function `FGLaRCsim::update(double)':
LaRCsim.cxx:(.text+0xf03): undefined reference to `aircraft_'
../FDM/libfgFDM.a(LaRCsim.cxx.o):LaRCsim.cxx:(.text+0x1660): more undefined 
references to `aircraft_' follow
../FDM/libfgFDM.a(ls_step.c.o): In function `uiuc_init_vars':
ls_step.c:(.text+0x1b): undefined reference to `uiuc_init_aeromodel'
ls_step.c:(.text+0x26): undefined reference to `uiuc_initial_init'
...
...
...

Is there something else I should know?

Will LaRCsim be "on" or "off" in the upcoming release?

(And how do I reply to messages correctly? I'm not familiar with mailing-
lists. Just found your message in Flightgear-devel Archives.)


Thanks for your effort

D-NXKT



--

Make sure that LaRCsim is selected when configuring fg with Cmake

Regards,
-Fred

- Mail original -
> De: "D-NXKT" 
> À: flightgear-devel@...
> Envoyé: Mardi 31 Janvier 2012 01:02:27
> Objet: [Flightgear-devel] LaRCsim broken?
> 
> Hello,
> 
> could it be that LaRCsim is broken or switched off?
> 
> I noticed that the LaRCsim planes don't work since a while (for me).
> Following message appears during the start procedure:
> Fatal error: Unrecognized flight model 'larcsim', cannot init flight
> dynamics
> model.
> 
> Tested with ASW20, wrightFlyer and airwaveXtreme150.
> FlighGear, SimGear and fgdata are up to date (next-branch).





--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] screen.nas FONT size

2012-01-31 Thread Torsten Dreyer
Am 31.01.2012 20:58, schrieb Curtis Olson:

> The HUD is an interesting idea -- I was able to quickly build a custom
> hud config and write my words individually to a property name for
> display.  With the HUD I can specify a font and a size, but if I scale
> up the size, the font get's really pixelated.
Texture font :-(
>
> The hud "threw" an error when I tried to specify a liberation ttf font.
>
> Are the ttf fonts only available as 3d objects?
Yes.
> Will they work in 2d panels?
No
> If they are 3d only, what would it take to create a simple
> object that I could place in the scene as part of the aircraft model
> (maybe out front somewhere in the main view???) to display text?
There was a forum topic some time ago:
http://flightgear.org/forums/viewtopic.php?f=14&t=5740

Check FGDATA/Docs/README.osgtext. Basically you add a to your model file 
something like

   ...all your other model animations...
   
 ... all the fancy text controlling properties go here
   


You might want to play with
screen
This should keep your text on the same position on the screen, no matter 
where you look at.

and use
true
so you can see a box around the area where you text should be.

Anders has many examples for osgtext in his Zeppelin ifyou need a hint.

Torsten

>
> Thanks,
>
> Curt.
> --
> Curtis Olson:
> http://www.atiak.com - http://aem.umn.edu/~uav/
> http://www.flightgear.org - http://gallinazo.flightgear.org
>
>
>
> --
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
>
>
>
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] screen.nas FONT size

2012-01-31 Thread Curtis Olson
On Tue, Jan 31, 2012 at 1:03 PM, ThorstenB  wrote:

> Or you could create a custom HUD with the necessary text labels (fixed
> text, or referring to string properties). You can configure a font for
> each label - and add a property condition to enable/disable specific
> labels. FG has so many ways...
>

He Thorsten,

The HUD is an interesting idea -- I was able to quickly build a custom hud
config and write my words individually to a property name for display.
 With the HUD I can specify a font and a size, but if I scale up the size,
the font get's really pixelated.

The hud "threw" an error when I tried to specify a liberation ttf font.

Are the ttf fonts only available as 3d objects?  Will they work in 2d
panels?  If they are 3d only, what would it take to create a simple object
that I could place in the scene as part of the aircraft model (maybe out
front somewhere in the main view???) to display text?

Thanks,

Curt.
-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] screen.nas FONT size

2012-01-31 Thread ThorstenB
Am 31.01.2012 19:46, schrieb Torsten Dreyer:
> The liberation fonts are to be used with OSGText (check
> $FGDATA/Docs/README.osgtext). With OSGText, the font is rendered by OSG
> and you put text objects into the scenegraph just like any other 3d
> object. You can attach it to the world, your aircraft or you screen
> (which might be what you want).

Or you could create a custom HUD with the necessary text labels (fixed 
text, or referring to string properties). You can configure a font for 
each label - and add a property condition to enable/disable specific 
labels. FG has so many ways...

cheers,
Thorsten

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] screen.nas FONT size

2012-01-31 Thread Torsten Dreyer
Am 31.01.2012 19:28, schrieb Curtis Olson:
> However, in this case I'm actually trying to help someone with a small
> project.   There is a theory that if you present a message one word at a
> time, with each word flashing up in the same fixed location
 > [..]
That sounds really interesting. Yes, scanning the instruments consumes 
some brain power if you learn to fly IFR. You are trained to scan the 
instruments in a specific order. Presenting them in sequence - I have 
never thought about that. I have to give it a try!
>
> I see (from git) that you are to blame for the liberation fonts in the
> data tree.  However, I can't find any info or docs referencing them or
> explaining how to use them.  Are they used anywhere?  Are they just
> there to look pretty?  Am I missing something obvious?  Or is larger
> fonts something beyond the capability of the gui and only something
> available for 2d/3d objects?
The liberation fonts are to be used with OSGText (check 
$FGDATA/Docs/README.osgtext). With OSGText, the font is rendered by OSG 
and you put text objects into the scenegraph just like any other 3d 
object. You can attach it to the world, your aircraft or you screen 
(which might be what you want).
The gui text you create in screen.nas is rendered by plib which - IIRC - 
can only display texture fonts (*.txf?) and is somewhat limited in it's 
capabilities. It should be able to deal with font sizes but they might 
look ugly as these are pre-rendered to a specific resolution, just like 
textures.

Hope this helps,,

Torsten
>
> Thanks,
>
> Curt.
> --
> Curtis Olson:
> http://www.atiak.com - http://aem.umn.edu/~uav/
> http://www.flightgear.org - http://gallinazo.flightgear.org
>
>
>
> --
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
>
>
>
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] screen.nas FONT size

2012-01-31 Thread Curtis Olson
On Tue, Jan 31, 2012 at 12:23 AM, Torsten Dreyer  wrote:

> Am 30.01.2012 23:57, schrieb Curtis Olson:
> > I want display my text *REAL BIG*
> I know exactly what you mean. That started for me some years ago, too.
> Newspapers, books, price tags in the supermarket - decreasing font sizes
> EVERYWHERE!
>

Hi Torsten,

I know what you mean -- I'm worried that day is not too far off for me too
-- but I'm not sure how far off because I'm losing my depth perception too.
:-)

However, in this case I'm actually trying to help someone with a small
project.   There is a theory that if you present a message one word at a
time, with each word flashing up in the same fixed location (like the
center of the screen) you can actually increase reading rates and
comprehension.  This allows you to read without having to move your eyes to
scan a page -- apparently you are not able to glean much visual information
while your eyes are moving -- so scanning a whole sentence word by word is
inefficient.  I know in the speed reading courses you are taught to not
look word to word, but instead jump through chunks of words and read
several words per eye jump -- even to the point of taking in a whole line
at a time if you can.

I would like to do a rough prototype of such a system and I've been
successful in building something with functionality from the screen.nas
"window" class combined with a listener and a timer.

If it worked with text -- what if we tried it with gauges too?  Rather than
scanning a "classic" instrument panel in a vague state of trance, the
system could present the instruments in sequence -- at the appropriate rate
and sequence to accomplish your scan for you.  I know I'm getting a little
bit "out there" with this, but I was contacted by some researchers that
would like to play around with some of this stuff.

However, now that I have all the mechanics working of presenting a message
word by word in rapid sequence, my problem is that the font is too small
and the word takes up a tiny bit of the screen.  I'd like to use a much
bigger font so the word takes up a much larger proportion of the screen --
and eventually maybe this would be appropriate for a panel mounted device
-- or smaller display -- where the "default" font size wouldn't be big
enough to read -- even with 20-year old eyes.

I see (from git) that you are to blame for the liberation fonts in the data
tree.  However, I can't find any info or docs referencing them or
explaining how to use them.  Are they used anywhere?  Are they just there
to look pretty?  Am I missing something obvious?  Or is larger fonts
something beyond the capability of the gui and only something available for
2d/3d objects?

Thanks,

Curt.
-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Separate Instruments Display

2012-01-31 Thread Torsten Dreyer
Am 31.01.2012 05:33, schrieb Geoff Carlson:
> Greetings,
>
> I am currently working with FlightGear in an academic setting,
> researching flight simulators for a senior design project. My team would
> like to find a way to view the environment simulation and the
> instruments one might find in the cockpit on two separate monitors. I
> was wondering if this functionality already exists in FlightGear or if
> someone could point me in the right direction of how to accomplish this
> goal.
>
> Thank you for your time,
> Geoff

Hi Geoff,

yes - that's all inclusive ;-)

There is the standalone fgpanel utility for the panel display:
http://wiki.flightgear.org/FGPanel

There is multi-monitor support
$FGSRC/docs-mini/README.multiscreen

All linked together might look like this:
http://wiki.flightgear.org/File:LinuxTag2011_LargeSetup.jpg

Hope this helps

Torsten

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Separate Instruments Display

2012-01-31 Thread Geoff Carlson
Greetings,

I am currently working with FlightGear in an academic setting, researching
flight simulators for a senior design project. My team would like to find a
way to view the environment simulation and the instruments one might find
in the cockpit on two separate monitors. I was wondering if this
functionality already exists in FlightGear or if someone could point me in
the right direction of how to accomplish this goal.

Thank you for your time,
Geoff
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel