×

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: 61
  • Thank you received: 8
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
3 years 2 weeks ago #69516

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

  • Posts: 322
  • Thank you received: 31
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.
3 years 2 weeks ago #69526

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

  • Posts: 60
  • Thank you received: 1
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 ?
2 years 11 months ago #70285

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

  • Posts: 60
  • Thank you received: 1
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.
2 years 11 months 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.
2 years 11 months ago #70325

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

  • Posts: 161
  • Thank you received: 39
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
2 years 11 months 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.
2 years 10 months ago #71518

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

  • Posts: 322
  • Thank you received: 31
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 ...
2 years 10 months 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
2 years 10 months ago #71527

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

  • Posts: 322
  • Thank you received: 31
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 ...
2 years 10 months ago #71528

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

  • Posts: 257
  • Thank you received: 22
Running Indiserver -vvv (devices) in a terminal (or the ssh to your server) will show telemetry and turning on and checking logs in ekos may show errors the driver outputs.
The following user(s) said Thank You: Paweł Kuśmierski
2 years 10 months ago #71561

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

  • Posts: 3
  • Thank you received: 0
Thanks, I'll try that out.
2 years 10 months ago #71572

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

Time to create page: 1.369 seconds