Log Book Entry No.14

Days, Calendar Created: 12 Sep 2013 19:57:01 Days, Calendar Last Revised: 12 Sep 2013 22:06:25 Person PedroPaiva Text Test of Python Telescope Control

After turning telescope on, it successfully received GPS signal and did not started the usual RA movement.

The Camera was connected to Python via MaximDL
Telescope and Focuser connected to Python via the POTH Hub
Coordinates in agrement between Scope, Python and Stellarium

Target was set to be -0.1║ RA from current telescope position and Python SlewToTarget was tested.
Telescope moved the right amount and stopped, both telescope and Python alerted when ready.
A second test was made with +0.5║ RA. Also successfully.

Still with small (-0.1║ RA/DEC and +0.5║ RA) movements, Python SlewToCoordinates was tested successfully.

With the tests done, the telescope was moved to Vega via controled movements on Stellarium
Vega was inside the Camera Range, demonstrating that the Park Method works.
Vega was recentered (-0.01 on RA) and the telescope was manually synced.
During this test, movements as small as 0.003║ on RA proved to have no effect whatsoever.

The next step was to test the focuser and the camera.
First, while still on continuous mode of the camera, the Python-Focuser connection was tested.
Python can read the position and move the focuser. Units are steps. 1 step = 20Ám

Having confirmed that one can move the focuser with Python, Vega was taken out of focus to test if we could focus the star using a small

step = -2000
new = 100
i = 0
prin = True
while abs(step)>50:
    old = new
    val = []
    for j in range(3):
        cam.Expose(0.1, 1)
        while not cam.ImageReady:
            if prin:
                print 'Step:', step
                prin = False
        ap.load('test', ap.var.usrPath+'testImg.fit')
        m = ap.fitBrightest('test', fixAngle=True)
    new = mean(val)
    if new > old:
        step = -round(step/2)
    while POTHFocuser.IsMoving:
        if not prin:
            i = i+1
            print 'Image:', i, '  psf:', new
            prin = True

During the tests, a cloud covered the target but the time was enough to show that the script can work.

Telescope was parked and disconnected.
Camera was also disconnected.

Back to: LogBookAstronomy

Subject Test of Python Telescope Control
Status thumbs-up
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r2 - 12 Sep 2013 - PedroPaiva

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback