×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos Scheduler

  • Posts: 45
  • Thank you received: 6

Replied by gus on topic Ekos Scheduler

Thank you for your answer :) A pity, it looks great.
8 years 6 months ago #4984

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

Replied by Jasem Mutlaq on topic Ekos Scheduler

No need, I wrote a 3rd party driver for your setup. Can you test it and let me know if it works? It's a dome driver for your setup based on the script above.
8 years 6 months ago #4985
Attachments:

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos Scheduler

Cool thanks for the script. I'm going to attempt running it, 450 miles away from the box.... will let you know how it goes :woohoo:
8 years 6 months ago #4986

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos Scheduler

compile errors
root@heidenrod-obs:/Astro/obs-dev/gonzo-box# cmake -DCMAKE_INSTALL_PREFIX=/usr .
-- The CXX compiler identification is GNU 4.9.1
-- The C compiler identification is GNU 4.9.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'libindi'
--   found libindi, version 1.1.0
-- Found INDI: /usr/include/libindi (found version "1.1.0") 
-- Found NOVA: /usr/lib/arm-linux-gnueabihf/libnova.so
-- Configuring done
-- Generating done
-- Build files have been written to: /Astro/obs-dev/gonzo-box
root@heidenrod-obs:/Astro/obs-dev/gonzo-box#
root@heidenrod-obs:/Astro/obs-dev/gonzo-box# make
Scanning dependencies of target indi_gonzobox_dome
[ 50%] Building CXX object CMakeFiles/indi_gonzobox_dome.dir/gonzobox_dome.o
In file included from /Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:19:0:
/Astro/obs-dev/gonzo-box/gonzobox_dome.h:48:46: error: 'DomeMotionCommand' has not been declared
         virtual bool Move(DomeDirection dir, DomeMotionCommand operation);
                                              ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp: In constructor 'GonzoBox::GonzoBox()':
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:101:8: error: 'struct INDI::DomeInterface::DomeCapability' has no member named 'canPark'
    cap.canPark    = true;
        ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:102:8: error: 'struct INDI::DomeInterface::DomeCapability' has no member named 'hasVariableSpeed'
    cap.hasVariableSpeed = false;
        ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp: In member function 'virtual bool GonzoBox::initProperties()':
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:129:21: error: 'PARK_NONE' was not declared in this scope
     SetParkDataType(PARK_NONE);
                     ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:129:30: error: 'SetParkDataType' was not declared in this scope
     SetParkDataType(PARK_NONE);
                              ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp: In member function 'bool GonzoBox::SetupParms()':
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:139:14: error: 'InitPark' was not declared in this scope
     InitPark();
              ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp: In member function 'virtual void GonzoBox::TimerHit()':
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:186:25: error: 'DOME_IDLE' was not declared in this scope
            setDomeState(DOME_IDLE);
                         ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:186:34: error: 'setDomeState' was not declared in this scope
            setDomeState(DOME_IDLE);
                                  ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:197:31: error: 'SetParked' was not declared in this scope
                SetParked(false);
                               ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:209:30: error: 'SetParked' was not declared in this scope
                SetParked(true);
                              ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp: At global scope:
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:219:40: error: 'DomeMotionCommand' has not been declared
 bool GonzoBox::Move(DomeDirection dir, DomeMotionCommand operation)
                                        ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp: In member function 'virtual bool GonzoBox::Move(INDI::DomeInterface::DomeDirection, int)':
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:223:22: error: 'MOTION_START' was not declared in this scope
     if (operation == MOTION_START)
                      ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:226:40: error: 'isParked' was not declared in this scope
         if (dir == DOME_CW && isParked() == false)
                                        ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:245:16: error: 'Abort' is not a member of 'INDI::Dome'
         return Dome::Abort();
                ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp: In member function 'virtual IPState GonzoBox::Park()':
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:253:15: error: 'Move' is not a member of 'INDI::Dome'
     bool rc = INDI::Dome::Move(DOME_CCW, MOTION_START);
               ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:253:42: error: 'MOTION_START' was not declared in this scope
     bool rc = INDI::Dome::Move(DOME_CCW, MOTION_START);
                                          ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp: In member function 'virtual IPState GonzoBox::UnPark()':
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:265:15: error: 'Move' is not a member of 'INDI::Dome'
     bool rc = INDI::Dome::Move(DOME_CW, MOTION_START);
               ^
