Re: [Flightgear-devel] CVS: source/src/FDM/JSBSim/models/flight_control FGActuator.cpp

2008-06-09 Thread gerard robin
On ven 6 juin 2008, Anders Gidenstam wrote:
 On Thu, 5 Jun 2008, Jon S. Berndt wrote:
  2) Dave Culp (and others?) have actually been using the latest JSBSim in
  FlightGear for a while, now, for testing. I've compiled it in here at
  home, too, but haven't really used it much. I have access to the
  FlightGear CVS tree in the JSBSim directory. It's really my fault that
  the current JSBSim is not in FlightGear CVS, and I apologize for the
  foot-dragging.

 Hi,

 I'm (one of?) the others that keep testing JSBSim/CVS in FlightGear/CVS. I
 try to keep an up to date patch for FlightGear/CVS here:

 http://www.gidenstam.org/FlightGear/Airships/patches/

 I think it would be good if we could synch the JSBSim in FlightGear
 with JSBSim/CVS more often.


 Cheers,

 Anders

Hello Anders,

Nice, your is better than mine which is a bad 'DIY'  more or less (rather 
less :)  ) up to date.
I will try it .

Cheers

-- 
Gérard
http://pagesperso-orange.fr/GRTux/

J'ai décidé d'être heureux parce que c'est bon pour la santé. 
Voltaire 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] CVS: source/src/FDM/JSBSim/models/flight_control FGActuator.cpp ...

2008-06-09 Thread Jon S. Berndt
I guess the question I am really asking is, are these kinds of constructs
still required for simgear?

#  include simgear/compiler.h
#  include STL_STRING
#  include STL_IOSTREAM
#  include STL_FSTREAM
   SG_USING_STD(cout);
   SG_USING_STD(endl);

Or, can we just do this the normal C++ way,

#include string
#include iostream
#include fstream
using std::cout;
using std::endl;

Jon



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] CVS: source/src/FDM/JSBSim/models/flight_control FGActuator.cpp ...

2008-06-06 Thread Jon S. Berndt
Curt wrote:

 Tim has already been made aware that changes to JSBsim 
 need to be submitted upstream or they will be lost the 
 next time we sync with their code.  I assume he has made 
 contact there so these changes (if important) aren't lost 
 in the future.  It's good to see a few others besides 
 myself watching to catch things like this.

I'm trying to figure out what's being resolved in this thread. Are we saying
that whacko constructs like this are no longer needed:

#ifdef FGFS
#  include simgear/compiler.h
#  include STL_STRING
#  include STL_IOSTREAM
#  include STL_FSTREAM
   SG_USING_STD(cout);
   SG_USING_STD(endl);
#else
#  include string
#  if defined(sgi)  !defined(__GNUC__)  (_COMPILER_VERSION  740)
#include iostream.h
#include fstream.h
#  else
#include iostream
#include fstream
 using std::cout;
 using std::endl;
#  endif
#endif

... and are instead replaced with this?

#include string
#include iostream
#include fstream

using std::cout;
using std::endl;
using std::string;

Jon




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] CVS: source/src/FDM/JSBSim/models/flight_control FGActuator.cpp ...

2008-06-06 Thread Melchior FRANZ
* Jon S. Berndt -- Friday 06 June 2008:
 Are we saying that whacko constructs like this are no longer needed:
 
 #ifdef FGFS
[...]

I can only say that defining FGFS breaks compilation for me. Because I
also noticed that fgfs doesn't use that anymore, because it's no
longer in the Makefile.am files, I thought it's obsolete. But now
I realized that it never was in Makefile.am file, but in configure.ac,
where it *stil* is:

  dnl Used by JSBSim to conditionally compile in fgfs interface code
  AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode])

Looks like it's only obsolete for me, then. You better ask a JSBSim
expert.  :-}

m.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] CVS: source/src/FDM/JSBSim/models/flight_control FGActuator.cpp

2008-06-05 Thread Jon S. Berndt
I don't have all of this conversation, but here are a few items:

1) I'll be glad to make changes in JSBSim as needed. This is the first I've
read of the changes. Which of the posts here is the pertinent one?

2) Dave Culp (and others?) have actually been using the latest JSBSim in
FlightGear for a while, now, for testing. I've compiled it in here at home,
too, but haven't really used it much. I have access to the FlightGear CVS
tree in the JSBSim directory. It's really my fault that the current JSBSim
is not in FlightGear CVS, and I apologize for the foot-dragging.

Jon



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel