Re: [Flightgear-devel] SimGear compilation problem with MS VisualStudio 10

2011-06-01 Thread Claus Christmann
Please see inline and below:

- Original Message -
 Please see inline and below:
 
 On Friday, May 27, 2011 05:23:59 PM Frederic Bouvier wrote:
  AFAICS, MSVC2010 compiles current Git version without any problem.
  The OP
  doesn't say what version he is trying to build, but if I recall
  correctly,
  this error was fixed months ago. See
  http://gitorious.org/fg/simgear/commit/acbc09b232e4570462d5936eaf20d267153
  0d8f4 Last tested Boost is 1.44.0 for me.
 
  Regards,
  -Fred
 
 
 All,
 
 sorry for not staying on top of this over the weekend. I will look
 into all
 the comments posted, double check my git checkout and come back with
 either a
 success message or a more detailed failure description.
 
 Thanks for hanging in there with me
 
 Claus

I was trying to compile the SimGear-2.0.0 sources from 
http://simgear.sourceforge.net/.
As mentioned, the git sources compile using Cmake 2.8.4 and OSG 2.8.4 (after 
some minor tweaking of the 3rdParty dependencies).

Thanks to everyone who contributed, I would have given up without you :)

Cheers,

Claus

-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] SimGear compilation problem with MS VisualStudio 10

2011-05-31 Thread Claus Christmann
Please see inline and below:

On Friday, May 27, 2011 05:23:59 PM Frederic Bouvier wrote:
 AFAICS, MSVC2010 compiles current Git version without any problem. The OP
 doesn't say what version he is trying to build, but if I recall correctly,
 this error was fixed months ago. See
 http://gitorious.org/fg/simgear/commit/acbc09b232e4570462d5936eaf20d267153
 0d8f4 Last tested Boost is 1.44.0 for me.
 
 Regards,
 -Fred
 

All, 

sorry for not staying on top of this over the weekend. I will look into all 
the comments posted, double check my git checkout and come back with either a 
success message or a more detailed failure description.

Thanks for hanging in there with me

Claus
-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] SimGear compilation problem with MS VisualStudio 10

2011-05-27 Thread Claus Christmann
Hello all,

I am trying to build FG in Windows 7, using Visual Studio 10. A part of that 
process is simgear, and that gives me some trouble...

I eliminated all compile errors with the exception of this one:

1c:\users\claus\desktop\flighgear-dependencies\simgear-2.0.0\simgear\scene\material\effectbuilder.hxx(134):
 error C2440: 'specialization' : cannot convert from 'std::string 
std::_Pair_base_Ty1,_Ty2::* ' to 'std::string std::pair_Ty1,_Ty2::* '
1  with
1  [
1  _Ty1=std::string,
1  _Ty2=osg::StateSet::RenderingHint
1  ]
1  Standard conversion from pointer-to-member of base to 
pointer-to-member of derived is not applied for template arguments

Googeling only brings up https://svn.boost.org/trac/boost/ticket/3106 which 
unfortunately doesn't help me much. I am using boost 1.46.1.

Any ideas?

Thanks a lot in advance,


Claus
-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Linking in external libraries / make setup of FG

2011-05-18 Thread Claus Christmann
Hi,

I am trying to combine a personal project of mine with FlightGear.  In order 
to do that, I am writing some C++ code to interact with Matlab (to be precise, 
with the Matlab engine). However, I run into trouble when trying to 
compile/link my stuff in FG - hence my question on how to do it properly

Here is what I want to do:

* I need to include some Matlab specific headers in 
/usr/local/MATLAB/R2010b/extern/include
* I need to link against some Matlab libraries in 
/usr/local/MATLAB/bin/glnxa64

Here is my setup:

* I put my sources (*.cxx and *.hxx) in a new folder in $FG/src/ETP
* I made a new $FG/src/ETP/Makefile.am : http://pastebin.com/2iGgdWAP
* I altered $FG/src/Main/gf_init.cxx to load my new subsystem: 
http://pastebin.com/nWNHGX81
* I altered $FG/src/Main/Makefile.am to reflect that change : 
http://pastebin.com/8cS50Xd4
* I have the path to the matlab libraries (/usr/local/MATLAB/bin/glnxa64) in 
my LD_LIBRARY_PATH via my ~/.bashrc:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/MATLAB/R2010b/bin/glnxa64

I would like to use the sequence 
:$FG make distclean
:$FG ./autogen.sh
:$FG ./configure
:$FG make 

However, autogen already spits out errors: http://pastebin.com/feCvty3b .
Fixing those, however, does't seem to fix my problem: 
http://pastebin.com/wLbBPTFk

Obviously, ignoring those errors results in not-linked in Matlab libraries, as 
the linker will tell me when it tries to link the project: all the Matlab 
specific commands used in my sources are unrecognized...