/Astro/obs-dev/gonzo-box/gonzobox_dome.cpp:265:41: error: 'MOTION_START' was not declared in this scope
     bool rc = INDI::Dome::Move(DOME_CW, MOTION_START);
                                         ^
CMakeFiles/indi_gonzobox_dome.dir/build.make:54: recipe for target 'CMakeFiles/indi_gonzobox_dome.dir/gonzobox_dome.o' failed
make[2]: *** [CMakeFiles/indi_gonzobox_dome.dir/gonzobox_dome.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/indi_gonzobox_dome.dir/all' failed
make[1]: *** [CMakeFiles/indi_gonzobox_dome.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
root@heidenrod-obs:/Astro/obs-dev/gonzo-box#
8 years 6 months ago #4987

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

Replied by Jasem Mutlaq on topic Ekos Scheduler

The PPA didn't have the updated libindi and it is building it now. Also I noticed a problem line 109 of gonzobox_dome.cpp
gpio2 = new GPIOClass("1");

Just change the "1" to "2"

You can run another update in about 30 min to 1 hour and hopefully it should compile fine.
8 years 6 months ago #4988

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos Scheduler

thanks for the update, will check it later on (after lunch).
8 years 6 months ago #4989

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos Scheduler

just a fyi, nothing came up as updates on the PPA arm.

done a apt-get update first of course.
root@heidenrod-obs:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@heidenrod-obs:~

In fact, I have not seen any updates in a while for the arm.


edit:
last update was on 2015-07-06
Last edit: 8 years 6 months ago by Gonzothegreat.
8 years 6 months ago #4990

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

Replied by Jasem Mutlaq on topic Ekos Scheduler

Is that on 15.04?
8 years 6 months ago #4991

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos Scheduler


running 14.10 on the Odroid C1
root@heidenrod-obs:/var/log/unattended-upgrades# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.10
Release:        14.10
Codename:       utopic
root@heidenrod-obs:/var/log/unattended-upgrades#
Last edit: 8 years 6 months ago by Gonzothegreat.
8 years 6 months ago #4992

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

  • Posts: 456
  • Thank you received: 76

Replied by Derek on topic Ekos Scheduler

This looks awesome! cant wait to try it out.
8 years 6 months ago #4993

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos Scheduler

Is this a normal behaviour?

M31 in the scheduler:
2015-09-12T11:28:13 M 31 is scheduled to start at Sat Sep 12 22:25:00 2015 GMT+0200 where its altitude is 40.5 degrees.
2015-09-12T11:28:13 Dark sky score is -1000 for time Sat Sep 12 10:28:09 2015 GMT+0200
2015-09-12T11:28:13 M 31 Moon score 20 (separation 125.368).
2015-09-12T11:28:13 M 31 altitude at Sat Sep 12 10:28:09 2015 GMT+0200 is 22.4 degrees. M 31 altitude score is 4.
2015-09-12T11:28:13 M 31 observation job is estimated to take 00h 00m 04s to complete.
2015-09-12T11:28:13 Dawn is at 05:33:00, Dusk is at 22:24:00, and current time is 10:28:09

Hit 'Stop Scheduler' and you get this:
2015-09-12T11:28:13 Scheduler is going into sleep mode...

Shouldn't the scheduler stops instead of going into sleep mode?
8 years 6 months ago #5031

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos Scheduler

Feature request for the scheduler please:
In find target, could we have also 'What's up tonight' ?
8 years 6 months ago #5032

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

Time to create page: 0.320 seconds