×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Is it possible tho have differente park and unpark positions?

  • Posts: 13
  • Thank you received: 0
HI, dont know if this is possible (or even if makes sense). Is it possible that when we park the mount the parking position would be the weights down and the scope horizontal (pointing the horizon) and when unpark the scope moves to point the NCP?

Thanks.
10 months 2 weeks ago #79852

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

  • Posts: 309
  • Thank you received: 40
I'd love to have a park position that's horizontal.   I would think it could keep debris from landing on the lens.  (Looking at you my bird friends)
Last edit: 9 months 4 weeks ago by David Tate.
9 months 4 weeks ago #80439

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

  • Posts: 135
  • Thank you received: 22
Whilst you could set the park position to whatever you like (atleast on my HEQ5 pro its possible), Ekos would NOT automatically go to NCP position on unpark

Celestron Astromaster 130 on HEQ5 Pro mount, ZWO ASI224mc, 30mm guidescope with ASI120mm mini. All managed using Kstars/Ekos on RPi with Astroberry build.
9 months 4 weeks ago #80444

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

  • Posts: 241
  • Thank you received: 49
Hi Pedro,

A utility that -may- do what you want, albeit outside Kstars/Ekos

The shell script will
1) Connect to your telescope indi driver
2) Check Park state and unpark if requested, abort if not want to unpark
3) Check track state and enable tracking if requested
4) Calculate the LST (Local Sidereal Time) using a compiled lst.c (see below)
5) Ask if you want to move to the given RA (LST)
6) Set Slew on Coordinates Set
7) Perform slew
8) Set Tracking on Coordinates Set

Note: The program does not wait for slew to finish, it just exits

Attachment has two files
move_ncp.sh and lst.c

Extract to someplace
<em>  mkdir MYDIR
  cd MYDIR
  tar -xzf PATH_TO_FILE/move_ncp.tar.gz</em>

Then change to the MYDIR
<em>  cd MYDIR</em>
The file lst.c must be compiled
<em>  gcc -o lst lst.c</em>


<strong>Edit the move_ncp.sh script:</strong>
Changing your telescope driver name in place of "Telescope Simulator"
If you want to go someplace other than 90deg DEC, change that also

Example execution against Telescope Simulator
The<strong> parameter </strong>is your Longitude in decimal degrees for LST calc

<em>indiserver indi_telescope_simulator</em>
.<em>/move_ncp.sh <strong>282.1234 </strong></em>

<strong><em>Result Connect to Telescope Simulator = On
ParkState = +On
Unpark the telescope (Y/y) ?
y
GOT YES
Tracking State = +Off
Turn tracking on (Y/y) ?
y
GOT YES
Perform slew to 20:22:58 (Y/y) ?
y
GOT YES
Setting to RA = 20.3828831

 

File Attachment:

File Name: move_ncp.tar.gz
File Size:2 KB
 
The following user(s) said Thank You: Pedro Miguel Nunes do Reis
Last edit: 9 months 3 weeks ago by Gene N.
9 months 3 weeks ago #80545
Attachments:

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

  • Posts: 13
  • Thank you received: 0
9 months 3 weeks ago #80572

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

  • Posts: 1279
  • Thank you received: 222
Could you command it to goto an Alt-Az coordinate instead of RA and Dec?
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
9 months 3 weeks ago #80593

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

  • Posts: 241
  • Thank you received: 49
Hi Andrew,

When you are in the indi control panel for your mount, does it show the capability to go to a specific Alt/Az location?

Gene
9 months 3 weeks ago #80594

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

  • Posts: 1279
  • Thank you received: 222
My SW HEQ5pro only has Ra and Dec coordinates in the driver. But IF it is possible via terminal setprop command, then it might be worth exploring that with a script. Food for thought.

edit: I feel it really ought to be possible, as it is also useful for pointing at a wall mounted flat panel. Perhaps someone has already found a way for that purpose. 
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 9 months 3 weeks ago by Andrew.
9 months 3 weeks ago #80595

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

  • Posts: 241
  • Thank you received: 49
Hi Andrew,

Which driver are you using for your HEQ5?
On any of the tabs of the driver, when connected and running, do you see anything with "Horizontal" in the parameter name?

You can also pull all available items from all loaded/connected drivers with a
indi_getprop

Gene
9 months 3 weeks ago #80617

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

  • Posts: 13
  • Thank you received: 0
Hi Gene
I guess the followup question would be, how can I execute thin within kstars? What would be the workflow? creating a "new" driver or something, in order to have "a button".

Thanks for your help
9 months 3 weeks ago #80620

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

  • Posts: 241
  • Thank you received: 49
If the driver does not expose it, kstars/ekos is a moot point.

Now, if driver does support it, I -think- building a sequence to execute a pre-job script (see Scripts Manager) and just doing a simple second exposure wherever scope is pointing originally, -might- do what you ask. I am not a Kstars/EKos user.

If the driver does not support it, you would need to drop into direct serial communications with the mount and once connected probably could not talk out the interface port to do it.

Again the previous questions:
Which driver are you using for your HEQ5?
On any of the tabs of the driver, when connected and running, do you see anything with "Horizontal" in the parameter name?
9 months 3 weeks ago #80621

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

  • Posts: 1279
  • Thank you received: 222
My HEQ5 uses EQmod.
indi_getprop can tell what the ALT;AZ position is under the following lines. But I was not able to command a slew
EQMod Mount.HORIZONTAL_COORD.ALT
EQMod Mount.HORIZONTAL_COORD.AZ
I did notice that a Flat frame in the capture module activates a button with an option to point it to an Alt-Az coordinate for a wall mounted flat panel. Perhaps you can incorporate that into a sequence or script and shutdown after it. You'll just end up with some useless frames saved someplace to delete later.
Reading the .esq sequence file with a Flat Frame includes lines like this with simple coordinates had I set:
[code]</Properties>
<Calibration>
<FlatSource>
<Type>Wall</Type>
<Az>90</Az>
<Alt>0</Alt>
</FlatSource>[code]
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
9 months 3 weeks ago #80641

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

Time to create page: 0.673 seconds