×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Re:GPS NMEA and Scheduler

1 year 5 months ago
tkottary
Expert Boarder
Expert Boarder
Posts: 125
More
Topic Author
Re:GPS NMEA and Scheduler #33220
What is the best way to use GPS NMEA with ekos scheduler? GPS NMEA driver turned off after updating the time (said disconnecting driver due to overflow) I did not care at that point.

When i started my scheduler , it aborted all the jobs stating check the connected indi devices. I do not need GPS after the initial load , so i would have disconnected it anyway. shouldn't the scheduler run anyway?

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

1 year 4 months ago
tkottary
Expert Boarder
Expert Boarder
Posts: 125
More
Topic Author
Re:GPS NMEA and Scheduler #33384
Bump ?

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

1 year 4 months ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 874
Karma: 3
More
Re:GPS NMEA and Scheduler #33440
Try creating a profile without the GPS NMEA driver and choose that profile in the scheduler.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
The following user(s) said Thank You tkottary

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

1 year 4 months ago
stash
Platinum Boarder
Platinum Boarder
Posts: 400
Karma: 4
More
Re:GPS NMEA and Scheduler #33441
Does that mean you can have 2 profiles running at the same time? - 1 Normal manually started profile and 1 started in Scheduler using different h/w in each profile. he answer will be no I guess but just thought I would ask :-)

RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????

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

1 year 4 months ago 1 year 4 months ago by pentaxian23.
pentaxian23
Platinum Boarder
Platinum Boarder
Posts: 422
Karma: 3
More
Re:GPS NMEA and Scheduler #33444

tkottary wrote: What is the best way to use GPS NMEA with ekos scheduler? GPS NMEA driver turned off after updating the time (said disconnecting driver due to overflow) I did not care at that point.

When i started my scheduler , it aborted all the jobs stating check the connected indi devices. I do not need GPS after the initial load , so i would have disconnected it anyway. shouldn't the scheduler run anyway?


you can set the frequency of re-reading the GPS in the control panel. I think if you put 0, it should only check once.

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

1 year 4 months ago 1 year 4 months ago by tkottary.
tkottary
Expert Boarder
Expert Boarder
Posts: 125
More
Topic Author
Re:GPS NMEA and Scheduler #33447
Refresh frequency is set to 0 but the driver disconnects every time after 30s stating overflow detected.
Attachments:

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

1 year 4 months ago
tkottary
Expert Boarder
Expert Boarder
Posts: 125
More
Topic Author
Re:GPS NMEA and Scheduler #33449
Thank you . This seems like a good workaround .

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

1 year 4 months ago 1 year 4 months ago by TallFurryMan.
TallFurryMan
Platinum Boarder
Platinum Boarder
Posts: 874
Karma: 13
More
Re:GPS NMEA and Scheduler #33450
Thanks for reporting this. Currently Scheduler will repeatedly attempt to get all devices connected. I still have to make the number of attempts customizable. Although it may obviously cause issues, would it make sense to optionally let the Scheduler work even if not all the devices are up?

-Eric

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

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

1 year 4 months ago
tkottary
Expert Boarder
Expert Boarder
Posts: 125
More
Topic Author
Re:GPS NMEA and Scheduler #33451
Hi Eric.

Thank you for chiming on this issue . I am not sure if it would be good idea to let scheduler start if all devices are not up . It could be given as option to user along with number of re-attempt.

I think we should rather focus on fixing the driver overflow problem at the first place .

TallFurryMan wrote: Thanks for reporting this. Currently Scheduler will repeatedly attempt to get all devices connected. I still have to make the number of attempts customizable. Although it may obviously cause issues, would it make sense to optionally let the Scheduler work even if not all the devices are up?

-Eric

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

1 year 4 months ago
pentaxian23
Platinum Boarder
Platinum Boarder
Posts: 422
Karma: 3
More
Re:GPS NMEA and Scheduler #33456
I guess I'll put my last two cents worth in here. I had some issues with GPS at first because the baud rate for the device I bought was 4800 whereas the linux gpsd default is 9600. I notice you dont show a successful connection at all to the device, no fix data. Assuming you are running on linux, check the baud rate and update like this:

So you need to edit /etc/rc.local and then add this before the line that says exist 0
sudoedit /etc/rc.local

then add this

stty -F /dev/gps <baud rate>

Of course, assuming you used the port mapper to map the GPS.

good luck

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

Time to create page: 0.943 seconds