Todd L. Peters wrote:
I have a couple questions regarding flightgear, please correct me if this is
not the appropriate forum for these questions.
1. I want to set up a model utilizing more than one joystick and I want the
second joystick to direct certain parameters in JSBsim. Can I configure
Erik Hofman wrote:
2. Has anyone interfaced actual hardware, i.e. switches, etc. with
flightgear? Again, are there any references for this?
Yep, it has been done. No there is no single solution. However there
is a network interface which could be used for this. The header files
are also
2. Has anyone interfaced actual hardware, i.e. switches, etc. with
flightgear? Again, are there any references for this?
Adding to what Curtis has said. There is no standard per se regards
connecting custom hardware to FlightGear. Off-the-shelf stuff like
joysticks, throttle quadrants,
strstream would do the trick, but not all compilers support it yet.
Note that strstream is *deprecated* in C++, one should use
stringstreams (sstream) instead. No danger of overflowing any buffers
there. Cf. Josuttis, The C++ Standard Library, Section 13.11.2.
AFAIK, every major platform now
Gerhard Wesp wrote:
strstream would do the trick, but not all compilers support it yet.
Note that strstream is *deprecated* in C++, one should use
stringstreams (sstream) instead. No danger of overflowing any buffers
there. Cf. Josuttis, The C++ Standard Library, Section 13.11.2.
AFAIK, every
On Wed, 02 Apr 2003 10:58:21 +0200
Erik Hofman [EMAIL PROTECTED] wrote:
Gerhard Wesp wrote:
strstream would do the trick, but not all compilers support it yet.
Note that strstream is *deprecated* in C++, one should use
stringstreams (sstream) instead. No danger of overflowing any
Bernie Bright wrote :
STLport has sstream but I doubt if it could be extracted as a stand alone
file. Have you (Erik) tried STLport on your system? If it works then we
probably wouldn't need the simgear compatibility stuff anymore.
Note that MSVC6 does not have sstream while I think VC7
Bernie Bright wrote:
STLport has sstream but I doubt if it could be extracted as a stand alone
file. Have you (Erik) tried STLport on your system? If it works then we
probably wouldn't need the simgear compatibility stuff anymore.
If it did work, I wouldn't have tried generating simething like
Note that MSVC6 does not have sstream while I think VC7 does.
Correct.
I guess MSVC6 is the only platform which doesn't have sstream? Is
there any specific reason why FG has to support a compiler more than 5
years old?
Regards,
-Gerhard
--
| voice: +43 (0)676 6253725 *** web:
Curtis L. Olson wrote:
I tracked down my crash to controls-bind()
There you will find a plethora of places where the code is sprintf'ing
to a char[32] array, but the contents is often longer than 32 bytes.
Might not have been crashing everyone else (building with -g?) but it
was crashing with
Erik Hofman writes:
Is there still no replacement function to do this kind of operation in a
C++ string?
strstream would do the trick, but not all compilers support it yet.
All the best,
David
--
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/
David Megginson wrote:
Frederic Bouvier writes:
MSVC has no 'fmax' function. 'max' is ok (a macro !).
Hmm -- max won't work under GCC because it's an inlined function.
Heh? You mean the inlined (templated) max function from
algorithm/stl_algobase.h? What's wrong with that? It is
David Megginson [EMAIL PROTECTED] said:
I've added a new property, /controls/parking-brake (also available
through FGControls). For both JSBSim and the YASim C172, this
property overrides the toe brakes for the main gear (actually, for
YASim, it is just added then clamped).
The 'B' key
From: David Megginson [EMAIL PROTECTED]
I've added a new property, /controls/parking-brake (also available
through FGControls). For both JSBSim and the YASim C172, this
property overrides the toe brakes for the main gear (actually, for
YASim, it is just added then clamped).
in JSBSim.cxx,
Frederic Bouvier writes:
MSVC has no 'fmax' function. 'max' is ok (a macro !).
Hmm -- max won't work under GCC because it's an inlined function. I
guess I'll have to write out the comparison.
All the best,
David
--
David Megginson
[EMAIL PROTECTED]
15 matches
Mail list logo