×

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

Bi-monthly release with minor bug fixes and improvements

Driver OnStep (LX200 like) for INDI

  • Posts: 161
  • Thank you received: 39
I've got a few suggestions on it, which mainly are to use the sendOnSteCommand() over sendOnStepCommandBlind (As most of that returns 0/1) and test for it. That will let us add a check so if it doesn't support it to not do it again, but I'll issue a pull request to you in the next day or two if you want.

I still think that it being chatty isn't an issue except that it often runs into some of the timeouts if something isn't supported, and if we keep doing it, and triggering the timeout, or leaving things in the buffer compared to: If we check it once the timeout happens near enough to startup. We can also gate that with OnStep version check, but I haven't dug into things enough to know when those were added.
1 year 1 month ago #91129

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

  • Posts: 452
  • Thank you received: 71
@James,

I agree we, there is no bottleneck is sight. And so it is not really necessary to hurry up on this matter.
My concern was more on having a sort of brainstorming on how to make things more simple and more efficient.
I suppose you are like me, putting our hands in the code after a while is not really easy.
Another idea would be to split the huge "ReadScopeStatus()" into calls to more specific functions.

Thanks
1 year 1 month ago #91132

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

  • Posts: 115
  • Thank you received: 17

All instructions how to build INDI I found were unsuccessful, So I simple wait new INDI release
1 year 1 month ago #91153

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

  • Posts: 452
  • Thank you received: 71
Hi,

i make a script to setup an environment ready to develope indi.
it installs all the requirements,
clones my git version
creates development directory
and then compiles and install indi.
You first must ensure you are in the sudoer group

When you compile and install indi it replaces all thge files installed by apt but it is easy to restore the installation with apt install --reinstall


then create a script file with your editor
#!/bin/sh
cd ~
mkdir -p Projects
cd Projects
 
sudo apt install -y git cdbs dkms cmake fxload libev-dev libgps-dev libgsl-dev libraw-dev libusb-dev zlib1g-dev libftdi-dev libgsl0-dev libjpeg-dev libkrb5-dev libnova-dev libtiff-dev libfftw3-dev librtlsdr-dev libcfitsio-dev libgphoto2-dev build-essential libusb-1.0-0-dev libdc1394-22-dev libboost-regex-dev libcurl4-gnutls-dev libtheora-dev
 
git clone https://github.com/azwing/indi.git indi
cd indi
./developer-build.bash 
cd build
sudo make install

make it executable with
chmod +x filename
 
and finally you shoudl be able ti run the script and at the end you would have indi installed
The following user(s) said Thank You: Wieslaw Stawiski
Last edit: 1 year 1 month ago by Alain Zwingelstein.
1 year 1 month ago #91154

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

  • Posts: 65
  • Thank you received: 4
I have been desiging a camera rotator for OnStep and so far i do not see how to use a OnStep rotator in Ekos.

When i bring up the "optical train" configuration OnStep is not an option for Rotator.

The OnStep driver shows the rotator and moves the rotator.

I thought maybe i need to go to the camera and "Snoop" rotator for OnStep, but that did not help either.

I am testing indoors only right now.

Any ideas on how the rotator is supposed to be used in Ekos???

Thanks!
Chad

1 year 1 month ago #91160
Attachments:

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

  • Posts: 115
  • Thank you received: 17
Include ROTATOR_INTERFACE flag into "DRIVER_INFO.DRIVER_INTERFACE" property?
1 year 1 month ago #91161

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

  • Posts: 452
  • Thank you received: 71
Hi Chad,

this was my fear ... how to test the rotator without a rotator.
I really need to work on my simulator otherwise I never will be in position to test anything seriously!

Now to come to your question: Why rotator is not shown in Ekos ... I must admin I have no clue.
It is the first time I see the rotator interface in the Control panel (that show my incompetence here :-)
I suppose one must have a AltAz mount to test the rotator and I don't have one and do not even understand how it works in Onstep.
(tracking speed vs sky position ...), difficult to make a simulation.

What I know is we use the "indi rotator interface" in the driver so the rotator property should be available to Ekos ...

I am still trying to test the last modifications with the poor setup I have here before issuing a pull request.
1 year 1 month ago #91165

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

  • Posts: 452
  • Thank you received: 71
Denis,

any idea on how to do that?
1 year 1 month ago #91166

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

  • Posts: 115
  • Thank you received: 17
setDriverInterface(getDriverInterface() | ROTATOR_INTERFACE);
in initProperties function?
But I'm not sure if it's right )
1 year 1 month ago #91168

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

  • Posts: 65
  • Thank you received: 4
Hi Alain, i can help you out with some test hardware. I will send you an email so we can work out the details and you can continue to help the OnStep and INDI community.

I use the rotator for astrophotography. It could be used as a de-rotator for alt/az, but that is not my goal right now. I want to use it to frame my pictures they way i want them by being able to rotate the camera.

Also i also tried your script last night to do the beta testing for you. I had to install cmake also. Then i ran into what looked like missing libraries. When i get done with my real job today i will send your more debugging information on doing your beta testing.

Chad
graydigitalarts.com/
1 year 1 month ago #91169

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

  • Posts: 452
  • Thank you received: 71
I will make a try just skiping Rotator detection so I can see Rotator Tab and check if Ekos sees it.

I made the test.
I see rotator tab in control panel (I forced detection positive)
In Ekos I see nothing about a derotator (setDriverInterface(getDriverInterface() | FOCUSER_INTERFACE | WEATHER_INTERFACE | ROTATOR_INTERFACE);)

How do you see that Ekos is aware of this Rotator?
Last edit: 1 year 1 month ago by Alain Zwingelstein.
1 year 1 month ago #91170

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

  • Posts: 65
  • Thank you received: 4
Good question... i found the rotor class for INDI. They list popular rotators like Pyxis. Maybe OnStep needs to be added as a possible rotator to INDI?

www.indilib.org/api/classINDI_1_1Rotator.html
1 year 1 month ago #91172

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

Time to create page: 1.435 seconds