camera1394 icon indicating copy to clipboard operation
camera1394 copied to clipboard

Timestamp problem with Point Grey Flea3 USB3 camera

Open Lenskiy opened this issue 10 years ago • 6 comments

Look at the output of this command rostopic echo /flea3_stereo/right/image_raw | grep secs

    secs: 36
    nsecs: 858272000
    secs: 36
    nsecs: 858272000
    secs: 36
    nsecs: 858272000
    secs: 36
    nsecs: 858272000
    secs: 36
    nsecs: 858272000
    secs: 36
    nsecs: 858272000
    secs: 36
    nsecs: 858272000
    secs: 36
    nsecs: 858272000
    secs: 36
    nsecs: 858272000

The timestamps do not change. I am going to dig into this. Any help is appreciated. Maybe it is something to do with this bug https://code.ros.org/trac/ros-pkg/ticket/4841

Lenskiy avatar May 05 '14 12:05 Lenskiy

Adding the parameter use_ros_time: true allows to avoid the problem. The timestamps start to change. I believe the problem is related to USB section of the dc1394 library.

Lenskiy avatar May 05 '14 12:05 Lenskiy

I will be away for the next few days.

Your use_ros_time work-around is a good idea, and might be the best we can do at the driver level. I think it was originally introduced because of similar problems with other devices.

Perhaps the driver could detect that situation and set the parameter automatically.

jack-oquin avatar May 05 '14 15:05 jack-oquin

@Lenskiy you might want to try https://github.com/ros-drivers/pointgrey_camera_driver to see if its a driver issue or something else.

chadrockey avatar May 05 '14 16:05 chadrockey

@chadrockey thanks a lot! This is a great package, somehow I missed it until now. Which place is more appropriate to ask questions about this package? I have troubles connecting two flea3 cameras at the same time.

Lenskiy avatar May 06 '14 11:05 Lenskiy

@Lenskiy: is this still a problem for you, or have you switched to using the Point Grey driver?

jack-oquin avatar Aug 31 '14 17:08 jack-oquin

I tried the Point Grey driver, but something did not work out for me. Do not remember exactly but I believe I could run of\r setup cameras as stereo rig. I am using camera1394 package since that time, did not change anything. I might try again the the Point Grey driver later this month.

Lenskiy avatar Sep 02 '14 00:09 Lenskiy