30namespace AlignmentSubsystem
46 double &RightAscension,
double &Declination,
double JulianDate)
override;
53 double &RightAscension,
double &Declination,
double JulianOffset = 0)
override;
62 bool UpdateObsConfig();
63 void UpdateAstrometry(
double JD);
66 void ParsePmfitCoefficients(
const double pmv[6],
int terms);
72 double &oblon,
double &oblat,
73 double &rdem,
double &pdem);
74 bool AccumulateObsRow(
double oblon,
double oblat,
double rdem,
double pdem);
75 bool SolveNormalEquations(
double pmv[6]);
This class provides the driver side API to the in memory alignment database.
std::vector< AlignmentDatabaseEntry > AlignmentDatabaseType
Provides alignment subsystem functions to INDI alignment math plugins.
InMemoryDatabase * pInMemoryDatabase
virtual bool TransformTelescopeToCelestialJD(const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination, double JulianDate) override
Get the true celestial coordinates for the supplied telescope pointing direction.
virtual bool TransformCelestialToTelescopeJD(double RightAscension, double Declination, double JulianDate, TelescopeDirectionVector &ApparentTelescopeDirectionVector) override
Get the alignment corrected telescope pointing direction for the supplied celestial coordinates.
virtual bool TransformTelescopeToCelestial(const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination, double JulianOffset=0) override
Get the true celestial coordinates for the supplied telescope pointing direction.
virtual bool TransformCelestialToTelescope(const double RightAscension, const double Declination, double JulianOffset, TelescopeDirectionVector &ApparentTelescopeDirectionVector) override
Get the alignment corrected telescope pointing direction for the supplied celestial coordinates.
virtual bool Initialise(InMemoryDatabase *pInMemoryDatabase) override
Initialise or re-initialise the math plugin. Re-reading the in memory database as necessary.
These functions are used to convert different coordinate systems to and from the telescope direction ...
Namespace to encapsulate INDI client, drivers, and mediator classes.
Entry in the in memory alignment database.
Holds a normalised direction vector (direction cosines)