×

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

Bi-monthly release with minor bug fixes and improvements

EqMod: unpark only if dome is [IMPLEMENTED]

  • Posts: 2247
  • Thank you received: 223
I would love to have the following feature added to the EqMod please:
only allow to unpark the mount if the dome (if a dome driver is loaded) is unparked.


thanks


edit: feature has been added, see feedback post: www.indilib.org/forum/ekos/1598-feedback...cope-park-aware.html
Last edit: 7 years 5 months ago by Gonzothegreat.
8 years 4 days ago #7411

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

  • Posts: 456
  • Thank you received: 76

Replied by Derek on topic EqMod: unpark only if dome is

I would also like this in the Celestron driver.
8 years 3 days ago #7419

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

  • Posts: 193
  • Thank you received: 46
if somebody does this, I'd hope it's something we can disable.

I can understand wanting it for a roll off, but we will have domes, so scope can move thru the entire range with dome parked and closed. In fact, we want to be able to move the scope with dome parked and closed, to point it at the flat field.
8 years 3 days ago #7427

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

  • Posts: 2247
  • Thank you received: 223
Of course there should be an option to disable it.
As far as I know there is no driver for a roll on-off but there are for domes.

My observatory for example is uber compact, see the following post indilib.org/forum/general/1014-post-your-indi-setup.html#7313 , unparking the mount by accident and issuing a slew command would be catastrophic if the roof is still down.

With the help of Jasem, I have now a driver for my box, it acts as a dome driver with park and unpark.
8 years 3 days ago #7429

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

  • Posts: 2247
  • Thank you received: 223
Just wondering if anyone had more thoughts about this please.
7 years 5 months ago #10783

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

  • Posts: 2247
  • Thank you received: 223
I suppose the subject should have said: " EqMod: unpark only if roof is open"
The following user(s) said Thank You: Nt click
7 years 5 months ago #10784

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

There has been a recent change to the rolloff driver that implements the check in the rolloff, i.e. it won't park when the scope is not parked yet. So use that.
The following user(s) said Thank You: Gonzothegreat
Last edit: 7 years 5 months ago by Jasem Mutlaq.
7 years 5 months ago #10786

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

  • Posts: 271
  • Thank you received: 72
Just in case anyone comes across this thread, there has been implemented 'scope and dome interlocks' in the inditelescope and indidome super classes.

indilib.org/forum/general/1695-telescope...done-diff.html#12600
github.com/indilib/indi/commit/108ccd09a...5feb420bd385d99e6738

A simple check for INDI::Dome::isLocked() before parking a dome,
and a check for INDI::Telescope::isLocked() before unparking mount will do the trick.
There is also a option for the dome to tell the scope to park, if dome tries to park when the telescope is locking.

Default is feature disabled for both domes and scopes.

This is implemented on dome drivers dome_simulator and roll_off, and telescope drivers telescope_simulartor and celestrongps.

I'm using it in 'production' on my obsy, and have found it to work well :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: Jasem Mutlaq, Vincent Groenewold
7 years 3 months ago #13194

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

Can you please re-test this? as I made some changes to snooping stuff to fix another issue that created a feedback loop among chained servers.
7 years 3 months ago #13230

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

  • Posts: 271
  • Thank you received: 72
Tested and still working :)

However I did find one bug. If telescope and dome is unparked, telescope is set to 'dome parks' or 'both', and then dome is disconnected.
This will trigger a snooped update on the dome's park status (in telescope driver), and the telescope will park.

Telescope is set to park if DOME_PARK or DOME_SHUTTER is (emitted) and not Ok

if (!strcmp(propName, "DOME_PARK") || !strcmp(propName, "DOME_SHUTTER"))
{
if (strcmp(findXMLAttValu(root, "state"), "Ok"))

This is because some dome drivers sets property to IPS_ALERT when parking and others use IPS_BUSY
I'm not sure what the dome sets the properties to when disconnecting, but it is triggering the above if check.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
7 years 3 months ago #13233

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

Time to create page: 0.492 seconds