×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

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.
2 years 2 months 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: 2 years 1 month ago by David Tate.
2 years 1 month ago #80439

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

  • Posts: 237
  • Thank you received: 33
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
2 years 1 month ago #80444

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

  • Posts: 276
  • Thank you received: 52
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: 2 years 1 month ago by Gene N.
2 years 1 month ago #80545
Attachments:

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

  • Posts: 13
  • Thank you received: 0
2 years 1 month ago #80572

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

  • Posts: 1309
  • Thank you received: 226
Could you command it to goto an Alt-Az coordinate instead of RA and Dec?
2 years 1 month ago #80593

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

  • Posts: 276
  • Thank you received: 52
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
2 years 1 month ago #80594

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

  • Posts: 1309
  • Thank you received: 226
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. 
Last edit: 2 years 1 month ago by Andrew.
2 years 1 month ago #80595

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

  • Posts: 276
  • Thank you received: 52
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
2 years 1 month 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
2 years 1 month ago #80620

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

  • Posts: 276
  • Thank you received: 52
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?
2 years 1 month ago #80621

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

  • Posts: 1309
  • Thank you received: 226
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]
2 years 1 month ago #80641

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

Time to create page: 0.870 seconds