×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

Using the Observatory panel with a rolloff roof

3 months 2 weeks ago
sterne-jaeger
Platinum Boarder
Platinum Boarder
Posts: 375
Karma: 5
More
Using the Observatory panel with a rolloff roof #41616
Hi Tom,
I am working on this topic, but it's not completed yet. I struggled a while with a bug in the INDI driver and just submitted a PR. The point is, that the INDI does not sync the park status and as a result, the parking mode displayed is wrong.

TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro + ASI 294mc pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
The following user(s) said Thank You wotalota

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

3 months 1 week ago 3 months 1 week ago by calberts.
calberts
Expert Boarder
Expert Boarder
Posts: 104
More
Using the Observatory panel with a rolloff roof #41653
Hoi Guys, i am intrestted in your setups Rolloff roof, I preparing also Observatory Please can you share some building details and how to connect to ekos How will Ekos know its open how ist closed and how to frorce a close Chris

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

3 months 1 week ago
wotalota
Expert Boarder
Expert Boarder
Posts: 108
More
Topic Author
Using the Observatory panel with a rolloff roof #41700
In my case it is just a dyi home build, got general ideas from cloudynights observatory forum. Do not have plans but built it like a small shed 6'x8' with lumber from the local store. The motor and inverted V track is intended for a sliding gate opener, Aleko 1450. The motor comes with a remote control and has wired connection points for a open/close push button. It relies on magnetic switches positioned at either end of the run to turn off the motor.

When I was looking for a kick starter I saw there was the rolloff roof simulator code as an example and took that as a framework. If using a Raspberry Pi in the observatory there is a WiringPi interface that could be used directly. I am not using a pi and chose to interface via a Arduino controller. A simple text based protocol was used between the INDI driver code and the Arduino using the Arduino's default USB connection.

The question you asked about connections, The Arduino uses a relay to control the Aleko's push button on/off connection. There is a mechanical switch at both the opened and closed positions of the roof that the Arduino can pickup along with a switch that gets closed when the roof's tie downs are closed to stop me from forgetting. How to force a close, you would just use the normal Ekos interfaces, using the Observatory panel or the INDI properties interface, the Weather monitoring drivers will also work as for other Dome rolloff drivers. For the Aleko motor the remote also still works.

I have only a few images of the build if interested and of course you are welcome to the software if you can use it to get going. For Ekos software I think there are various approaches including script control examples. You might get more visibility starting a new thread requesting examples of what people have done.

/Tom

Mach1, TS86SDQ, ASI071, ASI174, OAG, focusPro
Attachments:

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

3 months 1 week ago
sterne-jaeger
Platinum Boarder
Platinum Boarder
Posts: 375
Karma: 5
More
Using the Observatory panel with a rolloff roof #41707
Hi Tom,
I just submitted a new diff that adds the necessary functionality for rolloff roofs. It would be great if you could test it. Hopefully, all points you mentioned are implemented.

Please be aware that the INDI driver had some small defects. They should be fixed with INDI 1.8.1. If you check out the latest version, it contains my fixes.

- Wolfgang

TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro + ASI 294mc pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
The following user(s) said Thank You TallFurryMan

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

3 months 1 week ago
wotalota
Expert Boarder
Expert Boarder
Posts: 108
More
Topic Author
Using the Observatory panel with a rolloff roof #41714
Wolfgang,

Be glad to. I can't do it directly because my implementation is so different. But I'll do a diff between the previous rolloff files and your updated ones. Depending on what is there I might be able to change my version to incorporate those differences for testing.

/Tom

Mach1, TS86SDQ, ASI071, ASI174, OAG, focusPro

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

3 months 1 week ago 3 months 1 week ago by wotalota. Reason: more confusion
wotalota
Expert Boarder
Expert Boarder
Posts: 108
More
Topic Author
Using the Observatory panel with a rolloff roof #41759
Wolfgang,

I have not progressed to the point of checking out code.
Tried a git clone github.com/indilib/indi.git but did not see any changes to roll_off.cpp if that is what I need.
Can you give me a pointer on locating the stream/release where the changed file(s) are?

Edit
I might be further away than expected for testing. I'm running INDI 1.7.9 so assuming it is the stable build which might be why the clone doesn't fetch your changes. I run Fedora and have not yet found how to change over to a nightly repository. So might need to wait for a release or install a ubuntu system.


Thanks
Tom

Mach1, TS86SDQ, ASI071, ASI174, OAG, focusPro

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

3 months 1 week ago
sterne-jaeger
Platinum Boarder
Platinum Boarder
Posts: 375
Karma: 5
More
Using the Observatory panel with a rolloff roof #41761
Hi Tom,
the changes were in indidome.cpp :
If you want to use it, check out the latest version from github and compile libindi.

HTH
- Wolfgang

TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro + ASI 294mc pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10

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

3 months 1 week ago
calberts
Expert Boarder
Expert Boarder
Posts: 104
More
Using the Observatory panel with a rolloff roof #41774
Tom,

Thanks for this explanation, this helps. good plan to make separate thread. I will study your solution, My aim was also to build it via Arduino but i was wondering how to communicate this back to EKOS en control it. ANyway thanks for your replay. Top

Chris

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

3 months 1 week ago
wotalota
Expert Boarder
Expert Boarder
Posts: 108
More
Topic Author
Using the Observatory panel with a rolloff roof #41780
Wolfgang,

That helped, I did a local build and tested it with all simulators including the rolloff-roof, If the simulator roof works then my variation will be okay, or I can make it so.

Your change fixed the relationship between the Observatory and rolloff-roof states. It work ed to park and unpark the roof just fine and kept them in sync.

I tested with a simple scheduler definition and there might still be an issue there. For me it opened the roof and went through the imaging steps. But when it came to closing the roof it did not and just kept repeating "Mount unparked." messages that I did not see the end of and just stopped the scheduler. This might be a problem local to my install due to mixing package manager daily updates with doing the local clone/build on the same machine. I need to sort out a better approach for doing the builds.

Mach1, TS86SDQ, ASI071, ASI174, OAG, focusPro
Attachments:

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

3 months 1 week ago
sterne-jaeger
Platinum Boarder
Platinum Boarder
Posts: 375
Karma: 5
More
Using the Observatory panel with a rolloff roof #41785
Tom,
I think the problem with a repeated "mount parking" comes from somewhere else. I set up a similar schedule, which ran fine.

- Wolfgang

TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro + ASI 294mc pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10

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

3 months 1 week ago
wotalota
Expert Boarder
Expert Boarder
Posts: 108
More
Topic Author
Using the Observatory panel with a rolloff roof #41816
Wolfgang,

Yes, I think the relationship between the Observatory and rolloff is working.

The mount did not park at the end because of:
2019-08-08T09:54:46 Telescope altitude is below minimum altitude limit of 0. Aborting motion...
Even though the rolloff simulator had the "Ignore Telescope" set it then failed to park.

Running the scheduler again with the telescope's altitude limits checkbox unchecked allowed it to park at the end, and then the roof would also park.

Perhaps the scheduler might have eventually stopped looping on the mount unparked message if a rain simulator was running?
Regards
Tom

Mach1, TS86SDQ, ASI071, ASI174, OAG, focusPro

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

3 months 1 week ago
sterne-jaeger
Platinum Boarder
Platinum Boarder
Posts: 375
Karma: 5
More
Using the Observatory panel with a rolloff roof #41847
Hi Tom,
strange. I will check it whether I can reproduce it with simulators.

- Wolfgang

TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro + ASI 294mc pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10

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

Time to create page: 0.792 seconds