×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Re:GPS NMEA and Scheduler

  • Posts: 125
  • Thank you received: 24

GPS NMEA and Scheduler was created by Tarun

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?
5 years 3 months ago #33220

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic GPS NMEA and Scheduler

Bump ?
5 years 3 months ago #33384

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic GPS NMEA and Scheduler

Try creating a profile without the GPS NMEA driver and choose that profile in the scheduler.
The following user(s) said Thank You: Tarun
5 years 3 months ago #33440

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

  • Posts: 407
  • Thank you received: 74
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 ?????
5 years 3 months ago #33441

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

  • Posts: 424
  • Thank you received: 66

Replied by Greg on topic GPS NMEA and Scheduler


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.
Last edit: 5 years 3 months ago by Greg.
5 years 3 months ago #33444

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic GPS NMEA and Scheduler

Refresh frequency is set to 0 but the driver disconnects every time after 30s stating overflow detected.
Last edit: 5 years 3 months ago by Tarun.
5 years 3 months ago #33447
Attachments:

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic GPS NMEA and Scheduler

Thank you . This seems like a good workaround .
5 years 3 months ago #33449

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

  • Posts: 1029
  • Thank you received: 301

Replied by Eric on topic Re:GPS NMEA and Scheduler

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
Last edit: 5 years 3 months ago by Eric.
5 years 3 months ago #33450

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic Re:GPS NMEA and Scheduler

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 .
5 years 3 months ago #33451

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

  • Posts: 424
  • Thank you received: 66

Replied by Greg on topic Re:GPS NMEA and Scheduler

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
5 years 3 months ago #33456

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

Time to create page: 0.894 seconds