×

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

Bi-monthly release with minor bug fixes and improvements

Indi-dome-scripting

  • Posts: 249
  • Thank you received: 62
hi Gunter,

glad to hear that you're progressing.

It seems that Jasem's Ikarus roof driver is a 3rd party driver that he didn't publish on the 3rd party repository.
In this case the source code of this driver could be cloned anywhere on your computer.
Only the compiled version needs to be in the right place and CMake is taking care of that for you. When you build the source with:
cmake -DCMAKE_INSTALL_PREFIX=/usr
CMake will install the driver in /usr (if you use an IDE it will be in the configuration of the project).

Did I get your question right?
Ferrante

 
2 years 1 week ago #81468

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

  • Posts: 108
  • Thank you received: 4

Replied by Gunter on topic Indi-dome-scripting

Good morning,

yes exactly that was what I was looking for.
During compilation an error occurs about undeclared weatherconditions or so. That tells me I need to compile this custom driver together with core or 3rd-party drivers. Right?
2 years 1 week ago #81471

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

  • Posts: 108
  • Thank you received: 4

Replied by Gunter on topic Indi-dome-scripting

To be exact „getWeatherState“ is called in Ikarus-roof.cpp
The following user(s) said Thank You: Ferrante Enriques
2 years 1 week ago #81472

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

  • Posts: 249
  • Thank you received: 62
No, it can be build separately,  that's the main reason to have a 3rd party driver.
As far as I understand it, when build process parses the CMake file it links and imports all the needed libraries like indi core. 

getweather is not implemented in the driver nor in its parent class Dome. I don't know where it's coming from , Jasem could help on this. 
I would just comment it out for now and see if the rest of the code works fine. Just be aware  that you cannot rely on weather alerts.
2 years 1 week ago #81473

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

  • Posts: 108
  • Thank you received: 4

Replied by Gunter on topic Indi-dome-scripting

Hi again,

I found it in the dome simulator too but commented out. I will ask Jasem for tht.
Thanks for helping me.

Have a good day

Gunter
2 years 1 week ago #81478

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

  • Posts: 108
  • Thank you received: 4

Replied by Gunter on topic Indi-dome-scripting

Hi,

The Customer driver works. Even the „getWeatherData()“ function works. I just modified the @sendRelayCommand() class of the Ikarusroof driver. Even the wiringPI v2.0, no longer supported, works.
Thanks for all and CS

Gunter
2 years 1 week ago #81603

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

  • Posts: 249
  • Thank you received: 62
Congratulations Gunter! Happy to hear that everything is working fine.
Maybe you can make a pull request on Jasem's code on github to fix update it.

Ferrante
2 years 1 week ago #81609

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

  • Posts: 108
  • Thank you received: 4

Replied by Gunter on topic Indi-dome-scripting

Hi Ferrante,

it's been a while but now I start using the modified indi-ikarusroof driver. it works on a seperate RPi called "allsky".
Usually I use my laptop as a client for a StellarmateOS-Server called "RPI44". This server uses drivers from "allsky" like indi_gpsd and indi_ikarusroof_dome.
Masterserver "RPI44" links to "allsky" by @allsky term in config module of EKOS. The client laptop can not find the "ikarusroof" driver under "Domes" section. Can you explain or advice hoew to proceed? Again the driver works and shows up in the local EKOS-Profile on "allsky" but not on the client laptop.

thank you in advance

Gunter
1 year 7 months ago #85007

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

  • Posts: 249
  • Thank you received: 62
hi Gunter,

did you compile and install the drivers on the local machine (RPI4) too?
I never tried driver forwarding but the list of drivers is build locally.

ferrante
1 year 7 months ago #85009

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

  • Posts: 108
  • Thank you received: 4

Replied by Gunter on topic Indi-dome-scripting

Hi Ferrante,

sorry for letting you wait for an answer.
Yes I compiled it locally and was successful last week.
The distributed/chained servers are working well. But I see a concurrence between two indiservers on the same machine "allsky". They are blocking each other.
Reason is, I use the new "indi-allsky" suite to control my allsky camera. This package comes with it's own setup and just uses the libindi environmend. It runs on standard port 7624.
My other equipment wath is also connected to the "allsky" raspi starts it's own indiserver on the same port. Now I have the idea to change the port for "indi-Allsky" to 7634 and leave the "standard port" open for my observation purposes with RPI44 and the notebook client.
I attached a sketch to illustrate the topology of my system. Could that working with different ports? And how can I startup the servers (systemctl, I know) in the right order or doesn't matter?

Thank you

Gunter
1 year 7 months ago #85370
Attachments:

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

  • Posts: 249
  • Thank you received: 62
hi Gunter,
I guess that in the meantime you figured it out.
Anyway, yes running servers of different ports should do the job.

To start the server you just need the indiserver command, something like:
indiserver -p 7634 -v <add list of drivers and chain them>
systemctl is then needed to start them at boot.
1 year 7 months ago #85600

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

  • Posts: 108
  • Thank you received: 4

Replied by Gunter on topic Indi-dome-scripting

Hi Ferrante,

it works just fine. I attache s scheme of ma indi topology. But still I can not compile resp. link indi_ikarusroof_dome under Stellarmate (debian) but works with Raspbean.
I guess I do not habe the right or appropriate WiringPi library.
The project with indi_dome_scripting worked also but I stopped it because the custom driver works flawlessly.

Have a good day.

Gunter
1 year 7 months ago #85629
Attachments:

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

Time to create page: 0.705 seconds