Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: indilib support #95

Open
lilo-chita opened this issue Jun 25, 2024 · 14 comments
Open

feature request: indilib support #95

lilo-chita opened this issue Jun 25, 2024 · 14 comments
Assignees
Labels
enhancement New feature or request

Comments

@lilo-chita
Copy link

Any chances to add remote camera support via indi interface?

@artyom-beilis
Copy link
Owner

I want to add indi camera support for a while but I actually failed to run ekos locally with camera and have main issues with it.

I probably need to upgrade to later Ubuntu version (I still work with 18.04) to run ekos properly.
This is something I need to learn to work with. Indi documentation is far from being good.

Also what camera do you have? Maybe it easier to add support directly :-)

@artyom-beilis artyom-beilis added the enhancement New feature or request label Jun 25, 2024
@artyom-beilis artyom-beilis self-assigned this Jun 25, 2024
@lilo-chita
Copy link
Author

lilo-chita commented Jun 25, 2024

Atm it's Canon DSLR. But it's remote setup. RaspPi as indi server with all hw connected to it. And laptop to control, process and view the results.

@artyom-beilis
Copy link
Owner

You can connect OLS directly to canon and access remotely via http... But I understand that unified method is better. Also for DSLR just watch directory should work easily. Framerate is anyway poor.

@Astro-Otter-Space
Copy link

Astro-Otter-Space commented Jun 25, 2024 via email

@lilo-chita
Copy link
Author

You can connect OLS directly to canon and access remotely via http

Sure, but I'm afraid that my pi 3b+ is very limited in compute power. Anyway will try and see.

@artyom-beilis
Copy link
Owner

I see so you just run indi server on pi and access it via ekos remotly?

@lilo-chita
Copy link
Author

indi server on pi and CCDciel as client.

@lilo-chita
Copy link
Author

lilo-chita commented Jun 25, 2024

Not so bad actually.
0.5sec for each frame on raspberry pi 3b+ raspbian bookworm OS for M44 simulation.

@lilo-chita
Copy link
Author

Opppss
Actually it's a bit longer

2024-06-25 22:34:06; stacker, info: Stacking took 510.945 ms (stacker_processor.cpp:117)
2024-06-25 22:34:06; stacker, info: WB 1.59693,1,1.18148 (post_processor.h:112)
2024-06-25 22:34:06; stacker, info: Scale 2.23362 offset=0.0400782 relative cut =0.0895197 (post_processor.h:535)
2024-06-25 22:34:06; stacker, info: Stretch mean 0.054652-> gamma=2.09679 (post_processor.h:436)
2024-06-25 22:34:06; stacker, info: Real time video frame 10 arrived (video_stream.h:119)
2024-06-25 22:34:06; stacker, info: Preprocessing took 116.694ms (pre_processor.cpp:43)
2024-06-25 22:34:06; stacker, info: apply wb=84.3208ms calc stretch60.247ms stretch=279.019ms (post_processor.h:452)
2024-06-25 22:34:06; stacker, info: post processing took 698.054ms. proccessing 471.335 ms, jpeg took=226.719 (post_processor.cpp:235)
2024-06-25 22:34:06; stacker, info: Stacked video frame 3 arrived (video_stream.h:119)
2024-06-25 22:34:06; stacker, info: Registration at 2:[2, 3]

@artyom-beilis
Copy link
Owner

You are actually right it is ~0.5s if you have multi-core PI. Since pre-processing, stacking and post processing are running in parallel threads. stacking is bottle neck usually. Post processing may take longer but it can skip frames so it wouldn't overload.

Also note simulation frames quite small so for large DSLR frame it can take much more.

@artyom-beilis
Copy link
Owner

I just want to clarify since I added indi and indigo camera support recently (but on Linux actually)

You want to run indiserver on the PI and communicate with the indi_camera from Android? So you are looking to connect indi camera from Android?

@T-STUDIO
Copy link

しばらくの間、インディカメラのサポートを追加したいのですが、実際にはカメラを使用してローカルで ekos を実行できず、大きな問題が発生しています。

ekos を適切に実行するには、おそらく Ubuntu の最新バージョン (私はまだ 18.04 を使用しています) にアップグレードする必要があります。 これは、操作方法を学ぶ必要があるものです。Indi のドキュメントは、決して良いとは言えません。

また、どんなカメラをお持ちですか? 直接サポートを追加する方が簡単かもしれません :-)

If you are having trouble with the INDI test environment, please try the method in the link. (Due to a bug caused by the optical train feature introduced in Ekos a few years ago)

https://tstudioastronomy.blog.fc2.com/blog-entry-732.html

The INDI driver itself works with quite a lot of devices.

If INDI's client function (remote connection) is added to OpenLiveStacker for Android, I think it will be convenient because you can connect devices such as Raspberry Pi all at once and connect remotely.

@lilo-chita
Copy link
Author

lilo-chita commented Dec 13, 2024

I just want to clarify since I added indi and indigo camera support recently (but on Linux actually)

You want to run indiserver on the PI and communicate with the indi_camera from Android? So you are looking to connect indi camera from Android?

Hello!
Sorry for late reply. Currently I use Linux laptop for OLS, just don't have suitable Android device yet.
I see support for indi was added to Linux version, great! Is there any description how exactly to use it, what should I put into config file etc?

Regards, Andrey

@lilo-chita
Copy link
Author

Ohh, it's already there in updated Linux instructions I see now )) Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants