ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Still/DSLR Camera with ROS

asked 2014-07-17 08:42:04 -0500

Ralff gravatar image

I am trying to use a Canon EOS M for computer vision in ROS. I have experience using webcams with ROS, and I have not had any trouble with webcams. I am not sure how to control the Canon from ROS. I would like to be able to set the cameras parameters such as white balance, focus, etc... and be able to program it to take pictures at precise moments. Any suggestions on how to make this work? I have hear about gphoto, but I haven't been able to get that to work.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-09-03 13:58:49 -0500

Ralff gravatar image

For anyone that comes across this post again I am able to control the dslr camera using libgphoto2. There is an excellent tutorial here

http://sepharads.blogspot.com/2011/11...

I was also able to take what was needed for my implementation from the libgphoto2 examples that was not included in the tutorial. The only tricky part was linking both gphoto2 and gphoto2_port in cmakelists.txt; originally, I only linked gphoto2. Also, I was not able to get libgphoto 2.5.x to compile, and I had to revert to libgphoto2 2.4.x to make everything work.

edit flag offensive delete link more
1

answered 2014-07-17 21:55:18 -0500

Mehdi. gravatar image

I don't know about ROS packages but you could definitely program something in Python and make it as a ROS node. It is possible to control a DSLR using python and this:

http://magiclantern.wikia.com/wiki/Re...

edit flag offensive delete link more

Comments

This would probably would have worked, but I needed a c or c++ implementation

Ralff gravatar image Ralff  ( 2014-09-03 13:59:46 -0500 )edit

Question Tools

Stats

Asked: 2014-07-17 08:42:04 -0500

Seen: 1,188 times

Last updated: Sep 03 '14