Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...

TOPIC: Driver OnStep (LX200 like) for INDI

Driver OnStep (LX200 like) for INDI 1 week 3 hours ago #28437

  • azwing
  • azwing's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 112
  • Karma: 1
  • Thank you received: 18
@ James

Alignment limits:
Checking the Alignment model capability via the ":A?#" command since first digit returns MAX_NUM_ALIGN_STARS should be the way to do.
But in OnStep this is either 4 or 6, I don't see it set to 9 somewhere.
Reading this value during driver init could help to set the range between 1 and MAX_NUM_ALIGN_STARS in the control panel.
But when working with Ekos I still don't see how to use this except leaving it up to the user.

Write to EEprom Button:
Even if the Write EEprom button is not necessary for the alignment process, it should be present to allow user to trigger the EEprom write.

Detection of boards:
The ":GXnn# Get OnStep value" could cover board detection.
It returns a lot of information but not the board type as far I could see in the code. May be we can ask Howard to include that?

Ekos related:
Part of your answer exceeds my English.
So far what I undertood:
"I mainly wrote that quickly to test, and avoid the whole popups on goto. Frankly, I want the whole "Push this button to auto align it, and have it perfect." in Ekos."
You would like to have one button that starts an auto align with Ekos without user intervention?

"I think there's a bit more we can do with Ekos/INDI mount models possibly calculating the alignment and feeding the numbers OnStep needs to it, which eliminates the issue of speed as well. "
Use Ekos Mount Model to Download values to Onstep instead of doing calculation in the Firmware?

"I've found Ekos/INDI amazing.. if you know what's already been done, and doing it the way the other things do the 'right' way for interfacing with other things."
Sorry, I am lost here, don't understand.
If you mean we should use as much as possible what is already existing in Indi/Ekos, I fully agree.

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

Driver OnStep (LX200 like) for INDI 6 days 23 hours ago #28438

azwing wrote: @ James
But when working with Ekos I still don't see how to use this except leaving it up to the user.


Yes, when using my patch, it is left up to the user. Since the user has to go into the INDI control panel and select how many stars to align on,
they will also use the same number of stars when selecting them in Mount Model.


Write to EEprom Button:
Even if the Write EEprom button is not necessary for the alignment process, it should be present to allow user to trigger the EEprom write.


Agreed.


Detection of boards:
The ":GXnn# Get OnStep value" could cover board detection.
It returns a lot of information but not the board type as far I could see in the code. May be we can ask Howard to include that?


But that is added complexity. OnStep is fast evolving and there are already many board variants. If someone develops a new board (like I am doing), they will also need changes at the same time in INDI to make things work.

If we keep INDI board agnostic, it is better, since the board developer needs to worry about one side only (the board).

As you said, the :A?# can be queried for the maximum number of alignment stars, and that should suffice.

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

Driver OnStep (LX200 like) for INDI 6 days 22 hours ago #28439

  • azwing
  • azwing's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 112
  • Karma: 1
  • Thank you received: 18
@ Khalid,

I agree with you about OnStep Driver staying agnostic.

For detection I was more thinking about some additional features like presence of Temperature sensor, moisture .... that could be detected at init to enable/disable tabs for it in control panel like I do it for now with second focuser.

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

Driver OnStep (LX200 like) for INDI 6 days 22 hours ago #28440

That makes sense.
I have not heard of lots of people using these features within OnStep.
But if something is present, and readable over USB, then why not display a value for it? Maybe of use to someone.

Going back to the Mount Model, and the number of stars to use. In theory, we can modify Ekos to query OnStep via :A?# and automatically select the same number of stars. However, Ekos is not for OnStep only, and tens of other mounts run on it, so I am not not in favour of moving mount-specific complexities in the code and UI for Ekos.

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

Driver OnStep (LX200 like) for INDI 6 days 19 hours ago #28442

azwing wrote: @ James

Alignment limits:
Checking the Alignment model capability via the ":A?#" command since first digit returns MAX_NUM_ALIGN_STARS should be the way to do.
But in OnStep this is either 4 or 6, I don't see it set to 9 somewhere.
Reading this value during driver init could help to set the range between 1 and MAX_NUM_ALIGN_STARS in the control panel.
But when working with Ekos I still don't see how to use this except leaving it up to the user.

