Error while using nodelet launchfile

asked 2020-07-10 11:19:13 -0600

Confused Lizard gravatar image

updated 2020-07-15 07:36:12 -0600

ROS Kinetic (1.12.14) on docker osrf/ros:kinetic-full-desktop-xenial (ubuntu)

Package used: image_view and autonomy_bebop

I obtain the following error while launching my launch file roslaunch stream_demo.launch and I can't get the video feedback from the Bebop

[ERROR] [1594396944.788418571]: [ARCONTROLLER_Network] 16:02:24:788 | ARCONTROLLER_Network_ReaderRun:1294 - ARCOMMANDS_Decoder_DecodeBuffer () failed : 2 ARDrone3.GPSSettingsState.UNKNOWN -> Unknown comma
[ERROR] [1594396945.041340632]: [ARCONTROLLER_Network] 16:02:25:041 | ARCONTROLLER_Network_ReaderRun:1294 - ARCOMMANDS_Decoder_DecodeBuffer () failed : 3 ARDrone3.GPSSettingsState.UNKNOWN -> Unknown comma
[ERROR] [1594396945.123744841]: [ARCONTROLLER_Network] 16:02:25:123 | ARCONTROLLER_Network_ReaderRun:1294 - ARCOMMANDS_Decoder_DecodeBuffer () failed : 2 ARDrone3.GPSSettingsState.UNKNOWN -> Unknown comma
[ERROR] [1594396948.379589715]: [ARSTREAM2_Rtcp] 16:02:28:379 | ARSTREAM2_RTCP_Receiver_ProcessCompoundPacket:2099 - Failed to process sender report (-1)
[ERROR] [1594396948.379659118]: [ARSTREAM2_Rtcp] 16:02:28:379 | ARSTREAM2_RTCP_Receiver_ProcessCompoundPacket:2126 - Failed to process application clock delta (-1)
[ERROR] [1594396949.071993778]: [Decoder] 16:02:29:071 | Decode:302 - Frame size changed to 856 x 480

Here the stream_demo.launch file:

<launch>
<!-- Nodelet Manager -->
<node pkg="nodelet" type="nodelet" args="manager" name="bebop_nodelet_manager"/>
<!-- Bebop_driver nodelet -->
<node pkg="nodelet" type="nodelet" args="load bebop_driver/BebopDriverNodelet bebop_nodelet_manager" name="bebop_nodelet"/>
 <!-- Streaming nodelet -->
<node pkg="nodelet" type="nodelet" args="load image_view/image  image:=/image_raw _image_transport:=theora _window_name:=drone_camera" name="image_viewer"/>
</launch>

But launching the command separately works and the video feedback appears:

roscore
rosrun nodelet nodelet manager __name:=bebop_nodelet_manager
rosrun nodelet nodelet load bebop_driver/BebopDriverNodelet bebop_nodelet_manager
rosrun nodelet nodelet load image_view/image bebop_nodelet_manager image:=/image_raw _image_transport:=theora _window_name:=stream

To be noted that the launch file bebop_nodelet_iv.launch output a similar problem and kill the camera feed.

Is it a bad implementation of my launch file or a error on the bebop package ?

edit retag flag offensive close merge delete