Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1
  • 2

TOPIC: Canon DSLR Off By One Images - Very Dangerous!

Canon DSLR Off By One Images - Very Dangerous! 5 months 18 hours ago #24230

  • kbahey
  • kbahey's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 116
  • Thank you received: 10
I am facing a problem with a Canon DSLR 650D with KStars/INDI. Using the latest stable version 1.7~201803061317~ubuntu16.04.1.

What happens is that I tell it to take a 120 second image. But what happens is that it takes an 18 second image only, and then from that point forward, all the images will be delayed by one. So if you do a slew then a plate solve, it will be on the previous image. The result is that the scope now things it it pointing somewhere that is not right, and it may crash in the mount.

I used to see this problem in the past (last summer), and could simulate it at will, but only by doing a manual step, as per the following:
- Connect the camera to USB
- Start INDI
- Take an image.
- After the image is taken, go to the camera and take an image manually.
- From this point on, INDI will be off by one.
- When trying to turn off the camera it will display a blue image saying 'saving image' or something like that, and will hang there until you pull the power or battery out.

Now, this happens without me touching the camera at all ...

One thing I noticed is that the count down timer for the exposure now contains decimals. Previous it was always xx.00, now it is xx.99 or some other value in the fraction part.

Is this a bug? Or is there a setting to prevent this?

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

Last Edit: by kbahey.

Canon DSLR Off By One Images - Very Dangerous! 5 months 18 hours ago #24231

  • kbahey
  • kbahey's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 116
  • Thank you received: 10
Ignore the first part. It was because I have left the self time setting on the camera enabled. Turning it off made things work properly.

The second part though still happens: if one takes a picture while INDI is connected to the DSLR, it will lose track of where it is. Not sure if something can be done about it or not.

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

Last Edit: by kbahey.

Canon DSLR Off By One Images - Very Dangerous! 5 months 12 hours ago #24234

What's wrong with the fractions?

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Canon DSLR Off By One Images - Very Dangerous! 5 months 3 hours ago #24255

  • kbahey
  • kbahey's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 116
  • Thank you received: 10
Nothing wrong with the fractions. It is just something I have not seen before.

The part that deserves your testing is the second scenario: connect a Canon DSLR to INDI and Ekos, take an image, then after it is successfully completed, take an image from the camera itself. Now gphoto (or INDI) loses track of the sequence of images, and will be always one behind.

This happens when I am focusing and touch the screen and an image is fired inadvertently. The only way to go back to normal is to stop INDI, turn off the camera, and disconnect power to it (because it will never complete its power down sequence, it thinks an image is in progress).

Not a high priority item, since there is a work around.

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

Canon DSLR Off By One Images - Very Dangerous! 3 months 3 weeks ago #25385

I've been severly bitten by this bug, where I wouldn't be getting back the photos that I think I should. Like I'll point the scope at the moon, take a preview snapshot, and it gives me a picture of what I was looking at before!

I think any time you stop/abort a capture, it leaves the image in the queue on the camera, so next time you take a picture, it returns the queued up photo. And it seems to stack up. I suspect that would be the reason the camera sometimes won't power down properly, the number of photos that it says it is trying to write might be the number of frames behind gphoto is from downloading from the camera.

I will do some more testing tomorrow, now that I have an idea of what causes this.

-- Kevin

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

Canon DSLR Off By One Images - Very Dangerous! 3 months 3 weeks ago #25387

This is already fixed in GIT, and INDI stable PPA is getting built right now so in a couple of hours, all drivers should be out in the PPA with the fix.
The following user(s) said Thank You: pcxz, kross

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Canon DSLR Off By One Images - Very Dangerous! 3 months 3 weeks ago #25393

Awesome!
BTW, I'm the one that submitted the bug fix for the SynScan driver. I'm brand new to INDI/Ekos/KStars, but I really like the distributed nature of it. Just because the first time using it, it doesn't work, and had to pull out the source code editor and fix it myself, I don't let that slow me down! :)
-- Kevin

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

Canon DSLR Off By One Images - Very Dangerous! 3 months 3 weeks ago #25394

Okay I've had some time today to do some testing, with the camera on the bench instead of outside hooked up to a telescope.

With the old version, I could queue up many images in the camera by aborting a capture. And how ever many times I aborted, that's how many images it would be behind.

With the new version, all is happy! The camera even shuts down properly now.

Thanks for all your hard work!
-- Kevin
The following user(s) said Thank You: knro

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

Canon DSLR Off By One Images - Very Dangerous! 3 months 3 weeks ago #25395

kross wrote: Awesome!
BTW, I'm the one that submitted the bug fix for the SynScan driver. I'm brand new to INDI/Ekos/KStars, but I really like the distributed nature of it. Just because the first time using it, it doesn't work, and had to pull out the source code editor and fix it myself, I don't let that slow me down! :)
-- Kevin


Welcome to the INDI & KStars community Kevin! That's precisely the beauty of open source development! Looking forward to your future contributions!

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Canon DSLR Off By One Images - Very Dangerous! 3 months 3 weeks ago #25396

  • kbahey
  • kbahey's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 116
  • Thank you received: 10
Jasem,

Thanks, as always!

Kevin,

Did you try the scenario where the camera is connected to KStars, take a few pics, then go to the shutter button on the camera and take a picture? Then back to KStars and see if there is nothing in the queue?

This was one source of the problem: my Canon 650D has a touch screen, and if I touched it by mistake while zooming for focusing or something, it would go into that mode, and I have to stop INDI, shut down the camera by disconnecting power, then starting INDI again.

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

Canon DSLR Off By One Images - Very Dangerous! 3 months 3 weeks ago #25397

I just tried your experiment, and unfortunately, that problem remains. Since my camera doesn't have a touchscreen, it hasn't been a problem for me, so I only tested my own issues. :)

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

Canon DSLR Off By One Images - Very Dangerous! 3 months 3 weeks ago #25399

  • kbahey
  • kbahey's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 116
  • Thank you received: 10
The danger of such a bug is that if I don't notice it, and do a plate solve, it will be on the wrong part of the sky, and the scope will wind itself around the mount. Happened to me a couple of times before I realized what is going on.

I workaround it by disabling touch capture, but sometimes I need that so I turn it on, then forget to turn it off. Then when I am fiddling with things, the shutter fires, and then INDI has to be stopped, and the camera disconnected from power.

You can simulate the exact problem by using the physical shutter button.

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

  • Page:
  • 1
  • 2
Time to create page: 0.174 seconds

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!


Gallery

Replica

Why INDI

Replica