MccSimpleSlewingModel: the code has been rewritten in accordance with the
changes in Eddy's LibSidServo
This commit is contained in:
@@ -183,8 +183,8 @@ Asibfm700Mount::error_t Asibfm700Mount::initMount()
|
||||
mpars.brakingAccelX = _hardwareConfig.hwConfig.Yconf.accel; // Sidereal defines HA-axis as Y-axis
|
||||
mpars.brakingAccelY = _hardwareConfig.hwConfig.Xconf.accel; // Sidereal defines DEC-axis as X-axis
|
||||
} else {
|
||||
mpars.brakingAccelX = MCC_Y_ACCELERATION; // Sidereal defines HA-axis as Y-axis
|
||||
mpars.brakingAccelY = MCC_X_ACCELERATION; // Sidereal defines DEC-axis as X-axis
|
||||
mpars.brakingAccelX = 0.165806; // Sidereal defines HA-axis as Y-axis
|
||||
mpars.brakingAccelY = 0.219911; // Sidereal defines DEC-axis as X-axis
|
||||
}
|
||||
auto st_err = setSlewingParams(mpars);
|
||||
if (st_err) {
|
||||
|
||||
@@ -123,7 +123,7 @@ AsibFM700ServoController::error_t AsibFM700ServoController::hardwareSetState(har
|
||||
|
||||
// according to"SiTech protocol notes" X is DEC-axis and Y is HA-axis
|
||||
coordval_pair_t cvalpair{.X{.val = state.Y, .t = tp}, .Y{.val = state.X, .t = tp}};
|
||||
coordpair_t cpair{.X = state.endptY, .Y = state.endptX};
|
||||
// coordpair_t cpair{.X = state.endptY, .Y = state.endptX};
|
||||
|
||||
|
||||
// correctTo is asynchronous function!!!
|
||||
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
// the movement vector (i.e. sign of movement speed)
|
||||
// this point is needed as Sidereal controller commands require not only moving speed but
|
||||
// also 'target' point (point at which mount will stop)
|
||||
double endptX, endptY;
|
||||
// double endptX, endptY;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user