So could somebody point me to a Makefile.am that includes/links in some 
external libraries? Or even better, point me to a (preferably brief) writeup 
on how to write Makefile.am s for FG?

Thanks for any efforts spend...

Claus
-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] OT: android/ipad development

2011-05-18 Thread Claus Christmann
On Wednesday, May 18, 2011 02:36:25 PM Curtis Olson wrote:
 This is a bit off topic, but I was wondering if we have any developers here
 who might be interested in talking about a specific android (or ipad)
 project.
 
 As many of you may know, I am involved with a small company that is
 developing a UAS (UAV) and autopilot.  We have a PC based ground station
 already developed, but we thought it could be cool to investigate
 developing something for a mobile tablet platform.  The sorts of things we
 would be looking at include:
 
 - live moving map to track the flight in real time (along with other
 important data)
 - route plotting/planning
 - accept and relay basic commands to the UAS (like route changes, altitude
 or airspeed changes, etc.)
 - glass cockpit display (similar to this:
 http://www.youtube.com/watch?v=YkZEX45Hx-s)
 - display or overlay other real time data from the UAS (for debugging or
 detailed monitoring of the flight in certain circumstances)
 - maybe some sort of IP based live video feed (?)
 
 This is a low budget project, but we might be able to find a small amount
 of funding to go towards this effort if we found the right person.
 
 Anyone want to chat more about this?
 
 Thanks,
 
 Curt.

Have you looked at the ground control station for the Parrot AR Drone? 
http://youtu.be/wtlp7jwvkd4

Claus


-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] OT: android/ipad development

2011-05-18 Thread Claus Christmann
On Wednesday, May 18, 2011 03:12:24 PM Curtis Olson wrote:
 On Wed, May 18, 2011 at 1:58 PM, Claus Christmann h...@gatech.edu wrote:
  Have you looked at the ground control station for the Parrot AR Drone?
  http://youtu.be/wtlp7jwvkd4
 
 The Parrot AR drone is a cool product, but that's a proprietary system,
 right?  In our case we would have significantly different design and usage
 goals compared to the parrot drone, but certainly we would need to
 accomplish many of the same technical hurdles.
 
 Our drone flies well beyond wifi range.  We are primarily focused on
 outdoor use.  The parrot AR drone (as best as I can tell from the videos
 I've seen) is primarily a remote piloted vehicle -- with computer
 stabilization.  It probably wouldn't take much to make it fully
 autonomous, but that's not the primary usage that I've seen.  (Interactive
 real/VR blended dog fights.)
 
 Curt.

Hi Curt, 

you are right in all of your points. I was just wondering if you simply looked 
at their software SDK (for a GCS). AFAIK their GCS is iPhone only, but some 
people have compiled it for Android. So maybe those guys could give you a hand 
for your GCS system.

http://www.shellware.com/BlogEngine.Web/page/ARPro-for-Android.aspx is one 
example of an Android GCS for the Parrot.AR

Good Luck,

Claus

-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linking in external libraries / make setup of FG

2011-05-18 Thread Claus Christmann
On Wednesday, May 18, 2011 02:50:02 PM Claus Christmann wrote:
 Hi,
 
 I am trying to combine a personal project of mine with FlightGear.  In
 order to do that, I am writing some C++ code to interact with Matlab (to
 be precise, with the Matlab engine). However, I run into trouble when
 trying to compile/link my stuff in FG - hence my question on how to do it
 properly
 
 Here is what I want to do:
 
 * I need to include some Matlab specific headers in
 /usr/local/MATLAB/R2010b/extern/include
 * I need to link against some Matlab libraries in
 /usr/local/MATLAB/bin/glnxa64
 
 Here is my setup:
 
 * I put my sources (*.cxx and *.hxx) in a new folder in $FG/src/ETP
 * I made a new $FG/src/ETP/Makefile.am : http://pastebin.com/2iGgdWAP
 * I altered $FG/src/Main/gf_init.cxx to load my new subsystem:
 http://pastebin.com/nWNHGX81
 * I altered $FG/src/Main/Makefile.am to reflect that change :
 http://pastebin.com/8cS50Xd4
 * I have the path to the matlab libraries (/usr/local/MATLAB/bin/glnxa64)
 in my LD_LIBRARY_PATH via my ~/.bashrc:
 export
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/MATLAB/R2010b/bin/glnxa64
 
 I would like to use the sequence
 
 :$FG make distclean
 :$FG ./autogen.sh
 :$FG ./configure
 :$FG make
 
 However, autogen already spits out errors: http://pastebin.com/feCvty3b .
 Fixing those, however, does't seem to fix my problem:
 http://pastebin.com/wLbBPTFk
 
 Obviously, ignoring those errors results in not-linked in Matlab libraries,
 as the linker will tell me when it tries to link the project: all the
 Matlab specific commands used in my sources are unrecognized...
 
 So could somebody point me to a Makefile.am that includes/links in some
 external libraries? Or even better, point me to a (preferably brief)
 writeup on how to write Makefile.am s for FG?
 
 Thanks for any efforts spend...
 
 Claus

So to answer my own post, here is a (as I find very hacked) solution:

a) do not include the external libraries into the new sub project. I used this 
Makefile.am : http://pastebin.com/Pw8EeLrp 

