Re: [Flightgear-devel] Generic Headshake/G-compression

2008-04-21 Thread Vivian Meazza
Ron Jensen wrote:

 Sent: 20 April 2008 21:30
 On Sun, 2008-04-20 at 12:55 -0700, Stuart Buchanan wrote:
  Hi All,
  
  Enthused by a comment on the forum by snork 
  (http://www.flightgear.org/forums/viewtopic.php?t=1333), I've been 
  working on an extension to the generic blackout/redout script which 
  attempts to simulate the feeling of compression due to g-forces, by 
  moving the pilot viewpoint vertically depending on the apparent 
  g-force.
  
  This is a simplified version of what vivian, Josh et al. 
 created for 
  the Buccaneer and other aircraft.
  
  Of course, the main advantage of this is that it is completely 
  generic, and pretty lightweight too. The overhead ontop of the 
  redout/blackout is minimal: one extra property read/write 
 per frame, 
  only when the feature is enabled and in cockpit view.
  
  A patch for this is available from 
  http://www.nanjika.co.uk/flightgear/headshake.patch
  
  Comments are very welcome, but I'm particularly interested 
 in peoples 
  views on the following:
  
  1) Obviously this duplicates some aircraft-specific code, 
 and one can 
  argue that this sort of feature is only important for high-energy 
  jets, where it should be modelled in more detail than I have done. 
  I've been playing with this code on the Stampe, A4-F and Pitts, and 
  have felt that it has improved the feeling of realism, but then I 
  wrote it ;) Do people feel it is worth providing a generic 
  implementation, given that for most GA flying is at 2g or less, and 
  this will move the pilot viewpoint 5cm!
 
 It is worthwhile to model generically.  Many aircraft in CVS 
 could benefit from this feature without having to recode it for each.
 
  2) Currently the redout and headshake enabling properties are 
  userarchive, which (as I understand it) means that the user's 
  preference will over-write any aircraft setting. Given that 
 both these 
  generic features duplicate existing aircraft-specific code, 
 I think I 
  should remove this flag, so aircraft designers can 
 over-ride it. Any 
  comments?
 
 STRONGLY OPPOSE.  User preference should absolutely outweigh 
 the aircraft designer.  While I might feel, as an aircraft 
 designer, that a function adds a degree of realism, I can't 
 and don't test on different hardware, monitor resolutions, 
 multi-head setups, hardware simulator setups, etc.  which 
 head-shake may cause problems with.
 
 I personally find it annoying to have the panels jumping 
 around during IFR flight.

Are we talking about the same utility? Headshake as implemented is a
comparatively small effect, which is only visible at moderate to high G
loadings - you should never see it in IFR flight (unless you have been
trying aerobatics in IFR). I can antcipate no interaction with different
hardware, monitor resolutions, or multi-head setups, although it does need
to be disabled for hardware simulator setups. And unless you are seeing a
bug, the movement is gradual and only jumps around in the event of very high
G loadings - in a crash for example. Did you mean dynamic view?

 
  3) At the moment, this feature is limited to the y-offset 
 of the pilot 
  viewpoint. For non-military aircraft,  the most significant 
 g-forces 
  will be felt in the y-axis (in the pilots frame of 
 reference), as they 
  cannot yaw fast enough to cause any in the x-axis, and they 
 don't have 
  enough power to cause any in the z-axis. If it is worth providing a 
  generic feature, is it worth making it multi-dimensional?
 
 It may be worth while to add.  Perhaps it could be used to 
 give a sense of slip/skid for the GA pilot.
 


Vivian


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] b1900d: Missing textures on centre pedestal

2008-04-21 Thread George Patterson
Hi All,

I have just sync'ed my fgfs data from cvs and noted that the b1900d
had been updated. Hoever, there seems to be two missing textures.

osgDB ac3d reader: could not find texture caution-panel.png
osgDB ac3d reader: could not find texture throttles.png


Apart from those two missing files, looks good. I noted that the
Electrical.nas has changed for the aircraft but not sure what. Is
there a viewcvs web front end or similar accessible anonymously?

