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

Revision history [back]

click to hide/show revision 1
initial version

I've successfully applied the easy fix I mentioned above to power OFF the camera on exit. Now, at least for my Grasshopper2, the LED turns red/green (power OFF state) and the camera cools down.

For more details see this ticket and the patch file attached to it.

Here you have the output of the diff command I run to create the patch file

--- dev_camera1394.cpp.bak      2012-01-02 20:56:08.306350703 +0000
+++ dev_camera1394.cpp  2012-01-02 21:12:34.778337485 +0000
@@ -350,6 +350,7 @@
     {
       format7_.stop();
       dc1394_capture_stop(camera_);
+      dc1394_camera_set_power(camera_, DC1394_OFF);
       dc1394_camera_free(camera_);
       camera_ = NULL;
     }
By the way, I run this command
diff -u dev_camera1394.cpp.bak dev_camera1394.cpp > dev_camera1394.cpp.patch