Re: Predict 2.1.5

From: Riley Williams (zyaf.abuahwqn@rdsor.ro)
Date: Fri Mar 01 2002 - 01:38:00 EET

  • Next message: Wilbert Knol: "Re: Predict 2.1.5"

    Hi Wilbert.

    >>> Satellites are represented in the sat selection menu by [A-Z]
    >>> Typically, I dump a TLE keps file into Pedict that contains orbital
    >>> info for far more satellites. As a result, some the those sats
    >>> cannot be selected by Predict (usually the ones I want...)

    >> Have you tried the patch that increases the size of the satellite
    >> list to 50? Looks like 50 is just enough to hold all the satellites
    >> in the AMSAT keplerian element bulletins. A link to the patch is on
    >> the Predict webpages.

    > I downloaded the G1YYH patches as per Ricardo's message. But both of
    > those failed against Predict 2.1.5.

    I'm working on a patch for predict 2.1.5 that will allow it to handle a
    much larger number of satellites, and the enclosed patch is the first
    stage of this. As well as clearing up some minor niggles, this patch
    lays the groundwork for expanding the number of satellites by defining a
    constant stating the maximum number of satellites to handle and using
    this constant to dimension the various arrays and for loops. However,
    this patch on its own will not permit more than 24 satellites to be
    handled.

    > I am using my script to reduce the AMSAT keps file to a size that
    > Predict can handle. It also overwrites ~/.predict/predict.tle and,
    > as a result, I don't have to tell predict to update the keps once
    > I've run the script.

    Is that providing you close down predict in the meantime ???

    >> Beware that this can cause problems with other programs that use
    >> Predict as a server. For example gsat segfaults, apparently because
    >> it doesn't check the size of the satellite list received from the
    >> server and this results in a buffer overflow (gsat is hardcoded for
    >> 26 satellites IIRC).

    > Hmm, I think I will wait for John KB2DB to incorporate the patch
    > into the next release... Thanks for the comments.

    As part of my patch, I will be dealing with problems encountered in
    ALL of the clients included with predict, so the above shouldn't be
    a problem when I've finished.

    Best wishes from Riley.



    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to plg@iplannetworks.net
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Fri Mar 01 2002 - 02:03:05 EET