Stopping remoteshoot over chdkptp

  • 1 Replies
  • 772 Views
Stopping remoteshoot over chdkptp
« on: 12 / May / 2015, 02:10:25 »
Advertisements
Hi all,
i am currently trying to run an odroid+cannon s110 on a drone, i am intending to participate in the AUVSI 2015 competition with my team representing our university. I am using remoteshoot(chdkptp command) in a python script  to take pictures and save them to the odroid but i am having difficulties stopping it without killing the script. hard killing the script and running remoteshoot again makes the camera shoot at half the pace at best or act out and be unresponsive . Is there some chdkptp commands i can use to avoid that?
Thanks
Dima

*

Online reyalp

  • ******
  • 11543
Re: Stopping remoteshoot over chdkptp
« Reply #1 on: 12 / May / 2015, 02:59:29 »
Hi all,
i am currently trying to run an odroid+cannon s110 on a drone, i am intending to participate in the AUVSI 2015 competition with my team representing our university. I am using remoteshoot(chdkptp command) in a python script  to take pictures and save them to the odroid but i am having difficulties stopping it without killing the script. hard killing the script and running remoteshoot again makes the camera shoot at half the pace at best or act out and be unresponsive . Is there some chdkptp commands i can use to avoid that?
Thanks
Dima
I guess you are using something like rs -cont=<number> but you want to stop before <number> shots are taken?

There isn't currently a clean way to do this. The killscript command might help kill the camera side, but there might still be stuff that takes a while to timeout or fails in other ways.

You might be able to use the rsint command instead. To use this, your control script must send commands to chdkptp standard input. After you've started rsint, send 's' every time you want to take a shot, and 'q' to finish, or 'l' if you to take the last shot and quit if you are using continuous mode.
Don't forget what the H stands for.

 

Related Topics