Bisque Paramount - INDI driver for TSX TCP API?

  • Posts: 152
  • Thank you received: 20
I've been searching around for this but haven't found much.

The Bisque Paramounts are controlled by The Sky X, which has a scriptable API that is exposed through a TCP server. The mount can be controlled almost completely via this API by feeding javascript commands to this TCP server. Reference here:

www.bisque.com/scriptTheSkyX/

Others are already doing this by direct interaction. I'm curious as to whether there is an ability to write an INDI "driver" that abstracts this API and would allow mount control INDI clients to control the Paramounts just as they would any other mount. This is especially interesting with TSX about to be released as a Raspberry Pi appliance, such that the Pi basically becomes a smart replacement for a hand controller with brains.
8 years 4 months ago #8308

Please Log in or Create an account to join the conversation.

  • Posts: 314
  • Thank you received: 95
I found some information on page rts2.org/wiki/hw:start
You can try my open project Astronomy Linux
Last edit: 8 years 4 months ago by Oleg.
8 years 4 months ago #8309

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 20
This appears to be a direct implementation of the Bisque protocol, intended to bypass The Sky X. I'm more looking for a way to control a Paramount via the scripting interface of TSX such that the mount can be controlled by INDI clients. For example, I'd love for it to be able to ask TSX to perform a closed-loop slew to an object, and let TSX reply with success or fail.
8 years 4 months ago #8314

Please Log in or Create an account to join the conversation.


This is interesting. If you need help developing an INDI Mount driver, let me know. So you just open a socket to the TCP server and start sending and receiving javascript? Have you tried this yourself? What are the commands necessary for a basic mount control?
8 years 4 months ago #8330

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 20
Yes, it's that simple. I have tried it - it works. In fact, you can even run the camera, filter wheel, and focuser this way, start up guiding, etc. I have seen some others automate the mount this way using bash scripts. I started framing something out in Python, but the INDI approach is much more interesting to me.

I'll get you some example snippets ASAP. Yes, I can use some help. I don't know C/C++ at all, not sure I'm up for diving in with those. Thanks!
8 years 4 months ago #8344

Please Log in or Create an account to join the conversation.

Sure, let's see the example stuff first and then proceed from there.
8 years 4 months ago #8346

Please Log in or Create an account to join the conversation.

Bisque Paramount - INDI driver for TSX TCP API? - INDI Forum
  • Posts: 152
  • Thank you received: 20

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 20
Now that I think about this, it would be awesome if INDI had a "scriptable" driver that can be instantiated such that when provided certain commands and/or information a configured script is executed by the driver. This would abstract scriptable items and present them as a standard INDI hardware driver I think.

Example:

Scriptable INDI driver set up to control a mount. Client passes a slew command to an RA/Dec to the driver, which then has a configuration to take that info and pass it to a configureable script, wait for a response, and so on.
8 years 4 months ago #8348

Please Log in or Create an account to join the conversation.

What actually gets sent over the wire? What does sky6RASCOMTele.SlewToRaDec(MyRA, MyDec, "MyObject") do?

INDI has scripting for over 13 years now. You can do it via Python, DBUS, or via INDI scripting tools.
8 years 4 months ago #8349

Please Log in or Create an account to join the conversation.


×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

  • Posts: 152
  • Thank you received: 20

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 456
  • Thank you received: 76

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 69
  • Thank you received: 12
I attach C programs that I use to communicate with TSX to control a Paramount MYT. Those are basic commands to
Sync
Slew
Abort
Get RA and DEC
Home
The following user(s) said Thank You: Jasem Mutlaq
8 years 4 months ago #8366
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.636 seconds