I have fresh Ubuntu 16.04. When I follow instructions, I encountered a problem. After type "roslaunch realsense2_camera rs_camera.launch" I got:
16/11 00:04:35,328 WARNING [140028622067584] (types.cpp:57) start_streaming(...) failed. UVC device is already streaming!
16/11 00:04:35,329 WARNING [140028622067584] (types.cpp:57) start_streaming(...) failed. UVC device is already streaming!
16/11 00:04:35,329 WARNING [140028622067584] (types.cpp:57) start_streaming(...) failed. UVC device is already streaming!
From roslaunch realsense2_camera, only "demo_pointcloud.launch" works properly. Here create visualization works fine.
exact the same issue for me. Have you solve it already?
exact the same issue for me. Have you solve it already?
Not yet. I still waiting for answer.
Besides the warning, are the topics being published?
Besides the warning, are the topics being published?
Yes, I checked it.
What version do you use? Is that the latest release?
As far as I know, this is a warning only. Annoying, I thought I already fixed it, but has no effect of anything else.
@doronhi I have been receiving the same warnings since the last update to the package. The function throwing this warning might be this, and when I comment where is it call, the warning seems to be gone. Again I am no expert but I thought this might be the issue. To do the the hardware reset, I used instead the approach explained here.
void BaseRealSenseNode::toggleSensors(bool enabled)
{
for (auto it=_sensors.begin(); it != _sensors.end(); it++)
{
auto& sens = _sensors[it->first];
try
{
if (enabled)
sens.start(_syncer);
else
sens.stop();
}
catch(const rs2::wrong_api_call_sequence_error& ex)
{
ROS_DEBUG_STREAM("toggleSensors: " << ex.what());
}
}
}
exact the same issue. Topics are started though.
I have that warning, and no data is being published over the topics. I also get the warning: WARNING [140490720667392] (backend-v4l2.cpp:1013) Frames didn't arrived within 5 seconds
I know that I was receiving data at some point, but I cannot get data streams from my RealSense D435 anymore. I don't know why.
@raisintoe it means that you need to do a hardware reset by disconnecting the camera from the usb port. Or simply add the following to the realsense_node_factory.cpp file, after line 85: _device.hardware_reset();
Thank you Haya-Alsharif, I will try that added line of code. But I have already tried reconnecting the USB. I am using the USB 3.0 port. If I boot my computer with the camera plugged in, the camera is simply never found. When I unplug it, and plug it back in, that is when I get the warning that frames did not arrive within 5 sec.
Yeah, I added your line of code to reset the device, but I still get the same message: "(backend-v4l2.cpp:1013) Frames didn't arrived within 5 seconds". I am running the command "roslaunch realsense2_camera rs_camera.launch" and when I use "rostopic list", I get:
/camera/color/camera_info
/camera/color/image_raw
/camera/color/image_raw/compressed
/camera/color/image_raw/compressed/parameter_descriptions
/camera/color/image_raw/compressed/parameter_updates
/camera/depth/camera_info
/camera/depth/image_rect_raw
/camera/depth/image_rect_raw/compressed
/camera/depth/image_rect_raw/compressed/parameter_descriptions
/camera/depth/image_rect_raw/compressed/parameter_updates
/camera/extrinsics/depth_to_color
/camera/extrinsics/depth_to_infra1
/camera/extrinsics/depth_to_infra2
/camera/infra1/camera_info
/camera/infra1/image_rect_raw
/camera/infra1/image_rect_raw/compressed
/camera/infra1/image_rect_raw/compressed/parameter_descriptions
/camera/infra1/image_rect_raw/compressed/parameter_updates
/camera/infra2/camera_info
/camera/infra2/image_rect_raw
/camera/infra2/image_rect_raw/compressed
/camera/infra2/image_rect_raw/compressed/parameter_descriptions
/camera/infra2/image_rect_raw/compressed/parameter_updates
/camera/realsense2_camera_manager/bond
/camera/realsense2_camera_manager/parameter_descriptions
/camera/realsense2_camera_manager/parameter_updates
/diagnostics
/rosout
/rosout_agg
/tf_static
but none of these topics are actually publishing anything that I have been able to see.
I sorta solved my problem. I had to upgrade my RealSense D435 frimware from 5.9.2.0 to 5.10.x.x. This has my camera working on USB 2.0 now, but it still does not work on USB 3.0. The camera isn't even found on USB3.0 now. I haven't reset my computer yet since the update though, it's possible that my USB 3.0 port is still locked from attempting the firmware update on that port.
@Raisintoe I just upgraded my SDK to 2.17.0 and started facing similar issues to the one you mentioned. Now I am upgrading my camera FW to 5.10.6.0 to see if this will solve the issue. It is really weird the camera cannot be detected at all!
My previous SDK was 16.5 and camera FW was 5.9.2.0
Update: a simple reboot after the upgrades of both SDK and camera FW solved all the issues for me :sweat_smile:
Most helpful comment
exact the same issue. Topics are started though.