1%% Status: 2015-12-30 Some parts collected from wiki.
2%% TODO: Describe StellariumScope plugin
3\chapter{Stellarium at the Telescope}
4\label{ch:atTheTelescope}
5
6Stellarium is great for indoor use on the desktop, but it is also very
7useful outdoors under the real sky, and several plugins enhance its
8usability particularly for observers.
9
10Two plugins are bundled with Stellarium which are designed to be used
11at the telescope: Oculars (section~\ref{sec:plugins:Oculars}), which
12provides field of view hints for telescopes, oculars and sensors, and
13TelescopeControl (section~\ref{sec:plugins:TelescopeControl}), which
14allows you to send GOTO commands to most motorized telescope mounts. Other
15GOTO telescopes are supported by external programs which you must
16install separately: \program{RTS2} (section~\ref{sec:plugins:TelescopeControl:RTS2}),
17\program{INDI} (section~\ref{sec:plugins:TelescopeControl:INDI}) or \program{ASCOM} (section~\ref{sec:plugins:TelescopeControl:ASCOM}).
18This can also help DIY hardware tinkerers who like to build their own control systems (section~\ref{sec:plugins:TelescopeControl:Other}).
19
20In addition, the Observability plugin (section~\ref{sec:plugins:Observability})
21can be used for planning the best times to observe your favorite
22objects.
23
24\section{Oculars Plugin}
25\sectionauthor*{Timothy Reaves, with additions by Alexander Wolf}
26\label{sec:plugins:Oculars}
27
28This plugin serves several purposes:
29\begin{itemize}
30\item to see what the sky looks like through a particular combination of eyepiece,
31  lens (Barlow or Shapley types) and telescope. This plugin helps to get an idea of
32  what you should see when looking through a physical telescope, and understand why
33  one eyepiece may be better suited to observe a particular target than another.
34  This can also be very useful for deciding what telescope is best suited to a style of viewing.
35  And with the support for binoculars, you also have the ability to understand just about any type of optics-enhanced visual observing.
36\item to show what a particular combination of camera and lens or telescope would be able to photograph of the sky.
37\item lastly, with the help of the Telrad sight, understand where object in the sky are in relation to each other.
38%This can be very useful if you have a non-GOTO telescope, and to get an idea of how to star-hop from a known location to an area of interest.
39This can be helpful for star-hopping with a non-GOTO telescope.
40\end{itemize}
41
42\noindent None of these activities can take the place of hands-on experience, but they are a good way to supplement your visual astronomy interests.
43
44\subsection{Using the Ocular plugin}
45\label{sec:sec:plugins:Oculars:UsingPlugin}
46
47The plugin is controlled through a popup menu or through an on-screen control panel (see top right corner on screens in fig.~\ref{fig:plugins:Oculars:TeleVue}).
48By default, the hot key to display the popup is \keys{\Alt+O} (\keys{Option+O} for Mac users).
49This can be changed in the \menu{Editing Keyboard Shortcuts} window (see section~\ref{sec:gui:help:hotkeys}). The menu will popup where your cursor is located.
50
51\begin{figure}[t]\centering
52\includegraphics[width=.75\textwidth]{oculars_usage_menu.png}
53\caption{The on-screen menu (top right) and popup menu (lower right) of the Oculars plugin.}
54\label{fig:plugins:Oculars:Usage:Menu}
55\end{figure}
56
57The options available in the popup menu depend on what you are currently doing.
58In the default menu, you can choose to configure the plugin, activate a CCD, or activate the Telrad finder (see fig.~\ref{fig:plugins:Oculars:Usage:Menu}).
59The menu is navigated by either the arrow keys on your keyboard or by your mouse.
60The \keys{\arrowkeyup} and \keys{\arrowkeydown} arrow keys move the selection up or down the menu,
61and the \keys{\arrowkeyleft} and \keys{\arrowkeyright}  arrow keys display or hide sub-menus. \keys{\return} activates an option.
62
63\paragraph{Telrad Finder}
64
65The Telrad view can be used without defining any of the items below.
66As a reflex sight is non-magnifying, this feature can only be enabled when no eyepiece is selected.
67You still may want to zoom in a bit to better see which stars are in the circles (fig.~\ref{fig:plugins:Oculars:Usage:Telrad}).
68The three circles that appear in the center of the screen are $0.5\degree$, $2.0\degree$, and $4.0\degree$ in diameter.
69They stay centered in the screen, so move the ``telescope'' (click-drag the background) to center the circles on the object of interest.
70
71\begin{figure}[b]\centering
72\includegraphics[width=\textwidth]{oculars_usage_telrad.png}
73\caption{The left image is the default $60\degree$, and the right one is $40\degree$.}
74\label{fig:plugins:Oculars:Usage:Telrad}
75\end{figure}
76
77While the Telrad finder is active, you can not activate a CCD with the popup menu, but only with the on-screen menu.
78
79\paragraph{CCD Sensors}
80
81
82\begin{figure}[ht]\centering
83\includegraphics[width=.75\textwidth]{oculars_usage_ccd.png}
84\caption{View of M37 through a CCD sensor of the Oculars plugin.}
85\label{fig:plugins:Oculars:Usage:CCD}
86\end{figure}
87
88\begin{figure}[ht]\centering
89\includegraphics[width=.75\textwidth]{oculars_usage_ccd_info.png}
90\caption{View of M37 through a CCD sensor of the Oculars plugin (without on-screen control panel).}
91\label{fig:plugins:Oculars:Usage:CCD:Info}
92\end{figure}
93
94\noindent This is a great way to get an idea of what a particular camera will be able to capture when attached to a particular telescope or lens.
95For using camera lenses, you must describe them as telescope with the appropriate values for the lens.
96When active, this feature will display a red bounding box of the area that will be captured,
97as well as zoom in to give a better view of the surroundings. You can manually zoom in or out from there.
98
99The default CCD view will appear similar to fig. \ref{fig:plugins:Oculars:Usage:CCD} or,
100when you are working without the on-screen control panel, the information area in the upper right hand corner
101also shows angular size captured by the CCD (see fig. \ref{fig:plugins:Oculars:Usage:CCD:Info}).
102
103
104When a CCD view is displayed, the popup menu changes  as seen in  fig. \ref{fig:plugins:Oculars:Usage:CCD:Menu}.
105You can select what telescope to use, as well as progress to the previous or next CCD, or go to a specific CCD.
106You can also rotate the CCD to better frame your subject, or to see if the CCD can be rotated in such a way as to
107catch your area of interest (see fig. \ref{fig:plugins:Oculars:Usage:CCD:RotMenu}).
108Once rotated, the CCD frame on screen displays the new orientation (see fig. \ref{fig:plugins:Oculars:Usage:CCD:Rotation}).
109
110% THESE 3 should always be together on one float page.
111\begin{figure}[p]\centering
112\includegraphics[width=.75\textwidth]{oculars_usage_ccd_menu.png}
113\caption{The CCD sensor popup menu of the Oculars plugin.}
114\label{fig:plugins:Oculars:Usage:CCD:Menu}
115\end{figure}
116
117\begin{figure}[p]\centering
118\includegraphics[width=.75\textwidth]{oculars_usage_ccd_rotmenu.png}
119\caption{Setting rotation of CCD sensor in the popup menu.}
120\label{fig:plugins:Oculars:Usage:CCD:RotMenu}
121\end{figure}
122
123\begin{figure}[p]\centering
124\includegraphics[width=.75\textwidth]{oculars_usage_ccd_rotation.png}
125\caption{A rotated CCD sensor frame of the Oculars plugin.}
126\label{fig:plugins:Oculars:Usage:CCD:Rotation}
127\end{figure}
128
129\newpage
130
131
132\paragraph{Oculars}
133
134\begin{itemize}
135\item Define some eyepieces and telescope (see section \ref{sec:sec:plugins:Oculars:Configuration}).
136\item Select an object to view (i.e. a star, planet, etc.)
137\item Click the toolbar button \guibutton{0.6}{bt_ocular.png} for toggling the Ocular view,
138      or press \keys{\ctrl+O} (\keys{\cmdmac+O} for Mac users).
139\item Swap between eye pieces and telescopes to see how the view changes.
140\end{itemize}
141
142This is really the area of interest to most telescopic observers.
143It is a great way to compare different eyepiece/telescope combinations, to see how they change the view of the sky.
144And it is easy to do so with binoculars too.
145To show this, let us use the M37 cluster as target. Through a pair of Celestron 15x70 binoculars, it would look like in fig.~\ref{fig:plugins:Oculars:Usage:Ocular:M37Binos}.
146
147\begin{figure}[h]\centering
148\includegraphics[width=.75\textwidth]{oculars_usage_ocular_m37binos.png}
149\caption{The M37 cluster through a Celestron 15x70 binocular.}
150\label{fig:plugins:Oculars:Usage:Ocular:M37Binos}
151\end{figure}
152
153\noindent A very pretty sight. Now, what would it look like through a Celestron 80\,mm EDF finder 'scope, with an Explore Scientific 14\,mm $100\degree$ eyepiece? See fig.~\ref{fig:plugins:Oculars:Usage:Ocular:M37EDF}!
154
155\begin{figure}[h]\centering
156\includegraphics[width=.75\textwidth]{oculars_usage_ocular_m37edf.png}
157\caption{The M37 cluster through a Celestron 80\,mm EDF with Explore Scientific 14\,mm eyepiece.}
158\label{fig:plugins:Oculars:Usage:Ocular:M37EDF}
159\end{figure}
160
161\noindent Not bad at all. But we like to see more! So we move the eyepiece to a C1400. See fig.~\ref{fig:plugins:Oculars:Usage:Ocular:M37C1400} for the resulting view.
162
163%%%%%%%%%%% MISSING CONTEXT SWITCH!! Here might be a paragraph with comparing the 14mm eyepiece with a 31mm Nagler!
164
165\begin{figure}[ht]\centering
166\includegraphics[width=.75\textwidth]{oculars_usage_ocular_m37c1400.png}
167\caption{The M37 cluster through a Celestron C1400 with Tele Vue Nagler 31\,mm eyepiece.}
168\label{fig:plugins:Oculars:Usage:Ocular:M37C1400}
169\end{figure}
170
171Very nice indeed! So for this target, the C1400 is going to be the best bet. However, if my target was the Pleiades, the C1400 with that eyepiece would not be good --- the 80EDF would do much better!
172
173When an eyepiece is active, the popup menu again changes.
174With a non-binocular eyepiece selected, you also have the ability to select a particular eyepiece or telescope.
175When a binocular is active, you can not select a telescope, as it is not relevant.
176Changing the eyepiece to a non-binocular will again allow the telescope to be selected.
177Also notice that when your mouse cursor is very near the right hand border of the screen, the popup menu's sub-menus display to the left, not the right.
178
179\subsubsection{Star Scales}
180As you know\newFeature{0.16.0} from section~\ref{sec:gui:view:sky}, the number and relative size of stars of various magnitudes
181can be adjusted to your personal preferences in the view settings window to approximate the appearance of the stars as seen by the naked eye.
182Some observers prefer to have a simulated ocular view with very small, or more, stars, quite different from what Stellarium usually shows.
183The Oculars plugin therefore keeps two additional sets of scaling values for ocular views and CCD views, which are activated
184automatically when you switch to ocular or CCD view, and which are stored immediately and permanently in the plugin's \file{ocular.ini} file.\footnote{%
185The appearance of stars may depend on various other factors: telescope type, ocular type, quality of optics, seeing, \ldots
186Such details with all combinations cannot meaningfully be stored, though. These values should allow a rapid toggle on any single night.}
187
188\subsection{Configuration}
189\label{sec:sec:plugins:Oculars:Configuration}
190All configuration is done through the user interface in the application.
191To open the configuration dialog hit the \keys{\Alt+O} key,
192or click the \button{configure} button on the plugin setup dialog (available in the
193\menu{Plugins} tab of Stellarium's Configuration window (opened by
194pressing \keys{F2} or the \guibutton[0.25]{2}{btd_config.png} button in the left toolbar)),
195or the rightmost button of the on-screen panel (if displayed in the top right corner of screen).
196There are six tabs in the configuration dialog: \emph{General}, \emph{Eyepieces}, \emph{Lenses}, \emph{Sensors}, \emph{Telescopes}, and \emph{About}. The first five are the ones we are interested in here.
197
198\paragraph{General}
199
200The first option allows you to define the general behavior of the plugin.
201The options are grouped by areas of usage: \emph{Interface}, \emph{Ocular view}, \emph{Sensor view} and \emph{Telrad view} (see figure \ref{fig:plugins:Oculars:Gui:General}).
202
203\begin{figure}[ht]\centering
204\includegraphics[width=0.75\textwidth]{oculars_gui_general.png}
205\caption{General tab of the Oculars plugin configuration dialog.}
206\label{fig:plugins:Oculars:Gui:General}
207\end{figure}
208
209\begin{description}
210\item[Interface:] this group of options allows to change behavior of the plugin in general.
211 \begin{description}
212   \item[On-screen control panel:] show an additional GUI panel in the top-right corner of the screen to allow switching features of the plugin (in addition to the popup window).
213   \item[Restore FOV to initial values] and
214   \item[Restore direction to initial values] options allow restoration field of view and direction of view, resp.,
215         to the initial values at program start at the end of the plugin usage (e.g., when disabling the view through CCD frame).
216   \item[Show resolution criteria] compute and show Rayleigh criterion, Dawes', Abbe's and Sparrow's limits for combination of telescope, lens and eyepiece.
217         In addition, this option will show visual resolution for selected ``setup''. This option may be very helpful for double star observers.
218   \item[Show oculars button on toolbar] option\newFeature{0.19.0} allows to toggle visibility the plugin button on main toolbar.
219   \item[Arrow button scale] allows to change the size of the arrow buttons in the ocular GUI panel.
220   \item[Line Color] Select \newFeature{0.20.0} color for ocular and sensor outlines and their labels.
221   \item[Text Color] Select \newFeature{0.20.0} color for screen messages which are shown only when the on-screen control panel is not shown.
222 \end{description}
223\item[Ocular view] is a group of options that allows to change the plugin's behavior in visual observation mode.
224 \begin{description}
225   \item[Enable only if an object is selected] -- uncheck this option if you want to use the visual observation mode when no object is selected.
226   \item[Auto-limit stellar magnitude] sets the magnitude limitation
227     for stars based on telescope diameter. When disabled, the main
228     program's setting applies (see section
229     \ref{sec:gui:view:sky}). \newFeature{0.20.3} Note that two manual limits for ocular
230     view and main program are handled, and switching between ocular
231     and main view also switches those values.
232   \item[Hide grids and lines when enabled] allows to hide grids and lines when you observe the sky through the eyepiece and re-enables their visibility when leaving visual observation mode.
233   \item[Scale image circle] option allows you to define whether or not to scale the images based on apparent FOV. When deactivated, the image circle will fill your screen.
234         In general, we recommend you not select this, unless you have a need to, because it can really reduce the image size on the screen.
235		 It can however be very useful in comparing two eyepieces.
236		 If you set this option, the  on-screen image will be scaled based on the eyepieces and telescopes you define.
237		 See section \ref{sec:sec:plugins:Oculars:ScalingTheEyepieceView} for information on what scaling means, and why you might want to use it.
238   \item[Use semi-transparent mask] uncheck this option if you want to see visible field of view as in real telescope. Since version 0.20.3 you may define level of transparency for mask\newFeature{0.20.3}.
239   \item[Hide grids and lines when enabled] allows to hide grids and lines when you observe the sky through the eyepiece and re-enables their visibility when leaving visual observation mode.
240   \item[Show FOV outline] option\newFeature{0.19.3} enables drawing the border of the eyepiece's FOV and it may be helpful in combination with a semi-transparent mask.
241   \item[Show compass rose] option\newFeature{0.19.3} enables drawing cardinal directions in the equatorial coordinate system.
242   \item[Align crosshair] option\newFeature{0.19.3} enables alignment of the cross-hair according to the equatorial coordinate system.
243 \end{description}
244\item[Sensor view] is group of options allows to change behavior of the plugin for photographic observations mode.
245 \begin{description}
246   \item[Use degrees and minutes for FOV of CCD] -- for many cases the use of decimal degrees for the value of the field of view is not comfortable, and this option allows to use the more human readable format for FOV.
247   \item[Enable automatic switch of mount type] allows to store the CCD frame orientation when the type of telescope mount is changed.
248   \item[Show sensor crop overlay] option\newFeature{0.19.0} toggle drawing a crop box within the CCD frame. In version 0.20.3\newFeature{0.20.3} we added the ability drawing pixel grid within crop overlay especially for astrophotographers.
249   \item[Show focuser overlay] option\newFeature{0.20.2} allows drawing a circle of mask, which is obtained by the telescope's focuser. We added masks of 3 common modern focusers to allow users check the visible aberrations in the FOV of the telescope.
250 \end{description}
251\item[Telrad view] is a group\newFeature{0.19.0} of options which allows to change behavior of the plugin for Telrad mode.
252 \begin{description}
253 \item[Enable scaling FOV for Telrad] option allows you to define whether or not to scale the Telrad circles to half of apparent FOV.
254   When activated, the Telrad circles will fill your screen.
255 \item[FOV:] --- since version 0.20.2\newFeature{0.20.2} you may define up to 4 circles to show specific FOV in the sky.
256 \end{description}
257\end{description}
258
259\paragraph{Eyepieces}
260
261This is the tab used to enter your own eyepieces (see figures~\ref{fig:plugins:Oculars:Gui:Eyepieces} and \ref{fig:plugins:Oculars:Gui:Eyepieces_binos}).
262By default, a few sample ones have been added; feel free to delete those once you've entered your own.
263
264\begin{figure}[p]\centering
265\includegraphics[trim=0 200 0 0,clip,width=.75\textwidth]{oculars_gui_eyepieces.png}
266\caption{Eyepieces tab of Oculars plugin configuration dialog.}
267\label{fig:plugins:Oculars:Gui:Eyepieces}
268\end{figure}
269
270\begin{figure}[p]\centering
271\includegraphics[width=0.75\textwidth]{oculars_gui_eyepieces_binos.png}
272\caption{Eyepieces tab of Oculars plugin configuration dialog (settings for binocular).}
273\label{fig:plugins:Oculars:Gui:Eyepieces_binos}
274\end{figure}
275
276
277The fields on this tab are:
278\begin{description}
279\item[Name] -- a free-text description of the eye piece. You could modify this to match your personal descriptions of eyepieces.
280\item[aFOV] -- apparent field of view in degrees.
281\item[Focal Length] -- eyepiece focal length in \mm.
282\item[Field Stop] -- the field stop of the eyepiece in \mm. This is used to calculate the true field of view of an eyepiece. If you do not know what it is just leave it the default zero. Not all manufacturers provide this value; Tele Vue is one that does.
283\item[Binoculars] -- selecting this checkbox tells the system that this eyepiece is binoculars or finders; this means that this eyepiece can be used without defining a telescope.
284\item[Has permanent cross-hairs] -- selecting this checkbox tells the system that this eyepiece or binocular (finder) has also simple cross-hairs\footnote{The Oculars plugin supports eyepieces with reticle patterns -- both special eyepieces are available in the default list of eyepieces, and the option \emph{Has permanent cross-hairs} is not related to those eyepieces.}.
285\end{description}
286When Binoculars are described, the relevant fields change to
287\begin{description}
288\item[tFOV] -- true field of view in degrees.
289\item[Magnification factor] -- the magnification of the binocular.
290\item[Diameter] -- the diameter of the binocular objective in \mm.
291\end{description}
292
293
294\paragraph{Lenses}
295
296This is the tab used to enter your own lenses (see figure \ref{fig:plugins:Oculars:Gui:Lenses}). By default, a few sample ones have been added; feel free to delete them once you've entered your own.
297
298\begin{figure}[ht]\centering
299\includegraphics[trim=0 350 0 0,clip,width=.75\textwidth]{oculars_gui_lenses.png}
300\caption{Lenses tab of Oculars plugin configuration dialog.}
301\label{fig:plugins:Oculars:Gui:Lenses}
302\end{figure}
303
304The fields on this tab are:
305\begin{description}
306\item[Name] -- a free-text description of the lens. You could modify this to match your personal descriptions of lenses.
307\item[Multiplier] -- a factor larger than 1 expands the focal length, and lenses with this type are named Barlow lens;
308                     a factor less   than 1 reduces the focal length, and lenses with this type are named Shapley lens or focus reducer.
309\end{description}
310
311\paragraph{Sensors}
312
313This tab allows you to define sensors for any camera you may have (see figure \ref{fig:plugins:Oculars:Gui:Sensors}).
314When defined and selected, this will draw a red bounding rectangle in the center of the eye piece view, showing what the CCD will capture.
315Because of the way floating point numbers are stored, sometimes you may see one of your defined values change (for example from 2.2 to 2.19999) but this should not affect what you see.
316
317\begin{figure}[ht]\centering
318\includegraphics[trim=0 115 0 0,clip,width=.75\textwidth]{oculars_gui_sensors.png}
319\caption{Sensors tab of Oculars plugin configuration dialog.}
320\label{fig:plugins:Oculars:Gui:Sensors}
321\end{figure}
322
323The fields on this tab are:
324\begin{description}
325\item[Name] -- A free-text description of the sensor.
326\item[Resolution x] -- the width of the sensor in pixels.
327\item[Resolution y] -- the height of the sensor in pixels.
328\item[Chip width] -- the width of the sensor in \mm.
329\item[Chip height] -- the height of the sensor in \mm.
330\item[Rotation Angle] -- the rotation angle of the sensor, in degrees.
331\item[Binning x] -- the binning factor for the width of the sensor.
332\item[Binning y] -- the binning factor for the height of the sensor.
333\item[Off-Axis guider] -- selecting this checkbox tells the system that this sensor has support an off-axis guider also.
334\item[Prism/CCD distance] -- distance between center of prism/CCD of Off-Axis Guider and optical axis of telescope in \mm.
335\item[Prism/CCD width] -- the width of the prism/CCD of Off-Axis Guider in \mm.
336\item[Prism/CCD height] -- the height of the prism/CCD of Off-Axis Guider in \mm.
337\item[Position Angle] -- the position angle of the prism/CCD of Off-Axis Guider, in degrees.
338\end{description}
339
340\noindent The resolution is easy to find: these are simply the image dimensions of a (non-binned) frame.
341The chip size and pixel size may be more difficult, but the manual, or searching the Internet, should turn up these values.
342For a ``full-frame'' DSLR, this should be close to 36x24\mm, while APS-C should be around 22.5x15\mm.
343Some cameras may have unsquare pixels.
344
345\paragraph{Telescopes}
346
347This is the tab used to enter your own telescopes (see fig.~\ref{fig:plugins:Oculars:Gui:Telescopes}). The fields on this tab are:
348
349\begin{figure}[ht]\centering
350\includegraphics[trim=0 325 0 0,clip,width=.75\textwidth]{oculars_gui_telescopes.png}
351\caption{Telescopes tab of Oculars plugin configuration dialog.}
352\label{fig:plugins:Oculars:Gui:Telescopes}
353\end{figure}
354
355
356\begin{description}
357\item[Name] -- A free-text description of the telescope.
358\item[Focal Length] -- telescope focal length in \mm.
359\item[Diameter] -- telescope diameter (aperture) in \mm.
360\item[Horizontal flip] -- if the view through this telescope should flip horizontally.
361\item[Vertical flip] -- if the view through this telescope should flip vertically.
362\item[Equatorial Mount] -- select it if this telescope has an equatorial mount.
363\end{description}
364
365\subsection{Scaling the eyepiece view}
366\label{sec:sec:plugins:Oculars:ScalingTheEyepieceView}
367I (TR) would like to thank Al Nagler over at Tele Vue\footnote{\url{https://www.televue.com/}} for helping to set me straight on the topic of eyepieces. They are a lot more complicated than you might think!
368
369By default, the view drawn on your computer screen when the plugin is active fills the screen. That is, there is a circle drawn to represent the view through the eyepiece, and this circle will fill the screen. For general use, this is what most people would want. There will be times that it's not.
370
371If you are going to be observing any deep space object, it can be very important to choose the best eyepiece for that object. You will typically want an eyepiece that will magnify the object as much as possible, while showing all of the object in the eyepiece view. Getting this can be tricky, especially if you do not like changing eyepieces at the telescope. Or maybe you want to understand why one type of telescope may be better than another type for observing what you are interested in. This is where you will want to scale the image on screen based on your eyepiece.
372
373Different eyepieces generally have a different apparent field of view (aFOV). An easy way to think about this is: the larger the aFOV, the bigger the picture you see in the eyepiece.
374Older types of eyepiece (some types still built and in wide use today have been constructed in the 19th century) generally have their aFOV in the $50\degree$ range.
375Today, there are massive eyepieces available with $82\degree$, and recently even $100\degree$ aFOV!
376These eyepieces are huge, as they require a lot of very special glass to achieve their incredible fields of view.
377An eyepiece of the same focal length with a $100\degree$ aFOV will produce an image through the eyepiece that is twice as wide as one produced by a $50\degree$ eyepiece.
378
379Different telescopes, with an eyepiece of a given aFOV, will also produce a different true field of view.
380This is the actual size of the piece of sky that you see through the eyepiece.
381Getting these two ``just right'' can be very important.
382It's easy to assume that you want the biggest telescope you can get, with the eyepiece that gives you the highest magnification.
383This is never true in reality. Depending on where you live, and especially what you like to look at, a 100-120\mm\ quality refractor with a wide aFOV eyepiece may very well be better than a large SCT with the same eyepiece. This is something I learned the hard way.
384
385So how does scaling the eyepiece view help? The plugin will find the eyepiece you have with the largest aFOV. This aFOV becomes $100\%$ of the computer screen diameter.
386Then, any other eyepiece will have its aFOV compared, and the view on screen will be scaled down accordingly. These $100\degree$ aFOV eyepieces makes the math here easy. If you have one, then when that eyepiece is used, the circle that represents the view through the eyepiece will take up $100\%$ of the screen diameter. Next, if you select an eyepiece with an $82\degree$ aFOV, its view will be scaled to $82\%$ of the screen, and a $62\degree$ aFOV eyepiece will be scaled to $62\%$ of the screen.
387
388\paragraph{Example in action}
389
390This is easier to understand in action, so let us look at an example that uses three eyepieces all with the same 17\mm\ focal length,
391so they all produce the same level of magnification (well, one has an 17.3\mm\ focal length, but its magnification is nearly identical) and see how the view changes.
392These example all use a Celestron C8 8" SCT telescope, and the target is the Great Orion Nebula.
393
394\begin{figure}[p]\centering
395\begin{tabular}{c}
396\includegraphics[width=.825\textwidth]{oculars_tv_ethos.png}\\
397\includegraphics[width=.825\textwidth]{oculars_tv_nagler.png}\\
398\includegraphics[width=.825\textwidth]{oculars_tv_delos.png}
399\end{tabular}
400\caption{Comparing apparent fields of view of (top) a 17\mm\ Tele Vue Ethos eyepiece with an aFOV of $100\degree$. Magnification is $119.5\times$.
401(center) a 17\mm\ Tele Vue Nagler eyepiece with an aFOV of $82\degree$. Magnification is $119.5\times$.
402(bottom) a 17.3\mm\ Tele Vue Delos eyepiece with an aFOV of $62\degree$. Magnification is $117.5\times$.}
403\label{fig:plugins:Oculars:TeleVue}
404\end{figure}
405
406
407We can see from the images in fig.~\ref{fig:plugins:Oculars:TeleVue}
408that the target is all three images is the same size. The $100\degree$ image fills the screen,
409the $82\degree$ is smaller, and the $62\degree$ is smallest yet, filling $62\%$ of the computer screen.
410Note that in each image, the field of view that you see changes. The larger the aFOV, the more you can see of the sky.
411So in this example, if you had an 8" telescope, you would want to use the 17\mm\ $100\degree$ Ethos eyepiece to see as much of the nebula as possible.
412
413\newpage
414\section{TelescopeControl Plugin}
415\label{sec:plugins:TelescopeControl}
416
417This plugin provides a simple control mechanism for motorized
418telescope mounts. The user selects an object (i.e.\ by clicking on
419something -- a planet, a star etc.) and presses the telescope go-to
420key, and the telescope will be guided to the object.
421
422Multiple telescopes may be controlled simultaneously.
423
424\paragraph{WARNING}\emph{Stellarium cannot prevent your
425telescope from being pointed at the Sun. It is up to you to ensure
426proper filtering and safety measures are applied!}
427
428Never point your telescope at the Sun without a proper solar filter
429installed. The powerful light amplified by the telescope WILL cause
430\emph{irreversible damage} to your eyes and/or your equipment.
431
432Even if you don't do it deliberately, a slew during daylight hours may
433cause your telescope to point at the sun on its way to the given
434destination, so it is strongly recommended to avoid using the
435telescope control feature before sunset without appropriate
436protection.
437
438
439
440\subsection{Abilities and limitations}
441\label{sec:plugins:TelescopeControl:Limitations}
442
443This plug-in allows Stellarium to send 'slew' ('go to') commands
444to the device and to receive its current position. There are some scopes which
445additionally support 'sync' commands to be received in order to update the internal
446pointing model of the mount. Some scopes also have the ability to abort a previous
447slew command. However, users should always be aware of the possibility for mount
448collisions and similar situations. You should always make sure that a slew does
449not cause parts of the telescope to collide with the environment or mount itself.
450
451Currently this plug-in does not allow satellite tracking unless the controlled
452telescope is an RTS2 system (see section~\ref{sec:plugins:TelescopeControl:RTS2}),
453and is not very suitable for lunar or planetary observations.
454Many mounts can be set to a 'lunar' tracking speed, you may prefer this.
455
456\subsection{Using this plug-in}
457\label{sec:plugins:TelescopeControl:using}
458
459Here are two general ways to control a device with this plug-in, depending on the situation:
460\begin{description}
461\item[DIRECT CONNECTION] A device supported by the plug-in is
462  connected with a cable to the computer running Stellarium
463
464\item[INDIRECT CONNECTION]\mbox{\ } % \\
465  \begin{description}
466  \item[local] A device is connected to the same computer but it is
467    driven by a stand-alone telescope server program or a third-party
468    application that can 'talk' to Stellarium;
469
470  \item[remote] A device is connected to a remote computer and the
471    software that drives it can 'talk' to Stellarium over the network;
472    this software can be either one of Stellarium's stand-alone
473    telescope servers, or a third party application.
474  \end{description}
475\end{description}
476Most older telescopes use cables that connect to a serial port
477(RS-232), the newer ones use USB (Universal Serial Bus). On Linux and
478Max OS X, both cases are handled identically by the plug-in. On
479Windows, a USB connection may require a 'virtual serial port'
480software, if it is not supplied with the cable or the telescope. Such
481a software creates a virtual ('fake') COM port that corresponds to the
482real USB port so it can be used by the plug-in. On all three
483platforms, if the computer has no 'classic' serial ports and the
484telescope can connect only to a serial port, a serial-to-USB
485(RS-232-to-USB) adapter may be necessary.
486
487Telescope set-up (setting geographical coordinates, performing
488alignment, etc.) should be done before connecting the telescope to
489Stellarium.
490
491\subsection{Main window ('Telescopes')}
492
493The plug-in's main window can be opened:
494\begin{itemize}
495\item By pressing the \button{configure} button for the plug-in in the
496  \menu{Plugins} tab of Stellarium's Configuration window (opened by
497  pressing \keys{F2} or the \guibutton[0.35]{2}{btd_config.png} button in the left toolbar).
498\item By pressing the \button{Configure telescopes...} button in the \menu{Slew to}
499  window (opened by pressing \keys{\ctrl+0} or the respective button on the
500  bottom toolbar).
501\end{itemize}
502
503\noindent The \menu{Telescopes} tab displays a list of the telescope connections that have been set up:
504
505\begin{itemize}
506\item The \emph{number (\#)} column shows the number used to control this
507  telescope. For example, for slewing telescope \#2, the shortcut is
508  \keys{\ctrl+2}.
509\item The \emph{Status} column indicates if this connection is
510  currently active or not. Unfortunately, there are some cases in
511  which 'Connected' is displayed when no working connection exists.
512\item The \emph{Type} field indicates what kind of connection this is:
513  \begin{description}
514  \item[virtual] means a virtual telescope (test mode).
515  \item[local, Stellarium] means a DIRECT connection to the telescope (see above).
516  \item[local, external] means an INDIRECT connection to a program running on the same computer.
517  \item[local, ASCOM] means an INDIRECT connection to a ASCOM driver running on the same computer.
518  \item[remote, unknown] means an INDIRECT connection over a network to a remote machine.
519  \item[remote, RTS2] means an INDIRECT connection over a network to an RTS2 server.
520  \item[remote, INDI] means an INDIRECT connection over a network to an INDI server.
521  \end{description}
522\end{itemize}
523
524\noindent To set up a new telescope connection, press the \button{Add} button. To modify
525the configuration of an existing connection, select it in the list and
526press the \button{Configure} button. In both cases, a telescope connection
527configuration window will open.
528
529
530
531\subsection{Telescope configuration window}
532
533\paragraph{Connection type}
534The topmost field represents the choice between the types of connections (see section~\ref{sec:plugins:TelescopeControl:using}):
535Telescope controlled by:
536\begin{description}
537\item[Stellarium, directly through a serial port] is the DIRECT case
538\item[External software or a remote computer] is an INDIRECT case
539\item[RTS2 Telescope] is another INDIRECT case\newFeature{0.16.0}
540\item[INDI] is another INDIRECT case\newFeature{0.17.0}
541\item[ASCOM] is another INDIRECT case\newFeature{0.19.3}
542\item[Nothing, just simulate one (a moving reticle)] is a \emph{virtual telescope} (no connection)
543\end{description}
544
545\paragraph{Telescope properties}
546\label{sec:plugins:TelescopeProperties}
547
548\begin{description}
549\item[Name] is the label that will be displayed on the screen next to
550  the telescope reticle.
551\item[Connection delay] If the movement of the telescope reticle on
552  the screen is uneven, you can try increasing or decreasing this
553  value.
554\item[Coordinate system] Some Celestron telescopes have had their
555  firmware updated and now interpret the coordinates they receive as
556  coordinates that use the equinox of the date (EOD, also known as
557  JNow), making necessary this setting. With ASCOM telescopes it's also
558  possible to use this setting to override the default device preference.
559\item[Start/connect at startup] Check this option if you want
560  Stellarium to attempt to connect to the telescope immediately after
561  it starts. Otherwise, to start the telescope, you need to open the
562  main window, select that telescope and press the \button{Start/Connect}
563  button.
564\end{description}
565
566\paragraph{Device settings}
567This section is active only for DIRECT connections (see above).
568
569\begin{description}
570\item[Serial port] sets the serial port used by the telescope.  There
571  is a pop-up box that suggests some default values:
572  \begin{itemize}
573  \item On Windows, serial ports \texttt{COM1} to \texttt{COM10}
574  \item On Linux, serial ports \texttt{/dev/ttyS0} to
575    \texttt{/dev/ttyS3} and USB ports \texttt{/dev/ttyUSB0} to
576    \texttt{/dev/ttyUSB3}. Make sure you have read/write access to the \texttt{tty} device.
577	Depending on your flavour of Linux, this may e.g.\ require some group membership.
578  \item On Mac OS X, the list is empty as it names its ports in a
579    peculiar way.
580  If you are using a USB cable, the default serial port of your
581  telescope most probably is not in the list of suggestions.  To list
582  all valid serial port names in Mac OS X, open a terminal and type:
583
584\begin{commands}
585  ls /dev/*
586\end{commands}
587%
588This will list all devices, the full name of your serial port should
589be somewhere in the list (for example,
590\texttt{/dev/cu.usbserial-FTDFZVMK}).
591\end{itemize}
592
593\item[Device model]: see~\ref{sec:plugins:TelescopeControl:supported} Supported devices.
594\end{description}
595
596\paragraph{Connection settings}
597Both fields here refer to INDIRECT connections, which implies communication over a network (TCP/IP).
598\begin{description}
599\item[Host] can be either a host name or an IPv4 address such as
600  '127.0.0.1'.  The default value of 'localhost' means 'this
601  computer'.
602
603  Modifying the default host name value makes sense only if you are
604  attempting a remote connection over a network. In this case, it
605  should be the name or IP address of the computer that runs a program
606  that runs the telescope.
607\item[Port] refers to the TCP port used for communication. The default
608  value depends on the telescope number and ranges between 10001 and
609  10009.
610\end{description}
611
612\paragraph{RTS2 settings} (see also \ref{sec:plugins:TelescopeControl:RTS2})
613You will need access to an RTS2 HTTPD server through HTTP/JSON calls.\newFeature{0.16.0}
614Please see RTS2 documentation (man rts2-httpd) for details. You will as well need username
615and password for HTTPD. Please be aware that in order to move the telescope,
616your user must have the telescope in the list of allowed devices in the database. Please see \texttt{man
617rts2-user} for details on how to manipulate RTS2 users.
618
619\begin{description}
620\item[URL] points to RTS2 HTTPD. Can include anything a URL can have - port
621  (:8889) and prefix path for RTS2 access.
622\item[Username] username used for login to RTS2 HTTPD.
623\item[Password] password for login to RTS2 HTTPD.
624\end{description}
625
626\paragraph{INDI settings} (see also \ref{sec:plugins:TelescopeControl:INDI})
627You will need access to an INDI server through a TCP/IP connection.\newFeature{0.17.0}
628Please see INDI documentation for details. You will need to select the correct INDI device to manage it.
629
630\paragraph{ASCOM settings}
631You can choose an ASCOM telescope driver installed in your system
632using the ASCOM chooser.\newFeature{0.19.3} Additionally you can
633choose how Stellarium is determining the coordinate system used to
634communicate with the ASCOM mount. For more information, please see
635\ref{sec:plugins:TelescopeControl:ASCOM}.
636
637\paragraph{User Interface Settings: Field of view indicators}
638
639A series of circles representing different fields of view can be added
640around the telescope marker. This is a relic from the times before the
641Oculars plug-in (see~\ref{sec:plugins:Oculars}) existed.
642
643Activate the 'Use field of view indicators' option, then enter
644a list of values separated with commas in the field below. The values
645are interpreted as degrees of arc.
646
647These marks can be used in combination with a virtual telescope to
648display a moving reticle with the Telrad circles.
649
650
651\subsubsection{'Slew telescope to' window}
652
653The \menu{Slew telescope to} window can be opened by pressing \keys{\ctrl+0} or the respective button in the bottom toolbar.
654
655It contains two fields for entering celestial coordinates, selectors
656for the preferred format (Hours-Minutes-Seconds,
657Degrees-Minutes-Seconds, or Decimal degrees), a drop-down list and two
658buttons.
659
660The drop-down list contains the names of the currently connected
661devices. If no devices are connected, it will remain empty, and the
662\button{Slew} button will be disabled.
663
664Pressing the \button{Slew} button slews the selected device to the selected set
665of coordinates. See the section about keyboard commands below for
666other ways of controlling the device.
667
668Pressing the \button{Configure telescopes\ldots} button opens the main window of
669the plug-in.
670
671TIP: Inside the 'Slew' window, underlined letters indicate that
672pressing \keys{\Alt + underlined letter} can be used instead of
673clicking. For example, pressing \keys{\Alt+S} is equivalent to
674clicking the \button{Slew} button, pressing \keys{\Alt+E} switches to
675decimal degree format, etc.
676
677
678\subsubsection{Sending commands}
679
680Once a telescope is successfully started/connected, Stellarium
681displays a telescope reticle labelled with the telescope's name on its
682current position in the sky. The reticle is an object like every other
683in Stellarium - it can be selected with the mouse, it can be tracked
684and it appears as an object in the 'Search' window.
685
686To point a device to an object: Select an object (e.g. a star) and
687press the number of the device while holding down the \keys{\ctrl} key. (For
688example, \keys{\ctrl+1} for telescope \#1.) This will move the telescope to the
689selected object. Note that most telescopes can only execute a single command to
690move to that object's position, but if the telescope is an RTS2 telescope,
691you can even track a satellite (if the mount then is fast enough to support it).%
692\footnote{Actually, the TLE orbital elements of the selected satellite are transmitted
693to RTS2, which does then compute the satellite position itself.}
694
695To point a device to the center of the view: Press the number of the
696device while holding down the Alt key. (For example, \keys{\Alt+1} for
697telescope \#1.) This will slew the device to the point in the center of
698the current view. (If you move the view after issuing the command, the
699target won't change unless you issue another command.)
700
701To point a device to a given set of coordinates: Use the \menu{Slew to} window (press \keys{\ctrl+0}).
702
703\subsection{Supported devices}
704\label{sec:plugins:TelescopeControl:supported}
705
706\subsubsection{Directly connected telescopes}
707All devices listed in the 'Device model' list are convenience
708definitions using one of the two built-in interfaces: the Meade LX200
709(the Meade Autostar controller) interface and the Celestron NexStar
710interface.
711
712The device list contains the following:
713\begin{description}
714\item[Celestron NexStar (compatible)] Any device using the NexStar
715  interface.
716\item[Losmandy G-11] A computerized telescope mount made by Losmandy
717  (Meade LX-200/Autostar interface).
718\item[Meade Autostar compatible] Any device using the LX-200/Autostar
719  interface.
720\item[Meade ETX-70 (\#494 Autostar, \#506 CCS)] The Meade ETX-70
721  telescope with the \#494 Autostar controller and the \#506 Connector
722  Cable Set. According to the tester, it is a bit slow, so its default
723  setting of 'Connection delay' is 1.5 seconds instead of 0.5 seconds.
724\item[Meade LX200 (compatible)] Any device using the LX-200/Autostar
725  interface.
726\item[Sky-Watcher SynScan AZ mount] The Sky-Watcher SynScan AZ GoTo
727  mount is used in a number of telescopes.
728\item[Sky-Watcher SynScan (version 3 or later)] SynScan is also the
729  name of the hand controller used in other Sky-Watcher GoTo mounts,
730  and it seems that any mount that uses a SynScan controller version
731  3.0 or greater is supported by the plug-in, as it uses the NexStar
732  protocol.
733\item[Wildcard Innovations Argo Navis (Meade mode)] Argo Navis is a
734  'Digital Telescope Computer' by Wildcard Innovations. It is an
735  advanced digital setting circle that turns an ordinary telescope
736  (for example, a dobsonian) into a 'Push To'' telescope (a telescope
737  that uses a computer to find targets and human power to move the
738  telescope itself). Just don't forget to set it to Meade
739  compatibility mode and set the baud rate to 9600B1.
740\end{description}
741
742\subsubsection{RTS2 telescopes}
743\newFeature{0.16.0}Setting up a robotic telescope and dome control system with RTS2
744is beyond the scope of this handbook, but see section~\ref{sec:plugins:TelescopeControl:RTS2}
745for a few notes to be able to connect and command the telescope with Stellarium.
746Please refer to the RTS2 Web pages\footnote{\url{https://rts2.org/}} for further details.
747
748Please be aware that some RTS2 usernames might have only read-only access. If this is
749case for your username, the telescope marker will be painted red (or
750\texttt{color\_telescope\_readonly} from Stellarium's settings file).
751
752\subsubsection{INDI telescopes}
753\newFeature{0.17.0}Setting up a robotic telescope and dome control system with INDI
754is beyond the scope of this handbook, but see section~\ref{sec:plugins:TelescopeControl:INDI}
755for a few notes to be able to connect and command the telescope with Stellarium.
756Please refer to the INDI web pages\footnote{\url{https://indilib.org}} for further details.
757
758\subsubsection{ASCOM telescopes}
759\newFeature{0.19.3}ASCOM specific settings can be configured when a ASCOM telescope was selected.
760Please see section~\ref{sec:plugins:TelescopeControl:ASCOM} for futher information about
761configuration possibilities.
762
763\subsubsection{Virtual telescope}
764If you want to test this plug-in without an actual device connected to
765the computer, choose ``Nothing, just simulate one (a moving reticle)'' in
766the \menu{Telescope controlled by:} field. It will show a telescope reticle
767that will react in the same way as the reticle of a real telescope
768controlled by the plug-in.  See the section above about field of view
769indicators for a possible practical application (emulating 'Telrad'
770circles).
771
772%% We don't neeed this remark any longer after 5 years...
773%This feature is equivalent to the 'Dummy' type of telescope
774%supported by Stellarium's original telescope control feature.
775
776
777\subsection{RTS2}
778\label{sec:plugins:TelescopeControl:RTS2}
779
780\indexterm{RTS2}, \newFeature{0.16.0}the Remote Telescope System 2, is a complete robotic observatory control system for Linux
781by Petr Kub\'{a}nek, who kindly provided the plugin code to make RTS2 interoperate with Stellarium.
782We cannot give a full manual or any further support for RTS2 here, please refer to its website\footnote{\url{https://rts2.org}}
783for complete instructions about dome control, cameras, filter wheels, weather sensors, etc.
784A few notes may be useful for beginners, though.
785
786RTS2's central piece is a daemon. Start the system:
787\begin{commands}
788sudo service rts2 start
789\end{commands}
790RTS2's main control screen is text-based, \program{rts2-mon}. For a quick check, switch on the system using \key{F9}.
791Telescope \texttt{T0} is a dummy telescope which you can select and operate with commands like \texttt{move 120 35}
792(this moves to RA=120°=8h, DEC=35°, but only when this position is above your horizon).
793
794Stellarium's Telescope plugin can communicate with RTS2 using the RTS2 web interface. You must run \program{rts2-httpd} for this,
795which may require the right permissions to write the lock files in \file{/var/run}. This program requires
796that a database has been created as described in the file \file{RUN} in RTS2's source directory and on the RTS2 website\footnote{\url{https://rts2.org/faq.html}}.
797Also, you must create a 'user' for RTS2. This is not a regular Linux account, but an entry in the RTS2 database.
798Create a user with \program{rts2-user -a <user>}. You should use a password different from your regular Linux password,
799as this will be transmitted in plain text between the computer running Stellarium and the RTS2 control computer,
800and may also be written into Stellarium's logfile. Then you can enable device control for the respective user.
801If you want to send slew commands from Stellarium, make sure to allow access to telescope \texttt{T0}.
802If not, Stellarium will be able to show the telescope marker, but you will not be able to control the telescope.
803To enable control for existing users in the default \file{stars} database,
804\begin{commands}
805psql stars
806update users set allowed_devices = '*';
807\end{commands}
808
809In case you cannot properly connect to the RTS2 telescope or cannot send slew commands,
810check Stellarium's logfile \file{log.txt} for some diagnostic messages.
811
812RTS2 is the only type of telescope supported by Stellarium which can autonomously track satellites.
813Tracking accuracy fully depends on Stellarium's TLE satellite elements being up-to-date
814(see section~\ref{sec:plugins:Satellites}) and the accuracy of your RTS2 installation.
815
816\subsection{INDI}
817\label{sec:plugins:TelescopeControl:INDI}
818\indexterm{INDI}, \newFeature{0.17.0}the Instrument Neutral Distributed Interface,
819is a distributed control system (DCS) protocol to enable control, data acquisition
820and exchange among hardware devices and software front ends, emphasizing astronomical
821instrumentation\footnote{\url{https://en.wikipedia.org/wiki/Instrument_Neutral_Distributed_Interface}}.
822
823INDI client (v1.6.0) has been incorporated into Stellarium's Telescope Control plugin
824by Alessandro Siniscalchi to allow Stellarium to communicate with INDI hardware drivers via INDI server.
825INDI server is a hub that sits between drivers and clients. It reroutes traffic for control and data across distributed networks.
826Each device or client in the network is a node and may communicate with other nodes whenever desired.
827The server supports broadcasting, chaining, and marshalling of data.
828
829Stellarium only supports INDI mounts (no other INDI devices), and you will need to select the correct INDI device
830to manage it at the stage of configuration of telescope.
831For this purpose the plug-in has a tool to getting the list of connected devices from the INDI server (when the server is working!).
832Please define hostname and port\footnote{The Internet Assigned Numbers Authority (IANA) has assigned to INDI
833the Transmission Control Protocol and User Datagram Protocol (TCP/UDP) port 7624.}
834in the ``INDI Settings'' block, press \button{Refresh devices} and select the required device in the list ``Devices''.
835
836List of telescope types supported by INDI\footnote{\url{https://indilib.org/devices/telescopes/all.html}}:
837\begin{itemize}
838\item Meade Autostar
839\item Meade LX200 (Classic/GPS/16)
840\item Celestron NexStar
841\item Celestron NexStar Evolution
842\item Orion Synscan Telescope
843\item EQ-6 MCU Update
844\item HEQ-5 MCU Update
845\item LittleFoot Vpower
846\item LittleFoot Elegance Photo
847\item Astro-Electronic FS-2
848\item EQMod
849\item Pulsar2
850\item SkySensor2000PC
851\item Takahashi Temma
852\item 10 Micron
853\item Losmandy Gemini
854\item Astrophysics
855\item Skywatcher Virtuoso (Alt/Az)
856\item IOptron IEQPro/CEM60
857\item IOptron ZEQ25/SmartEQ
858\item IOptron GotoNova Upgrade Kit 8400
859\end{itemize}
860
861\subsection{ASCOM (Windows only)}
862\label{sec:plugins:TelescopeControl:ASCOM}
863
864\indexterm{ASCOM} \newFeature{0.19.3}is probably the most widely used
865way how to communicate with telescopes, mounts and other astronomy
866equipment on Microsoft Windows operating systems. The ASCOM platform
867aims to decouple device dependent specifics by introducing a common
868standard for communication between device drivers and
869applications. Almost every telescope mount comes with an ASCOM driver
870and most of the astronomy software and tools can communicate with
871ASCOM compatible devices.
872
873The ASCOM telescope support has been added to Stellarium's Telescope Control plugin by Gion Kunz in version 0.19.3.
874
875Note that in order for Stellarium to communicate with your ASCOM
876compatible mount, you will need to have the ASCOM platform installed
877on your Windows machine (version 6 or
878higher\footnote{\url{https://ascom-standards.org/Downloads/Index.htm}}). Also,
879the ASCOM driver of your telescope mount needs to be installed before
880you can start using the telescope in Stellarium.
881
882\textbf{Important:} Most modern ASCOM drivers are written to run in 32bit and 64bit mode (any) and therefore are
883compatible with the 64bit and 32bit version of Stellarium. However, if you happen to have a 32bit or 64bit only
884driver for your telescope mount, you will also need to install the respective Stellarium version.
885
886In order to use your ASCOM telescope you need to select the correct device in the ASCOM chooser by clicking
887the button \button{Choose ASCOM telescope}. The selected device is shown below that button.
888
889By default, Stellarium is trying to ask the ASCOM driver in order to determine if JNow or J2000 coordinates
890should be used for communicating with the mount. If you'd like to override this behavior and tell the ASCOM telescope
891to communicate in the coordinate system configured in the section \nameref{sec:plugins:TelescopeProperties}, you can
892switch the radio button \button{Let ASCOM device decide} to \button{Use Stellarium settings} in the ASCOM settings of
893the Configure Telescope dialog.
894
895%\newpage
896\subsection{StellariumScope}
897\label{sec:plugins:StellariumScope}
898\program{StellariumScope} is a free add-on that enables you to control your ASCOM enabled telescope with Stellarium.
899
900Note that Stellarium supports ASCOM telescopes natively since version 0.19.3. There's no need to
901  use StellariumScope in order to use your ASCOM telescopes with Stellarium anymore. We are
902  encouraging our users to switch to the native ASCOM option going forward and the use of
903  StellariumScope is most likely not recommended in the future, unless you need particular features.
904
905% \begin{figure}[htp]
906% \begin{center}
907% \includegraphics[width=0.85\linewidth]{StellariumScopeFullWindow.jpg}
908% \end{center}
909% \caption{\program{StellariumScope} interface}
910% \label{fig:StellariumScopeFullWindow}
911% \end{figure}
912
913
914The original \program{StellariumScope} program was designed and implemented by Scott of ByteArts
915% and is still available for download\footnote{\url{http://www.bytearts.com/stellarium/}}.
916but is no longer available.
917It is now maintained by and available for download from Welsh Dragon Computing
918\footnote{\url{http://welshdragoncomputing.ca/x/index.php/home/stellariumscope/about-stellariumscope}}.
919
920\paragraph{Features}
921\begin{itemize}
922\item Provides an interface between Stellarium and ASCOM\index{ASCOM} telescope drivers.
923\item Provides the ability to both ``Sync'' and ``Slew'' the
924  telescope. It's also possible to issue a stop/cancel command from
925  Stellarium.
926\item You can easily host Stellarium on one computer linked to another
927  control computer that hosts the telescope driver.
928\item The installation program will automatically install the
929  documentation, but the link to the documentation is provided
930  by the developer\footnote{\program{StellariumScope} User's Guide --- \url{http://welshdragoncomputing.ca/x/st/misc/stellariumscope_user_guide.2016.03.05.pdf}} so you can read it before installation.
931\end{itemize}
932
933%Figure~\ref{fig:StellariumScopeFullWindow} shows the interface and
934%some of the options.
935
936Use this application (like all software that
937controls your mount) with supervision of your mount's movements.
938
939\subsection{Other telescope servers and Stellarium}
940\label{sec:plugins:TelescopeControl:Other}
941
942Other developers have also been busy creating hard- and software often
943involving Arduino or Raspberry Pi boards which can control GOTO or
944PUSHTO (manually driven but position-aware, usually Dobsonian)
945telescopes and are ultimately controlled from Stellarium. Those are
946not related nor authored by the Stellarium team, so while we welcome
947such development (esp.\ open-sourced) in general, we cannot provide
948documentation nor any support.
949
950A few examples:
951\begin{description}
952\item[iTelescope] \url{http://simonbox.info/index.php/astronomy/93-raspberry-pi-itelescope}
953\item[node-telescope-server] \url{https://www.npmjs.com/package/node-telescope-server}
954\item[OnStep] \url{https://groups.io/g/onstep}
955\end{description}
956
957One anonymous user sent a troubleshooting solution when connecting Stellarium to the Celestron \program{NexRemote} software:
958\begin{quote}
959%  This involves connecting Stellarium to the \program{NexRemote} software controlling a Celestron NexStar telescope.
960
961  One tricky Window XP issue I fixed was that my older laptop would
962  transiently lose connection with Stellarium although the status
963  would still be ``Connected'' and all looked normal. [\ldots]
964
965%  3 (or whatever) slews would work. Next -- nothing. Although all
966%  seemed well.
967
968  I boosted the \emph{NexRemote.exe} process in Windows XP to \emph{High} under
969  \emph{Set Priority} under the \program{Windows Task Manager} via
970  \key{\ctrl+\Alt+Del}.
971
972  All slews now proceed normally. Problem went
973  away.\footnote{\url{https://sourceforge.net/p/stellarium/discussion/278769/thread/16e4c054/?limit=25\#8ffa}}
974\end{quote}
975
976
977\newpage
978\section{Observability Plugin}
979\label{sec:plugins:Observability}
980
981This Plugin is activated with the button \guibutton[0.5]{0.3}{bt_observab_off.png}.
982It analyzes the observability of the selected object (or the
983screen center, if no object is selected). The plugin can show
984% rise, transit, and set times, as well as
985the best epoch of the year (i.e.,
986largest angular separation from the Sun), the date range when the
987source is above the horizon at dark night, and the dates of Acronychal
988and Cosmical rise/set.  Ephemerides of the Solar-System objects and
989parallax effects are taken into account.
990
991\subsection*{Explanation of some parameters}
992
993\begin{description}
994\item[Sun altitude at twilight] Any celestial object will be
995  considered visible when the Sun is below this altitude. The altitude
996  at astronomical twilight ranges usually between -12 and -18
997  degrees. This parameter is only used for the estimate of the range
998  of observable epochs (see below).
999\item[Horizon altitude] Minimum observable altitude (due to mountains,
1000  buildings, or just a limited telescope mount).
1001%% TODO: This should be replaced by the direct interaction with / evaluation of the landscape!!!
1002%\item[Today ephemeris] Self-explanatory. The program will show the
1003%  rise, set, and culmination (transit) times. The exact times for
1004%  these ephemeris are given in two ways: as time spans (referred to
1005%  the current time) and as clock hours (in local time).
1006\item[Acronychal/Cosmical/Heliacal rise/set] The days of Cosmical
1007  rise/set of an object are estimated as the days when the object
1008  rises (or sets) together with the rise/set of the Sun. The exact
1009  dates of these ephemeris depend on the Observer's location. On the
1010  contrary, the Acronycal rise (or set) happens when the star
1011  rises/sets with the setting/rising of the Sun (i.e., opposite to the
1012  Sun). On the one hand, it is obvious that the source is hardly
1013  observable (or not observable at all) in the dates between Cosmical
1014  set and Cosmical rise. On the other hand, the dates around the
1015  Acronychal set and rise are those when the altitude of the celestial
1016  object uses to be high when the Sun is well below the horizon (hence
1017  the object can be well observed). The date of Heliacal rise is the
1018  first day of the year when a star becomes visible. It happens when
1019  the star is close to the eastern horizon roughly before the end of
1020  the astronomical night (i.e., at the astronomical twilight). In the
1021  following nights, the star will be visibile during longer periods of
1022  time, until it reaches its Heliacal set (i.e., the last night of the
1023  year when the star is still visible). At the Heliacal set, the star
1024  sets roughly after the beginning of the astronomical night.
1025\item[Largest Sun separation] Happens when the angular separation
1026  between the Sun and the celestial object are maximum. In most cases,
1027  this is equivalent to say that the Equatorial longitudes of the Sun
1028  and the object differ by 180 degrees, so the Sun is in opposition to
1029  the object. When an object is at its maximum possible angular
1030  separation from the Sun (no matter if it is a planet or a star), it
1031  culminates roughly at midnight, and on the darkest possible area of
1032  the Sky at that declination. Hence, that is the 'best' night to
1033  observe a particular object.
1034\item[Nights with source above horizon] The program computes the range
1035  of dates when the celestial object is above the horizon at least
1036  during one moment of the night. By 'night', the program considers
1037  the time span when the Sun altitude is below that of the twilight
1038  (which can be set by the user; see above). When the objects are
1039  fixed on the sky (or are exterior planets), the range of observable
1040  epochs for the current year can have two possible forms: either a
1041  range from one date to another (e.g., 20 Jan to 15 Sep) or in two
1042  steps (from 1 Jan to a given date and from another date to 31
1043  Dec). In the first case, the first date (20 Jan in our example)
1044  shall be close to the so-called 'Heliacal rise of a star' and the
1045  second date (15 Sep in our example) shall be close to the 'Heliacal
1046  set'. In the second case (e.g., a range in the form 1 Jan to 20 May
1047  and 21 Sep to 31 Dec), the first date (20 May in our example) would
1048  be close to the Heliacal set and the second one (21 Sep in our
1049  example) to the Heliacal rise. More exact equations to estimate the
1050  Heliacal rise/set of stars and planets (which will not depend on the
1051  mere input of a twilight Sun elevation by the user) will be
1052  implemented in future versions of this plugin.
1053\item[Full Moon] When the Moon is selected, the program can compute
1054  the exact closest dates of the Moon's opposition to the Sun.
1055\end{description}
1056
1057\subsection*{Note on Terminology}
1058
1059The (sparse) literature on terminology about computing these Heliacal, Acronychal or Cosmic events
1060seems to disagree on which end of the night is to be computed. While all agree about
1061Heliacal rises taking place in the morning, Acronychal and Cosmic are sometimes applied
1062in reverse order from those described here. In case you use these data, make sure you
1063keep this definition as well.
1064
1065\subsection*{Author}
1066\label{sec:plugins:Observability:author}
1067This plugin has been contributed by Ivan Marti-Vidal (Onsala Space Observatory)\footnote{\url{mailto:i.martividal@gmail.com}} with some advice by Alexander Wolf and Georg Zotti.
1068
1069
1070
1071
1072%%% Local Variables:
1073%%% mode: latex
1074%%% TeX-master: "guide"
1075%%% End:
1076
1077