Thanks for the update though :-)


Regards


George

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] b1900d: Missing textures on centre pedestal

2008-04-21 Thread Torsten Dreyer
 Apart from those two missing files, looks good. I noted that the
 Electrical.nas has changed for the aircraft but not sure what. Is
 there a viewcvs web front end or similar accessible anonymously?

Something like this?

http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/

Enjoy - Torsten

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Flash with altitude change

2008-04-21 Thread Adam Dershowitz


On Apr 19, 2008, at 10:30 AM, Melchior FRANZ wrote:


* Curtis Olson -- Saturday 19 April 2008:

I think Melchior is the expert on this subject.


Hehe ... yes, kind of. It's probably the bug that I introduced
shortly before and fixed again shortly after the 1.0 release.
I don't think there's a way to fix it without recompiling.
Smoothing will certainly help, but I think you'd have to
use a very slow lowpass.

What about using a newer version from CVS?

m.



I did make the minor change that Alex suggested in this discussion:  http://tinyurl.com/3muc7m 
 and then rebuilt and it seems to be working.  Is that essentially  
the change that you were referring to?-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] b1900d: Missing textures on centre pedestal

2008-04-21 Thread Syd
George Patterson wrote:
 On Mon, Apr 21, 2008 at 10:44 PM, Torsten Dreyer [EMAIL PROTECTED] wrote:
   
 Apart from those two missing files, looks good. I noted that the
   
   Electrical.nas has changed for the aircraft but not sure what. Is
   there a viewcvs web front end or similar accessible anonymously?

  Something like this?

  http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/

  Enjoy - Torsten

  -
  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
  Don't miss this year's exciting event. There's still time to save $100.
  Use priority code J8TL2D2.
  
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
  ___
  Flightgear-devel mailing list
  Flightgear-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/flightgear-devel

 

 Hi Torsen,

 Thanks for that.

 Ahh. I have spotted the error that was made which was the textures
 .rgb versions has been replaced with .png but not provided in the
 commit. So easy mistake to make. :-)

 Regards


 George

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
 Don't miss this year's exciting event. There's still time to save $100. 
 Use priority code J8TL2D2. 
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

   
Thanks for catching that ... forgot to add to repository before 
committing...
Syd


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Controlling FlightGear FDM through genericinputwith UDP

2008-04-21 Thread Alex Buzin
Hi!
On Sunday, April 20, 2008 Haluk Sevener wrote:


 All I want to do is just send the commands to a FlightGear instance
 over network with UDP, at the same time listening the properties of
 the aircraft over network by using the same protocol. In other words,
 I want to implement an external control mechanism.

I have the same progrmme. It get from FlightGear terrain elevation and 
send to FG airplane position, orientation, control deposition, etc. The only 
difference is that I have to modify generic protocol for binary i/o.


 Anyway, I started the instances with the following
 commands:

 (master) fgfs --generic=socket,out,1000,127.0.0.1,7755,udp,udptest
 (slave) fgfs --generic=socket,in,1000,127.0.0.1,7755,udp,udptest

Do you really run 2 FlightGear instances at a single PC at 1000Hz? Try 
to run at 100Hz or less.
I think commans must be :
 (master) fgfs --generic=socket,out,100,127.0.0.1,7755,udp,udptest
 (slave) fgfs --generic=socket,in,100,,7755,udp,udptest  --fdm=external

You may try to change host from 127.0.0.1 to localhost on master 
instance.
If you using firewall make sure to open port 7755. I really had this problem 
with firewall.

If this will not help, check udptest.xml as I have wrote. What is in 
input/input tags.

With respect,
Alex


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Flash with altitude change

2008-04-21 Thread Melchior FRANZ
* Adam Dershowitz -- Monday 21 April 2008:
 I did make the minor change that Alex suggested in this discussion: [...]
   and then rebuilt and it seems to be working.  Is that essentially  
 the change that you were referring to?

It's the correct thread. The fix isn't and will probably cause other
problems (jitter in some newer view modes, IIRC), but as long as it
works for you, all is well.  :-)

m.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel