[Date Prev][Date Next][Thread Prev][Thread Next] - [Date Index][Thread Index][Author Index]

Re: General Astrodynamics Library



Gentlemen,

Jonathon, thanks for the fix, I'll add it to the next release. I tested
this make on OSX and cygwin and the flags were not needed, I'm
downloading Debian now to run under parallels on the mac so will be able
to test for linux requirements in future.

Geoeff, GAL is intended to be a super-set of routines that may or may
not be of use to astrodynamics experimenters. David's work on bringing
SGP4 up-to-date will be included, albeit in a slightly modified form -
it will be altered to be compatible with the gal vector/matrix library
and reference frame implementations. GAL will also eventually include
direct numerical integration, i.e. orbit propagation direct from gravity
and other force models. This will allow orbit propagation for bodies
other than the Earth, e.g. the Moon and Mars (Phase 5A).

Its going to be a long project, and I've got no timetable, I'll release
as each block gets bolted down.

A lot of what is going into GAL is based upon research done for the
Station Program version 2 ( an aborted project from the early 1990s).

If you like David's book then I would recommend this one strongly, it is
easier to work through, and includes a CD with all the worked examples
in C++.

http://www.amazon.com/Satellite-Orbits-Models-Methods-Applications/dp/35
4067280X/ref=sr_1_1?ie=UTF8&s=books&qid=1205925623&sr=1-1

73 Paul, VP9MU

-----Original Message-----
From: Geoff [mailto:vk2tfg@ozemail.com.au] 
Sent: Wednesday, March 19, 2008 4:03 AM
To: Jonathan Wagner; Willmott, Paul
Subject: Re: [amsat-bb] Re: General Astrodynamics Library

Hi Gents
	My bad sending to the -bb. I intended to send to Paul direct .
Jonathon, your 
fix appeared to work perfectly. Paul how does your work compare to that
of 
Vallado? I have his book and have downloaded his routines but I don't
have 
the skill to do much more than read through them. :-)

73 de Geoff vk2tfg.


