[Flightgear-devel] newbee

2005-06-19 Thread Jim Campbell
Hi guys, Just returning to flight simulation after many years abscence (well used to have a real job to do!!). Flightgear looks like a really good project to get involved in. I am hoping to look at code optimisation in the refresh loop of the bits that do sums. I am more familiar with compiler

[Flightgear-devel] keyboards etc

2005-06-20 Thread Jim Campbell
Hi, Someone once said that Britain and America are two countries only separated by a common language!! To get away from keyboard I am cannabalising cheap USB gamepads to make switch boxes. My first try is the Logic 3 JP260 which has 10 buttons I can use. However MACOSX reports unknown Vendor

[Flightgear-devel] carb-heat

2005-06-20 Thread Jim Campbell
Hi, On the Cessna 172/150 range of aircraft the carb-heat control is a progressive knob as for mixture. The operators recommendation is indeed that only FULL or off should be used and it is represented as bool in flight gear but is this a correct interpretation. If the actual aircraft panel is

[Flightgear-devel] diffs requested for joystick mods

2005-06-20 Thread Jim Campbell
Apologies guys for not providing diff files for previous suggestions on joysticks. Wanted to see if anyone was interested before I did so! Here we go: For Nasal/controls.nas: diff -up controls.nas.orig controls.nas --- controls.nas.orig Sat Jun 18 15:50:59 2005 +++ controls.nasSat

[Flightgear-devel] optimisation of FlightGear code

2005-07-04 Thread Jim Campbell
Hi folks, Hopefully I would like to start a discussion of Flightgear code optimisation. My first thoughts are that fgfs divides logically into a number of sub-systems: a) Flight Dynamics Modelling (FDM) b) Exterior View c) Cockpit input and output ie joystick controls,switches and displays. d)

[Flightgear-devel] Re: code optimisation

2005-07-06 Thread Jim Campbell
Hi, One comment and some documentation has indicted that FDM doesnt consume much CPU. I ask myself why? The modelling of a generalised rigid body with six degrees of freedom in a rotating frame of reference should max out anyones and everyones CPU! Of course any model is only as good as the

[Flightgear-devel] RFE for jsclient,js_server

2005-07-08 Thread Jim Campbell
Hi, Can the jsclient and the js_server code be extended to allow up to eight joystick axis and the jsclient.cxx code enhanced to accept the button bits? It looks like the js_server.cxx code is encapsulating the button word as long integer but it is not being decoded on jsclient.cxx side.

[Flightgear-devel] Re: jsclient and js_server

2005-07-11 Thread Jim Campbell
Hi, I notice that Plib library allows: #define _JS_MAX_AXES 16 #define _JS_MAX_BUTTONS 32 #define _JS_MAX_HATS 4 so maybe we should stick to these limits. I am also in discussions with Jon (JSB) about server/client communication to and from JSBsim for passing property values back and forth.

[Flightgear-devel] Multiplayer ports

2005-10-15 Thread Jim Campbell
Hi guys, Without wishing to start a flame war and perhaps starting another thread!! Anyone transmitting un-encrypted data across a world wide internet (as opposed to a private intranet) needs to think ahead a little. Every hacker will be rubbing their hands with glee before trying to hit you