Skip to content

Commit

Permalink
Remove all scope configuration from INDI::Telescope class as it was a…
Browse files Browse the repository at this point in the history
…lready moved to INDI::CCD class in prior releases and what is left in INDI::Telescope was deperecated and no longer used in the last few release cycles
  • Loading branch information
knro committed Oct 2, 2023
1 parent 6f156b4 commit f5ad792
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 519 deletions.
6 changes: 0 additions & 6 deletions drivers/telescope/paramount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ bool Paramount::initProperties()
AddTrackMode("TRACK_LUNAR", "Lunar");
AddTrackMode("TRACK_CUSTOM", "Custom");

// Let's simulate it to be an F/7.5 120mm telescope with 50m 175mm guide scope
ScopeParametersN[0].value = 120;
ScopeParametersN[1].value = 900;
ScopeParametersN[2].value = 50;
ScopeParametersN[3].value = 175;

TrackState = SCOPE_IDLE;

SetParkDataType(PARK_HA_DEC);
Expand Down
6 changes: 0 additions & 6 deletions drivers/telescope/skywatcherAPIMount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,6 @@ bool SkywatcherAPIMount::initProperties()
initGuiderProperties(getDeviceName(), GUIDE_TAB);
setDriverInterface(getDriverInterface() | GUIDER_INTERFACE);

//Set default values in parent class
IUFindNumber(&ScopeParametersNP, "TELESCOPE_APERTURE")->value = 200;
IUFindNumber(&ScopeParametersNP, "TELESCOPE_FOCAL_LENGTH")->value = 2000;
IUFindNumber(&ScopeParametersNP, "GUIDER_APERTURE")->value = 30;
IUFindNumber(&ScopeParametersNP, "GUIDER_FOCAL_LENGTH")->value = 120;

return true;
}

Expand Down
6 changes: 0 additions & 6 deletions drivers/telescope/telescope_simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ bool ScopeSim::initProperties()
AddTrackMode("TRACK_LUNAR", "Lunar");
AddTrackMode("TRACK_CUSTOM", "Custom");

// Let's simulate it to be an F/7.5 120mm telescope
ScopeParametersN[0].value = 120;
ScopeParametersN[1].value = 900;
ScopeParametersN[2].value = 120;
ScopeParametersN[3].value = 900;

// RA is a rotating frame, while HA or Alt/Az is not
SetParkDataType(PARK_HA_DEC);

Expand Down
6 changes: 0 additions & 6 deletions examples/tutorial_seven/simple_telescope_simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,6 @@ bool ScopeSim::initProperties()
/* Make sure to init parent properties first */
INDI::Telescope::initProperties();

// Let's simulate it to be an F/10 8" telescope
ScopeParametersN[0].value = 203;
ScopeParametersN[1].value = 2000;
ScopeParametersN[2].value = 203;
ScopeParametersN[3].value = 2000;

TrackState = SCOPE_IDLE;

/* Add debug controls so we may debug driver if necessary */
Expand Down
Loading

0 comments on commit f5ad792

Please sign in to comment.