Hi Jasem,
to make this clear: if you can update the driver without any larger hassle, I'd be happy if you could do so. I don't know what I saw with the V4L2 driver, but it seems to be gone.
But I have no idea how v4l2 and libcamera work together and what component is building on what...
Read More...
Here you go: github.com/scriptorron/indi_pylibcamera/issues/53
It only happens with the IMX290, at least not a Raspi V1 camera I also tested (which apparently can do only 1s though anyway).
Read More...
Hm, actually I retried yesterday (very lightly) and the V4L2 driver didn't crash.
Also, I wasn't having any success with the python driver. It would take one image of 1s and then hang. the libcamera-foo apps worked though.
Frankly, at this point I would like to go back to my original idea of having a generic python driver that just calls an external tool. Apparently having one process for a lot of exposures is extremely fragile...
Read More...
Make sure that the v4l2 ccd driver works though. Mine crashed when doing exposures after switching the libs
Read More...
Yeah, setting this up is extremely fragile and tiresome. The vanilla stellarmate seems to include a version of libcamera from 2022, which is pretty old. And each time you apt-update something, you'll end up with that version again and you have to select it all over again:
stellarmate@astroberry:~/astro/indi_pylibcamera $ sudo apt list libcamera0
Listing... Done
libcamera0/unknown,now 1.0-stable~202211161314 arm64 [installed,automatic]
libcamera0/oldstable 0~git20230720+bde9b04f-1 armhf
stellarmate@astroberry:~ $ sudo apt list libcamera-dev
Listing... Done
libcamera-dev/unknown,now 1.0-stable~202211161314 arm64 [installed]
libcamera-dev/oldstable 0~git20230720+bde9b04f-1 armhf
stellarmate@astroberry:~ $ sudo apt list libcamera-apps
Listing... Done
libcamera-apps/oldstable,now 1.2.1-1 arm64 [installed]
libcamera-apps/oldstable 1.2.1-1 armhf
sudo apt install libcamera-dev/oldstable 0~git20230720+bde9b04f-1 libcamera0/oldstable 0~git20230720+bde9b04f-1
test
Read More...
If you actually had the v2 indi headers installed in /usr/, you wouldn't get these errors... do `grep -r addFITSKeywords /usr/include /usr/local/include` and check if there are matches. Note that by default, I think the indi libs get installed in `/usr/local/include` and v1 versions in `/usr/include` will override them.
Read More...
It can only build against the v2 libindi so you need to also compile and install the current version of indi branch, not only the 3rd party drivers:
/home/osservatorio/Projects/indi-3rdparty/indi-libcamera/core/libcamera_app.hpp:54:33: error: ‘StreamRoles’ in namespace ‘libcamera’ does not name a type; did you mean ‘StreamRole’?
/home/osservatorio/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.h:71:22: error: ‘virtual void INDILibCamera::addFITSKeywords(INDI::CCDChip*)’ marked ‘override’, but does not override
/home/osservatorio/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:224:34: error: ‘INDI::PropertyView<T>* INDI::PropertyBasic<T>::operator&() [with T = _ISwitch]’ is protected within this context
/home/osservatorio/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:242:38: error: ‘INDI::PropertyView<T>* INDI::PropertyBasic<T>::operator&() [with T = _ISwitch]’ is protected within this context
/home/osservatorio/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:747:42: error: no matching function for call to ‘INDILibCamera::addFITSKeywords(INDI::CCDChip*&)’
/home/osservatorio/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:758:29: error: ‘INDI::PropertyView<T>* INDI::PropertyBasic<T>::operator&() [with T = _ISwitch]’ is protected within this context
Read More...
Can someone tell me how to get reasonable values for CFZ for a DSLR lens? I'm using a stepper motor with a belt and the OpenAstroTech driver runs the focus commands (if that helps)
Obviously, you won't see any travel path in the lens... or what else I can do with the new options in 3.6.5?
Thanks in advance, Anjo
Read More...
What I mean is that my PR to libcamera-apps has been merged and will be part if the next release... whenever that will be. Then we can update the driver and remove the copied source.
Read More...