Git Product home page Git Product logo

onstep-python's People

Contributors

kbahey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

onstep-python's Issues

Doesn't seem to work with the current Master

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.

Broken pipe on newest SWS

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.