b) do the linking in the binary, i.e. in ../src/Main. I modified the 
Makefile.am there to look like this: http://pastebin.com/RfJ5MQRx

So the solution is to inlcude the external libraries via -lxxx where you also 
would include the subprojects libXXX.a and alter the _LDFLAGS to s.t. a direct 
path to the external libraries is given... (i.e. add -L/where/ever/libs)

Although this works, (and as of now I don't intend to change it), I would be 
interested how to do this properly...

Regards,

Claus

-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Nasal: airportinfo() question

2011-05-11 Thread Claus Christmann
On Monday, May 09, 2011 11:41:53 AM Curtis Olson wrote:

 
 Ultimately, what I'd like to do for my project is have an auto-land gui
 button that will pop up a list of nearby airports.  The user selects the
 one they want and then a list of runways pops up, perhaps ranked based on
 the prevailing wind conditions.  Then when the destination is chosen, the
 aircraft flies to the airport, enters the downwind pattern, base, final,
 lands at exactly the target spot.  (Maybe with just a little randomization
 so we don't wear out the concrete always hitting the exact same spot every
 time.)
 

Curt and all,

this is fairly exactly what I am tasked to do for a research project. We have 
code to create optimal (I put that in quotes as that obviously lies in the 
eye of the beholder) trajectories, taking some dynamic limitations into 
account. We would love to test this code in realistic cockpit scenarios, 
replicating -- in a perfect world -- for example, the Hudson River landing.

Looking for an interface between emergency path planning and the pilot (Curt's 
auto-land gui) we decided that hacking/altering the CDU would be a 
reasonable attempt as pilots are familiar with the instrument and how to use 
it. (That is the reason why I wrote a Nasal based CDU for FlightGear based 
upon Gijs great work.)

So what I would like to ask of you, i.e. people who have toyed around with 
this idea (or read about it, know about it), is to kindly give me some 
pointers on where I could learn about current developments in this area or 
where I could learn about the C/C++ code/api to the navdata base and the route 
manager.

Having written the CDU in Nasal I believe to have a fairly good grasp on the 
language, however I would prefer to write this lower level stuff in C++. Not 
only because I believe that I/we will need the computational benefit, but also 
as this might make it easier to contribute more of the code (as a potential 
closed source library) to more interested parties - although I do promise to 
try to get as much of my/our work to be open sourced.

I am looking forward to hearing from you with pointers to documentation, 
examples, helpful source files - all that good stuff that could get me up to 
speed quickly (as I haven't touched the C code of FG yet.)

Regards,

Claus


-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] A proposal for a Nasal based Honeywell/Boeing-style CDU for FG

2011-05-09 Thread Claus Christmann
Good Day everybody,

first of all, let me introduce myself:  My name is Claus, I am an aerospace 
student at GeorgiaTech and recently got into FlightGear in relation to one of 
my research projects. I have been not so good on reading the FG-devel email 
list, but have had quite some interactions on the FG IRC chat with other FG 
enthusiasts.

For my research project I need(ed) a somewhat functional Boeing style CDU.
So I got into contact with Gijs de Roy and started to learn about his CDU 
project, then still in this git repo for the 744.

I started to make a wiki writeup for Gijs CDU 
(http://wiki.flightgear.org/Howto:_Development_of_the_CDU, not up to date 
anymore) to learn about how Gijs implemented the CDU.

As I needed the CDU to be fairly flexible - particularly in respect to [ages 
outside the currently implementation - I decided to change from a XML approach 
to a more Nasal based approach.

I have finished a first draft of my code and started to write some 
documentation for it in the FG wiki.

I would like to ask for some dev's to check out my code and make any 
suggestions for improvements. As I have the clearance to release the code 
under GPL v2, I also would like to offer to merge this into the main FG 
repository.

You can find my code at
https://gitorious.org/~hcc23/fg/hcc23s-fgdata/commits/cdu-development

The docu is contained in these two wiki pages (and will be expanded)
http://wiki.flightgear.org/Nasal_CDU_Framework
http://wiki.flightgear.org/Howto:_Coding_a_Boeing_CDU

I am very much looking forward to hearing back from you, particularly with 
comments and improvement suggestions.

Regrads,

Claus

PS: for those of you active in IRC, my nick there is hcc23

-- 
Claus Christmann, M.S.
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Dr NW
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel