×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

Driver OnStep (LX200 like) for INDI

  • Posts: 52
  • Thank you received: 7
Which OnStep version does the OnStep driver expect, or was developed against? I assume features, behavior and capabilities can vary. Latest release is 3.16. When I experimented with OnStep focuser support, I was told by Howard, that master would be safe currently (end 2020). Therefor my current version is 4.17j.

Anything you driver developers can recommend? Better stick with Release?

CS
Guido
2 months 2 weeks ago #69507

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

  • Posts: 217
  • Thank you received: 17
The recommended version of OnStep itself is the beta , which is now at 4.23.
Although it is labeled beta, it is pretty stable.

The master version is 5.x, but it will be phased out when Howard's new rewrite (OnStepX) is done in a few months perhaps.

You can use 3.x, 4.x or 5.x with KStars/Ekos/INDI that is in Jassem's PPA.
That is because the API itself has not changed significantly. A few commands were added (e.g. Spiral Search), but if an OnStep client does not issue that command, then nothing happens anyway.
The following user(s) said Thank You: Guido Muesch
2 months 2 weeks ago #69508

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

  • Posts: 52
  • Thank you received: 7
Thanks! Good to know.

I had a frustrating evening yesterday when I wanted to switch my mount from Equatorial to AltAz und therefore needed to recompile OnStep. It moved in unexplainable ways and also parked in different positions. At some point I switched to the latest Release and it began to move reasonable again. But after a "move to home" it got stuck. An "unpark" was not successful. "Tracking enable" however was successful. Later I figured out that it works when I set a park position. OnStep's internal state handling is sometimes a bit inconsistent. After some more issues (timezone was 1h off) I finally got it working.

OK, this was all unrelated to INDI, as I reconfigured my mount to AltAz for visual observation and I am using a Basic Handcontroller and the OnStep App for controlling the mount. However I used INDI inbetween when I was trying to figure out what was going wrong.

Sorry for venting my frustration with OnStep. Let's hope Howard makes the Beta a final stable release before putting all his energy into OnStepX. ;-)

CS
Guido
2 months 2 weeks ago #69516

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

  • Posts: 217
  • Thank you received: 17
OnStepX is ongoing, and the beta is actually very stable. Howard is just being conservative and want to get more community testing before he brands that as stable.

I don't use an Alt-Az mount, so can't tell what went wrong.

But you should ask these questions in the group, where there are some Alt-Az users who may help.
Before you do this though, try to test the same sequence indoors during the day.
Once you have a reproducible sequence, the problem becomes obvious to others, and therefore easier to solve.
2 months 2 weeks ago #69526

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

  • Posts: 33
  • Thank you received: 0
I have a problem with the Weather Feature:
I use a real meteo station "Weather Radio" and the Indi watchdog.
The problem is that  LX200 OnStep overrides the weather setting on the watchdog and i can't change it.
Is it possible to turn off the weather feature on the LX200 OnStep driver ?
1 month 4 weeks ago #70285

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

  • Posts: 33
  • Thank you received: 0
Very strange.
It works well with CCDCiel but not with Kstars ...
With CCDCiel, I can change the Weather driver on Watchdog.
With Kstars I cannot and if I change to CCDCiel, Kstars changes new driver for LX200 OnStep.
1 month 4 weeks ago #70302

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

KStars was forcing first detected Weather source to be there. I just disabled that in GIT and should be available in 3.5.3 soon.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 4 weeks ago #70325

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

  • Posts: 109
  • Thank you received: 26
Just as a heads up, I have some changes in my repository (master branch) which I haven't yet pushed to libindi.

    - Weather support for setting temperature/humidity/pressure, values will be overridden in OnStep by any sensor values. 
    - Ability to swap primary focuser. (This will change which one is listed in the focuser lists, and supports future focusers based on OnStepX plans)
    - High precision on location, and not overridding GPS even when marked for Mount > KStars.
    - Added Rotator & De-Rotator Support  
    - TMC_SPI status reported (RAW) on the Status Tab. (ST = Standstill, Ox = open load A/B, Gx = grounded A/B, OT = Overtemp Shutdown, PW = Overtemp Prewarning) 

The 3rd one, involved some changes to lx200 adding a flag, thinking that TeenAstro could use it as well, but apparently the slightly different high precision commands were added after the fork. As such, I am undecided on leaving it as is, or pulling that and doing a purely OnStep version (leaving the base lx200 alone.)

