kbahey / onstep-python Goto Github PK
View Code? Open in Web Editor NEWA Python API for the OnStep Telescope Controller, LX200 compatible
License: GNU General Public License v3.0
A Python API for the OnStep Telescope Controller, LX200 compatible
License: GNU General Public License v3.0
Tried using the script, so far, only the homing menu seems to work.
When i try to run the backlash compensation, after centering the object and, as per the guidance to end with the "East" key, nothing happens, even though the message says, "moving away from the object".
A few more errors I get..
Running stress test, I get the following error:
File "./examples/menu.py", line 51, in <module> func() File "/home/astroberry/onstep-python/examples/drift_test.py", line 41, in drift_test ra = float(equ_decimal.split(',')[0]) ValueError: could not convert string to float:
Running Drift Test:
File "./examples/menu.py", line 51, in <module> func() File "/home/astroberry/onstep-python/examples/drift_test.py", line 41, in drift_test ra = float(equ_decimal.split(',')[0]) ValueError: could not convert string to float:
Have a german type EQ mount, if that matters, I also tried swithching to alt/az, but no difference.
Thanks.
Hello!
TRying to use this onstep python library to connect my mount to another piece of equipment - Running into a bit of a problem. On an older version of the SWS - I believe it was probably Main or the last release, the onstep python lib worked mostly alright.
However, now I am running into a consistent easily reproduced broken socket error, using SWS 2.06e and onstep 10.16a (also on regular onstep)
Basically to recreate - fire up the menu script, it connects, then use 'r' for report. First report works, then gets a SLW, then gets a broken pipe.
I am also getting consistent broken pipes in using this library as part of another project - i can get it to connect, but after a while, I get broken pipes.
onstep-python git:(master) โ ./examples/menu.py
Host 192.168.1.26 , Port 9998
OnStep Version: 10.16a
i. Initialize - sets Coordinates, UTC offset, Date/Time
h. Return to Home position
r. Report mount status
a. 1 Star Align
s. Slew to a star
sz. Slew to Alt/Azm
dt. Drift Test - Test internal drift
ba. Batch Align - upload 9 alignment points
st. Stress test - repeat long slews. Useful for testing driver/motor heating.
pa. Refine Polar Alignment
bl. Tune Backlash
d. Dump Status
x. Exit
Enter your selection -> r
Date: 07/03/23 Time: 11:12:30 UTC +05:00 Lat: +4138 Long: +08109 LST: 05:33:37
Time Stat Mnt-Time RA DEC Alt Azm
12:12:30 TRK 11:12:30 11:32:04 +9000:00 +4138:00 000*00:00
12:12:40 SLW
Traceback (most recent call last):
File "/Users/mikewagner/Projects/onstep-python/./examples/menu.py", line 67, in
func()
File "/Users/mikewagner/Projects/onstep-python/examples/report.py", line 24, in report
scope_tm = config.scope.get_time()
File "/Users/mikewagner/Projects/onstep-python/lx200/onstep.py", line 434, in get_time
self.scope.send(':' + cmd + '#')
File "/Users/mikewagner/Projects/onstep-python/lx200/sock.py", line 41, in send
self.sock.sendall(msg.encode('utf-8'))
BrokenPipeError: [Errno 32] Broken pipe
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.