Ah, the stupid things overlooked on late cloudy nights. >_< I really need to review the alignment again.

We can alter the numbers in the switch based on that (an example of that is the focuser1 values) so detection of that should be easy.



Write to EEprom Button:
Even if the Write EEprom button is not necessary for the alignment process, it should be present to allow user to trigger the EEprom write.

Detection of boards:
The ":GXnn# Get OnStep value" could cover board detection.
It returns a lot of information but not the board type as far I could see in the code. May be we can ask Howard to include that?

The above would take care of that. As someone mentioned it's better to do the general case than a board by board.

Ekos related:
Part of your answer exceeds my English.
So far what I undertood:
"I mainly wrote that quickly to test, and avoid the whole popups on goto. Frankly, I want the whole "Push this button to auto align it, and have it perfect." in Ekos."
You would like to have one button that starts an auto align with Ekos without user intervention?

Ideally, yes. Though I'd want to watch it. That's essentially what the mount model is going towards.


"I think there's a bit more we can do with Ekos/INDI mount models possibly calculating the alignment and feeding the numbers OnStep needs to it, which eliminates the issue of speed as well. "
Use Ekos Mount Model to Download values to Onstep instead of doing calculation in the Firmware?

"I've found Ekos/INDI amazing.. if you know what's already been done, and doing it the way the other things do the 'right' way for interfacing with other things."
Sorry, I am lost here, don't understand.
If you mean we should use as much as possible what is already existing in Indi/Ekos, I fully agree.


What I mean, is that there exists www.indilib.org/api/md_libs_indibase_ali...ent_white_paper.html However, I'm not sure if it's the same (It should be extendable to replicate what is in OnStep, or to use others and have OnStep be sort of a dumb interface (which are the options that Eqmod seems to use from looking at it.)) If you look at that page, you'll understand why I haven't done it yet. ;) (Especially, with my apparent reading skills lately :lol: .)

As far as temp sensors, unfortunately, there's not a good interface to tie into. I was looking at that for images and recording it, because my CCD doesn't have a temp sensor (or at least none of them expose that functionality that I'm aware of.) Unfortunately, Ekos as just reading the CCD's temperature. Which is something that would require a fair bit of work to deal with, to add throughout several things. Displaying it would be great though.

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

Driver OnStep (LX200 like) for INDI 5 days 21 hours ago #28480

  • azwing
  • azwing's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 112
  • Karma: 1
  • Thank you received: 18
@James,

Since yesterday after last git pull I cannot compile anymore a working Indi.

Whatever I start ends up with "undefined symbol: _ZN4INDI9Telescope13ISSnoopDeviceEP8xml_ele_" error

3rdparty driver even do not compile and show "CMakeFiles/indi_eqmod_telescope.dir/eqmod.cpp.o:(.data.rel.ro._ZTV5EQMod[_ZTV5EQMod]+0x78): undefined reference to `INDI::Telescope::ISSnoopDevice(xml_ele_*)'" at compilation

Do you have same issue?

I wonder what I am doing wrong

============ After deeper verification ... I had some old files from previous builds not de-installed
I allways clean up previous builds with xargs rm < install_manifest.txt but something went wrong ... I'm really get old :-)

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

Last Edit: by azwing.

Driver OnStep (LX200 like) for INDI 5 days 19 hours ago #28482

You're not doing anything wrong. The code was updated to fix a C-language compliance issue

So update libindi and sudo make install and it should be good.

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Driver OnStep (LX200 like) for INDI 5 days 18 hours ago #28483

  • azwing
  • azwing's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 112
  • Karma: 1
  • Thank you received: 18
Thank you Jasem,

I finaly got to compile libindi.
all the 3rdparty drivers also except "indi-rtlsdr" (I suppose dependency for libdspau issue)
I will continue to search ...
================
A the end I don't know if I made something wrong or not but fact is that I had an old version of "libdspau.so" an "libdspau.so.1" in my /usr/lib/ directory.
After removal full compilation worked again.

Not that I need all the 3rdparty drivers, but I hate when something does not work ...

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

Last Edit: by azwing.
Time to create page: 0.193 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica