Patrick Chevalley replied to the topic 'ISO in file names' in the forum. 2 weeks ago

The standard graphical tools to work with fits file are ds9 and fv.
But in your case a command line solution is probably better because this allow to write bash script to automatically move or rename your files based on some fits keyword.
You can use fitsverify, packaged in Debian/ubuntu, for that.
For example to extract the exposure time:

fitsverify -l IMAGE_001.fits | grep EXPTIME | awk '{print $5}'


Read More...

Patrick Chevalley replied to the topic 'SkySafari 6 doesn't connect' in the forum. 1 month ago

What is your AstroEQ version ?
Release notes for the last 8.11 include:

8.11 Fixes + Improvements
Fix major issue with Indilib.
The handling of the Synta :f command was wrong, resulting in incorrect status updates and issues using Indilib.

:f is GetAxisStatus , so a very important command.

Read More...

Patrick Chevalley replied to the topic 'Re:v4l2 ccd_exposure property' in the forum. 2 months ago

Yes, this can be a good solution to set CCD_EXPOSURE_VALUE min and max to zero.
At the moment I add a checkbox to ask the user but it is good if we can be sure of the capabilities of the camera.

Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

I have updated the version in the PHD2 ppa with this change.
Intel versions are already available, ARM versions are queued for build and this may take some time.

Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

Finally I also add an option in the phd2 INDI camera setup to force the use of streaming over exposure time.
I label the checkbox a bit negatively "Camera do not support exposure time" to avoid unwanted use. But you can use it force the use of stream stacking if the camera support both method.

This is in :
github.com/OpenPHDGuiding/phd2/commit/3a...db35b1d97d5e23ba3086

Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

This was more easy than I expected, I already commit the change:
github.com/OpenPHDGuiding/phd2/commit/59...f7d16b2bb455b03d04fe

Just pull and compile again, you must see more stacked frames as streaming is not always stopped.

Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

Thank you for testing!

Yes, I can probably change that to start the streaming the first time and never stop it until we disconnect the camera or maybe if the stop button is pushed.
Frames received outside of pseudo exposure time will just be ignored.
I look to make that tomorrow.

Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

I implemented stacking now:
github.com/OpenPHDGuiding/phd2/commit/18...570b88a5dbc2b1201c13

Can you compile the last git and try it?

Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

I am a bit reluctant to add a checkbox because many user like to check the options they not need, and the risk is they use a less performant guiding by forcing to streaming a camera that also support long exposure.
At least all the users of ZWO and QHY are at risk. On the other side the users of webcam or video acquisition card are probably very few because this is not working with phd2 for nearly two years before we get a report.

Read More...

You need to compile phd2 from today git to make the webcam to work.
See: www.indilib.org/forum/ccds-dslrs/3078-v4...-property.html#23384

Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

Now the webcam can basically work phd2 if you compile today last git.
See:
www.indilib.org/forum/ccds-dslrs/3078-v4...-property.html#23384

If this work for you we can continue with the implementation of stacking.

Read More...

Patrick Chevalley replied to the topic 'Re:v4l2 ccd_exposure property' in the forum. 2 months ago

I make a test with switching to streaming if the first exposure result in an error.
This is not ideal but it look not too bad and it work fine with both my DMK21 that support exposure and my ToUcam that not support it.

The only drawback with the webcam is it wait for the error timeout after the first exposure before to continue with streaming. But this timeout can be reduced to 5 sec.

github.com/OpenPHDGuiding/phd2/commit/8e...c203243953f11290b6f5

Read More...

Patrick Chevalley replied to the topic 'Re:v4l2 ccd_exposure property' in the forum. 2 months ago

I not really like to rely on exposure error to activate streaming because it can be difficult to be sure this is not another kind of error.
But you are right that removing a standard property is also not a good solution.

I also not like the idea to add one more config option in phd2, it will annoy much more people than it help.
Maybe define a separate driver interface class for video, different than ccd? but this is maybe overshot.

For me this is not a big problem because there is probably very few people that try to guide with a old webcam or a video device now there is so good and cheap small cmos camera, at least this is the first time I get an issue for years this problem is probably there.

Read More...

Patrick Chevalley created a new topic ' v4l2 ccd_exposure property' in the forum. 2 months ago

I first indicate that in the topic "V4L2 CCD PHD2 stacking not working" but this probably need it's own topic.

I make some testing of phd2 with a old webcam and I remark it no more work.
The problem is when I rewrite the phd2 indi client in 2015 the v4l2 driver do not reported a CCD_EXPOSURE property for the webcam that not support absolute exposure time. I use this property miss to know the client must use streaming instead to get an image.

Now the v4l2_ccd driver send a defNumberVector for CCD_EXPOSURE even this is not supported by the camera.
So phd2 try to set this ccd_exposure and this fail.

The attached log show a warning as exposure is not supported but it still send a defNumberVector for CCD_EXPOSURE.
The last two lines is the error we get after trying to start a 1 second exposure.

Is it possible to not report this property in this case? or is there another way to know we must use streaming instead of standard exposure?

File Attachment:

File Name: indi_v4l2_ccd_144857_2018-02-15.log
File Size: 8 KB


Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

I resurrect a webcam from the attic and continue my testing.

It still not work because the v4l2_ccd driver report an EXPOSURE property even it is not supported by the camera.
When I write the phd2 client in 2015 it was not reported and I use this missing property to know the driver must use streaming instead.

I attached a debug log, it show a warning as exposure is not supported but it still send a defNumberVector for CCD_EXPOSURE.

Jasem, is it possible to not report this property in this case? or is there another way to know I must use streaming instead of standard exposure?

File Attachment:

File Name: indi_v4l2_ccd_144857.log
File Size: 8 KB


Read More...

Patrick Chevalley replied to the topic 'V4L2 CCD PHD2 stacking not working' in the forum. 2 months ago

I take a look and remark that streaming in PHD2 do not work at all because the INDI property name changed from VIDEO_STREAM to CCD_VIDEO_STREAM, and the switch name from ON/OFF to STREAM_ON/STREAM_OFF since the last time I check that.

I make the fix in PHD2:
github.com/OpenPHDGuiding/phd2/commit/8d...03f2b471147487c4cee0

This is why you see an image in phd2 only when you turn streaming manually in the driver.

Can you compile phd2 from source and try with my last change?
There is information here:
github.com/OpenPHDGuiding/phd2/wiki/BuildingPHD2OnLinux

This must now show and image when you start capture from phd2. If this work we can continue with the stacking process.

Read More...

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!