If people can test, especially people with de-rotators, I'd appreciate it.

Copying my old todo:
1. Changing the MaxRate replacement (degrees per sec)
Question on this: Would people prefer a settable 50-200%, as Degrees per sec, or the 50,75, 100, 150, 200%?
2. Intervolometer support
(Might be a priority, simply because I have some D5100s, and if I could trigger them as well as the main one in Ekos, that'd be handy until the Ekos/Kstars Imaging train gets done.)
3. Focuser Changes
4. Dew heater
5. Weather support. (Read BME280/etc)
6. Tangent arm support (Plate solve then adjust?)
7. Check backlash values (Changed to allowed to 3600)

8. DC Focuser support (Not sure if that works already or not?) Might need someone who has one to help with this.
9. TMC_SPI reporting support. (I got one for testing, and finally went to put it in on this cloudy night. I unfortunately missed the: You have to have both axis be SPI if one is, so this will be working at some point, but when is a big question. Oops.)
10. Equivalent of MoveAxis support to allow for following satellites. (Kstars issue more likely than OnStep directly, as the custom rates are added in, but Kstars doesn't have a way to send the rates/information, AFAIK)
11. PEC Import/Export


 
The following user(s) said Thank You: Hellriegel
1 month 3 weeks ago #70628

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

  • Posts: 3
  • Thank you received: 0
I've got a question regarding a combination of OnStep Indi driver which I'm using with PHD2.
When The calibration part was done, the driver crashed at what looks like some number conversion function, here is the log:

2021-05-13T01:06:11: Client 12: new arrival from 127.0.0.1:34670 - welcome!
2021-05-13T01:06:11: Client 13: new arrival from 127.0.0.1:34672 - welcome!
2021-05-13T01:06:14: Driver indi_v4l2_ccd: Decoder  reset crop
2021-05-13T01:06:14: Driver indi_v4l2_ccd: Decoder allocBuffers cropping false
2021-05-13T01:08:33: Driver indi_lx200_OnStep: terminate called after throwing an instance of 'std::invalid_argument'
2021-05-13T01:08:33: Driver indi_lx200_OnStep:   what():  stod
Child process 6950 died
2021-05-13T01:08:33: Driver indi_lx200_OnStep: stderr EOF
<delProperty device="LX200 OnStep"/>
2021-05-13T01:08:33: Driver indi_lx200_OnStep: restart #1
2021-05-13T01:08:33: Driver indi_lx200_OnStep: pid=7267 rfd=4 wfd=14 efd=15
2021-05-13T01:08:33: Client 13: read EOF
2021-05-13T01:08:33: Client 13: shut down complete - bye!
2021-05-13T01:08:33: Driver indi_lx200_OnStep: initializing from LX200 OnStep device...

I guess this looks like a bug, which is I guess unlikely given that I'm probably not the only person using OnStep and Indi/PHD2.
How can I debug this further?
Also, apologies for jumping this thread, but I'm under the impression all questions and issues for OnStep driver go here.
3 weeks 6 days ago #71518

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

  • Posts: 217
  • Thank you received: 17
Pawel,

I also using OnStep with KStars/INDI.
I run KStars on a regular laptop with Xubuntu 18.04, and use Jasem's PPA repositories.
The repository has been stable since the new version was released, and a bug was fixed overnight after the release (can't remember which component. Maybe it was OnStep crashing like you see).

Are you on an Intel Linux? If so do you use Jasem's PPA repo?

If you are on an RPi or some other platform, things may be different there ...
3 weeks 6 days ago #71522

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

  • Posts: 3
  • Thank you received: 0
Hey Khalid,

I've been using the indi OnStep plugin for a while and had no problem with it, it only crashes when PHD2 is finishing calibration. I tried both on Intel and on Astroberry and the behaviour is the same.
Is there a way to see/log all the communication between PHD2 and Indi driver to see which specific command causes it? I guess I can try to run tcpdump on localhost and analyze that, but perhaps there is an easier way.
On intel I did run the latest version of the plugin from Jasem's repo, on Astroberry it was what it came with, I tried upgrading but it caused the driver to stop working so I probably upgraded it incorrectly.

Thanks,
Pawel
3 weeks 6 days ago #71527

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

  • Posts: 217
  • Thank you received: 17
I did use PHD2 and it calibrated just fine.
The last two sessions were uneventful, as they should be ...

Don't know about the interprocess log ...
3 weeks 6 days ago #71528

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

Time to create page: 1.650 seconds