The camera1394 driver seems to leave the Point Grey Grasshopper2 (IEEE 1394b version) ON after it is stopped (roscore included).
I say it seems because the camera case is hot after I stop the driver. Yes, that's how I know it remains ON. If you know, by the way, of any other way to check to power state of the camera (or the firewire bus), please, let me know.
With coriander the camera case goes to ambient temperature after I exit coriander (actually I press the power OFF button before exit), so it seems it's switching the camera off correctly.
Does anybody else experienced a similar problem/behaviour?
How can I fix it? Should I touch the camera1394 (pkg) driver?
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
On shutdown, the camera1394 driver sets video transmission off, stops capturing frames, and frees the libdc1394 resources. It currently does not attempt to power off the device.
Although coriander documentation says "few cameras support the on/off feature", camera1394 could support it for those that do. If you think it should, please open a Trac ticket for camera_drivers. There is time to make that change for the coming Fuerte release.
Asked: 2012-01-02 11:54:48 -0500
Seen: 96 times
Last updated: Jan 02 '12
unable to get Point Grey USB camera work in ubuntu
Can't find Point Grey Camera in a new virtual machine
Bumblebee2 package: failed to open device at launch
Can camera1394 pakcage change the F-stop value of the camera?
Can I create a new parameter for video_mode of camera1394
Is there a ROS node for ADVC-55 frame grabber?
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.