James Amendolagine replied to the topic 'Losmandy Gemini Slew Fails' in the forum. 4 weeks ago

I don't know if this is the same issue as mine, but it sounds similar and I have a fix in code. You can also work around it by making sure that you stop guiding before doing a slew. Here's the thread, I think you posted to that thread. indilib.org/forum/mounts/7065-losmandy-s...s-haywire.html#55124

Read More...

James Amendolagine replied to the topic 'Losmandy Slew goes haywire' in the forum. 4 weeks ago

I switched to stable and it still happens 100% of the time. I don't know why I don't hear complaints about this on the Losmandy group.

I have discovered the cause and have a fix. I've never contributed to the indi source, so I'm not sure how to do that. The issue is with sending guide commands during a slew. If that ever happens then the mount goes haywire. The simple fix is to return an error within each of the Guide<direction> calls in drivers/telescope/lx200telescope.cpp

Like this:

IPState LX200Telescope::GuideNorth(uint32_t ms)
{

if(TrackState == SCOPE_SLEWING){
return IPS_ALERT;
}

I tested this last night and everything is working perfectly now. It never does a wild slew. I don't think that there would be any side effects to this, but I'm not sure. I can't imagine a use case where a guide command should happen during a slew.

Jamie

Read More...

James Amendolagine replied to the topic 'Losmandy Slew goes haywire' in the forum. 1 month ago

I'm going to start by switching to stable tags for each component in the software stack, and see if it's still an issue...

Read More...

James Amendolagine replied to the topic 'Losmandy Slew goes haywire' in the forum. 1 month ago

root@raspberrypi:/# timedatectl
Local time: Sat 2020-05-30 15:01:50 PDT
Universal time: Sat 2020-05-30 22:01:50 UTC
RTC time: n/a
Time zone: America/Los_Angeles (PDT, -0700)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

Read More...

James Amendolagine replied to the topic 'Losmandy Slew goes haywire' in the forum. 1 month ago

OH, so I don't think that the RPI4 has a RTC. It is using the time daemon though. I noticed it's time is behind when I first boot it. After about 1 min, the time updates to be perfect so It's probably taking a min to sync. A quick google shows that I'd need to add hardware to have a RTC, so I don't think I'm going to go to the trouble.

Read More...

James Amendolagine replied to the topic 'Losmandy Slew goes haywire' in the forum. 1 month ago

Thanks for the ideas, I'll look into the etc, but this is connected to my home network and I expect it's using timed. I'm using pulse guiding over the network, and I generally have no problems at all. I'm really happy with the mount, it normally works perfectly. I've been able to reproduce the issue 100% if guiding while slewing.

Read More...

James Amendolagine replied to the topic 'Losmandy Slew goes haywire' in the forum. 1 month ago

Thanks for that link. That does seem to be the same issue. I have also discovered something tonight. From the logs of successful vs unsuccessful slew a difference that I noticed is that the failed slew has guide pulses happening after the slew is issued. I use PHD, and have checked the "don't guide while slewing" box, but somehow guide commands are still getting through. I tested the idea that the guide pulses are triggering this bad behavior, and was able to confirm it. I did almost a dozen slews around the sky with no problems. I then started guiding, and did a single slew, and it went haywire. It seems that the mount/gemini is supposed to handle this gracefully, but it does not. It also seems that phd2 is not supposed to be sending guide pulses if a slew was started.

Read More...

James Amendolagine created a new topic ' Losmandy Slew goes haywire' in the forum. 1 month ago

Hi,

I've been having trouble with slews on my GM811G going haywire. It seems to happen later in the night after I've done several slews and imaging. I've collected the logs using -vvv for verbose logging. I've attached two files, one with an example of a good slew that happens just before things go bad, and one of the bad slew where things do go bad. I've manually deleted all the "blob" entries to keep the files from being huge. One thing that I noticed is that the bad log has several timed guides that happen after the slew starts, and before it ends. I don't know if this is an issue or not.

My setup is a RPI4 running ubuntu with all software compiled from source. Here's the tags / hashes for the builds:
phd2: git checkout tags/v2.6.8
kstars: cb09caa450bd34dca287ecf4be66ca15aba35cd8
indi: c144a26516796b62ad5a47d199752c39d271c580
indi-3rdparty: c823a373521f35214b2d651858bb87057ad7c49f


I'm running kstars and guiding with phd2. I've set phd2 to not guide during slews, but it seems to be doing some guide commands anyway.

Here's a link to a discussion I started on the Losmandy Group, hope this link works:

groups.io/g/Losmandy_users/topic/tcp_con...ky,,,20,2,0,74343653

Read More...

James Amendolagine replied to the topic 'ASI 178 stops' in the forum. 5 months ago

So the last couple of nights it's been stopping again. Now I've noticed how to reproduce it. It only happens when I'm using ekos and phd2 at the same time. It doesn't seem to last long enough to finish a calibration. I'll try and see if I can get some useful logs.

Read More...

James Amendolagine replied to the topic 'ASI 178 stops' in the forum. 5 months ago

OH, weird. Mine has never worked right. I tried different firmware etc, just couldn't get it to work without the occasional split screen. Maybe they have a new firmware fix?

Read More...

James Amendolagine replied to the topic 'ASI 178 stops' in the forum. 5 months ago

OH, I've got the older USB 2 version. You probably have the USB 3 version. I don't think that one had the same issues.

Read More...

James Amendolagine replied to the topic 'ASI 178 stops' in the forum. 5 months ago

I was able to get it somewhat stable later last night by resetting everything, then turning the usb bandwidth all the way down. I'm not sure if I was just lucky, or if that made a difference.

As for the 120, I've got one of those and it has never worked well. It often has split screens, and that drives guiding crazy.

Read More...

James Amendolagine replied to the topic 'ASI 178 stops' in the forum. 5 months ago

I'm imaging tonight. Things seemed mostly good, until the 178 started acting up again. The camera just stops capturing in the middle of guiding and I see this:

2020-02-05T06:25:52: [ERROR] ASIGetDataAfterExp (3096x2080 #1 channels) error (11)

Looks like switching to tips did not fix the issue.

Read More...