Git Product home page Git Product logo

alpacascope's People

Contributors

dependabot[bot] avatar synfinatic avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

124259473 amcvoy

alpacascope's Issues

auto discover chooser?

Right now we connect to the first Alpaca server that responds. In more complicated environments, we should support a chooser? Probably low priority since I doubt many people need this?

Crashing when set date/location

Happens from SkySafari with Nexstar with "set date/location" feature enabled.

./dist/alpacascope-0.0.6-darwin-amd64
INFO[0000] Looking for Alpaca Remote Server locally on port 11111...
INFO[0000] No local Alpaca Remote Servers found
INFO[0000] Discovered Alpaca Server on 172.16.1.115:11111
INFO[0000] Starting SkyFi Discovery service on UDP/4031
INFO[0000] Connected to telescope 0: CPWI_ASCOM_Telescope
INFO[0000] Waiting for nexstar clients on 0.0.0.0:4030
ERRO[0033] Error talking to scope: 1024: Property write UTCDate is not implemented in this driver.
panic: runtime error: index out of range [7] with length 7

goroutine 21 [running]:
main.NexstarToLatLong(...)
	/Users/aturner/go/src/github.com/synfinatic/alpacascope/cmd/nexstar.go:313
main.nexstar_command(0xc00000e6a0, 0x9, 0xc0000b3000, 0x400, 0x400, 0x0, 0x0, 0x8)
	/Users/aturner/go/src/github.com/synfinatic/alpacascope/cmd/nexstar.go:175 +0x1813
main.handleNexstar(0x13ef500, 0xc00009c070, 0xc00000e6a0)
	/Users/aturner/go/src/github.com/synfinatic/alpacascope/cmd/nexstar.go:24 +0x14c
created by main.main
	/Users/aturner/go/src/github.com/synfinatic/alpacascope/cmd/main.go:170 +0xb05

Tracking commands (T|t) are not supported by ASCOM

I may be off on this. Sidereal tracking may be turned on and off via PUT /telescope/{device_number}/tracking, see the Telescope Specific Methods. Not all mounts support PUT (turning it on and off). To find out check the value of GET /telescope/{device_number}/cansettracking.

If you try to slew the scope and sidereal tracking is off, many mounts report that they cannot be slewed to RA/Dec (slewtocoordinatessync).

Add support for SkyFi discovery protocol

SkySafari can auto-discover a SkyFi on the network but not sure how that works. Probably some kind of UDP broadcast protocol. Maybe I can emulate that? I don't have a SkyFi so not sure what the response is supposed to look like though- maybe I can find someone on CloudyNights to help?

~30sec delay connecting with LX200 Classic mode

If you enable setting time/location in SkySafari on Mac/iPad with LX200 Classic mode, there is a ~30sec delay introduced by SkySafari after AlpacaScope sends the reply. I think this is a SkySafari bug, but I could be doing something wrong?

Anyways, this issue doesn't happen with LX200 GPS mode, so users should avoid Classic for now.

Add version to GUI

AlpacaScope should report which version it is on startup. Right now there is no way to tell what version you have installed!

Add step-by-step how to

keep forgetting people don't understand how any of this ascom stuff actually works. need a step by step how to with pretty pics

Auto-unpark mounts

Looks like some mounts (ASCOM telescope simulator for example) 'park' the mount which means it can't move. In theory, we should offer up an auto-unpark mount feature? Honestly, this might be better done via the web ui.

Missing NexStar Commands: "J", "h", "P" and "m"

There are several unsupported commands that are continuously spamming the CLI. These commands are emitted by Stellarium Mobile. It does not seem like Stellarium Mobile is able to sync the telescope or set the location without knowing the alignment state. Furthermore, Stellarium Mobile will occasionally query the current telescope time.

The two unimplemented commands are:

"h" - Get Time

This should return the time in the same format as the "H" command handled at https://github.com/synfinatic/alpacascope/blob/main/telescope/nexstar.go#L219

"J" - Is alignment complete?

Should return 1 if the alignment is complete. For the sake of compatibility, this should return 1 if the alignment state is unknown.

Details of these commands may be found in the NexStar protocol document found here: https://s3.amazonaws.com/celestron-site-support-files/support_files/1154108406_nexstarcommprot.pdf

Add support for setting time?

In theory computers should be able to use NTP to set time which should be very accurate, but the GPS in the iPad/etc is also very good. Not sure if Alpaca allows setting time?

Add automated start option of "AlpacaScope Services" for headless solutions

Feature Request:
For those using headless setups, like a NUC or stick, the option to have "Launch AlpacaScope Services" auto start would eliminate the need to RDP into the NUC/stick to click the launch button.

Something along the lines of a checkbox that automates the following;
IF: Alpaca Server detected
THEN: Start AlpacaScope Services

Reason for request:
Ease of use in headless setups for children and neophytes.
Streamlining setup for public outreach situations.

As per our discussion on Cloudy Nights:
https://www.cloudynights.com/topic/781333-alpacascope-v200-release-now-with-a-gui/?p=12077071

Thank you

Add support for LX200 :St

DEBU[0013]/Users/aturner/go/src/github.com/synfinatic/alpacascope/cmd/lx200.go:74 main.lx200_command() Received 10 bytes [:St+37*17#]: :  83 116 43 51 55 42 49 55 35
DEBU[0013]/Users/aturner/go/src/github.com/synfinatic/alpacascope/cmd/lx200.go:108 main.lx200_command() Consumed 10 of 10 bytes in buffer
ERRO[0013]/Users/aturner/go/src/github.com/synfinatic/alpacascope/cmd/lx200.go:397 main.lx200_command() Unsupported command: ':St+37*17#'
DEBU[0013]/Users/aturner/go/src/github.com/synfinatic/alpacascope/cmd/lx200.go:46 main.handleLX200Conn() command ':St+37*17#' returned a zero length reply

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.