On Wednesday 19 March 2008 08:16, you wrote:
> I don't have time to check the library out now, but it looks like your
> errors stem from a makefile issue.  It looks like the makefile isn't
> explicitly telling the compiler to link the math library in.  Try
adding
> `CFLAGS="-lm" before the ./configure command.
>
> prompt$ CFLAGS="-lm" ./configure
>
> If that works then editing the auomake.in or the automake.am files to
> add this flag should take care of this for most people.  But, that
would
> be a task for Paul.
>
> BTW, I had nothing to do with writing this library, but just thought I
> would help out a fellow ham.  I don't want to steal any of Paul's
> thunder; I don't even know him.
>
> Jonathan Wagner
>
> Geoff wrote:
> > On Wednesday 19 March 2008 04:58, Willmott, Paul wrote:
> >> Hi All,
> >>
> >> I've been working on a general c/c++ astrodynamics library. It is
> >> strictly a work in progress, and so far only includes the basic
> >> astronomy routines. Next up will be the orbit propagators, and
tracking
> >> stuff. Anyway, its time for it to see the outside world. It can be
> >> downloaded from here:
> >>
> >> http://homepage.mac.com/pclwillmott/GAL/index.html
> >>
> >> Its released under GPL 2 and was developed under OSX using the GNU
> >> development tools, so should compile OK on UNIX / GNU Linux / and
under
> >> cygwin in Windows.
> >>
> >> The routines are primitives, and it is deliberatly not framework
based,
> >> so you can rip bits for your projects without lots of baggage.
> >>
> >> Please let me know any comments.
> >
> > snipped
> >
> > Hi Paul,
> > 	I had a go at your GAL package on my Debian 4.0 hppa box.
Download,
> > unpack, configure, make and make install work well but make check
barfs
> > with the trace you'll see quoted below. I don't have the programming
> > skills to do anything with it but I'm always glad to try and break
> > software :-) .
> >
> > 73 de Geoff vk2tfg.
> >
> >> hppa:/home/vk2tfg/libgal-0.1.0# make check
> >> Making check in test
> >> make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/test'
> >> make[1]: Nothing to be done for `check'.
> >> make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/test'
> >> Making check in vec_mat
> >> make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/vec_mat'
> >> make[1]: Nothing to be done for `check'.
> >> make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/vec_mat'
> >> Making check in ephemerides
> >> make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/ephemerides'
> >> make[1]: Nothing to be done for `check'.
> >> make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/ephemerides'
> >> Making check in pstrings
> >> make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/pstrings'
> >> make[1]: Nothing to be done for `check'.
> >> make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/pstrings'
> >> Making check in star
> >> make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/star'
> >> make[1]: Nothing to be done for `check'.
> >> make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/star'
> >> Making check in eao
> >> make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/eao'
> >> make[1]: Nothing to be done for `check'.
> >> make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/eao'
> >> Making check in date_time
> >> make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/date_time'
> >> make[1]: Nothing to be done for `check'.
> >> make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/date_time'
> >> make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0'
> >> make  gal_tdatetime gal_tvecmat gal_tprecnut gal_tearthrot
> >> gal_tephemerides gal_tpstrings gal_tstar make[2]: Entering
directory
> >> `/home/vk2tfg/libgal-0.1.0'
> >> gcc -DHAVE_CONFIG_H -I.  -Itest    -g -O2 -c -o gal_tdatetime.o
`test -f
> >> 'date_time/gal_tdatetime.c' || echo './'`date_time/gal_tdatetime.c
In
> >> file included from date_time/gal_tdatetime.c:44:
> >> test/gal_test_common.h:78:3: warning: no newline at end of file
> >> In file included from test/gal_test.h:38,
> >>                  from date_time/gal_tdatetime.c:45:
> >> test/gal_test_start.h:93:3: warning: no newline at end of file
> >> In file included from test/gal_test.h:39,
> >>                  from date_time/gal_tdatetime.c:45:
> >> test/gal_test_stop.h:82:3: warning: no newline at end of file
> >> In file included from test/gal_test.h:40,
> >>                  from date_time/gal_tdatetime.c:45:
> >> test/gal_vcv.h:92:3: warning: no newline at end of file
> >> In file included from test/gal_test.h:41,
> >>                  from date_time/gal_tdatetime.c:45:
> >> test/gal_vdv.h:94:3: warning: no newline at end of file
> >> In file included from test/gal_test.h:42,
> >>                  from date_time/gal_tdatetime.c:45:
> >> test/gal_viv.h:92:3: warning: no newline at end of file
> >> In file included from test/gal_test.h:43,
> >>                  from date_time/gal_tdatetime.c:45:
> >> test/gal_vsv.h:92:3: warning: no newline at end of file
> >> In file included from date_time/gal_tdatetime.c:45:
> >> test/gal_test.h:70:3: warning: no newline at end of file
> >> date_time/gal_tdatetime.c:110:3: warning: no newline at end of file
> >> /bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2   -o
gal_tdatetime
> >> gal_tdatetime.o libgal_test.la libgal.la libtool: link: gcc -g -O2
-o
> >> .libs/gal_tdatetime gal_tdatetime.o  ./.libs/libgal_test.a
> >> ./.libs/libgal.so -Wl,-rpath -Wl,/usr/local/lib ./.libs/libgal.so:
> >> undefined reference to `sqrt'
> >> ./.libs/libgal.so: undefined reference to `floor'
> >> ./.libs/libgal.so: undefined reference to `fmod'
> >> ./.libs/libgal.so: undefined reference to `cos'
> >> ./.libs/libgal.so: undefined reference to `sin'
> >> ./.libs/libgal.so: undefined reference to `atan2'
> >> ./.libs/libgal.so: undefined reference to `pow'
> >> ./.libs/libgal.so: undefined reference to `atan'
> >> collect2: ld returned 1 exit status
> >> make[2]: *** [gal_tdatetime] Error 1
> >> make[2]: Leaving directory `/home/vk2tfg/libgal-0.1.0'
> >> make[1]: *** [check-am] Error 2
> >> make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0'
> >> make: *** [check-recursive] Error 1
> >> hppa:/home/vk2tfg/libgal-0.1.0#
> >
> > _______________________________________________
> > Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the
author.
> > Not an AMSAT-NA member? Join now to support the amateur satellite
> > program! Subscription settings:
> > http://amsat.org/mailman/listinfo/amsat-bb

*********************************************************************************

This message and any files transmitted with it are confidential and may be privileged and/or subject to the provisions of privacy legislation. It is intended solely for the person to whom it is addressed and review by anyone else is unauthorized. Any use, disclosure, reproduction, modification or distribution of the contents of this e-mail, or any part thereof, other than by the intended recipient, is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify the sender of this e-mail immediately by return e-mail and destroy the message and all copies in your possession. 

Oil Management Services Ltd

*********************************************************************************


_______________________________________________
Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author.
Not an AMSAT-NA member? Join now to support the amateur satellite program!
Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb



AMSAT Top AMSAT Home