[ros-users] compressed_image_transport not working

Patrick Bouffard bouffard at eecs.berkeley.edu
Tue Jul 27 23:17:38 UTC 2010


Ok, I first tried the 'full' reinstall and that doesn't fix it.. Then
I removed the binary package, checked out the source and built it,
which initially failed and long story short (see
http://pastebin.org/423443 for build log), it looks to me like the
vision_opencv stack isn't declaring a dependency on libdc1394-22. When
I apt-get installed libdc1394-22 and then
ros-cturtle-image-transport-plugins, things started to work.

Only remaining weirdness--I don't get the same output from consecutive
runs of list_transports: http://pastebin.org/423449. Is that expected
behaviour?

Thanks for the tips!
Pat

On Tue, Jul 27, 2010 at 3:13 PM, Patrick Mihelich
<mihelich at willowgarage.com> wrote:
> I'm running cturtle build 21 on Lucid on an Intel i7 - the transports are
> found and work fine.
>
> Things you could try:
>  - Check out a separate copy of image_transport_plugins, put it first in
> your ROS_PACKAGE_PATH, and see if the plugins work.
>  - Uninstall / reinstall each stack individually and see if the transports
> get listed; maybe image_common, common or even ros is messed up somehow.
>  - Full uninstall / reinstall of cturtle
>
> Patrick
>
> On Tue, Jul 27, 2010 at 2:50 PM, Tully Foote <tfoote at willowgarage.com>
> wrote:
>>
>> As a poit of reference using just "source /opt/ros/cturtle/setup.sh"  I
>> checked the plugins are found in both builds 16 and 21 on 10.04 amd64, see
>> output below.
>> Tully
>>
>> {{{
>> tfoote at bgt:/home/tfoote/ros-release/ros-release/rosdeb$ .
>> /opt/ros/cturtle/setup.sh
>> tfoote at bgt:/home/tfoote/ros-release/ros-release/rosdeb$ rosrun
>> image_transport list_transports
>> Declared transports:
>> compressed
>> raw
>> theora
>> Details:
>> ----------
>> "compressed"
>>  - Provided by package: compressed_image_transport
>>  - Publisher: This plugin publishes a CompressedImage using either JPEG or
>> PNG compression.
>>  - Subscriber: This plugin decompressed a CompressedImage topic.
>> ----------
>> "raw"
>>  - Provided by package: image_transport
>>  - Publisher: This is the default publisher. It publishes the Image as-is
>> on the base topic.
>>  - Subscriber: This is the default pass-through subscriber for topics of
>> type sensor_msgs/Image.
>> ----------
>> "theora"
>>  - Provided by package: theora_image_transport
>>  - Publisher: This plugin publishes a video packet stream encoded using
>> Theora.
>>  - Subscriber: This plugin decodes a video packet stream encoded using
>> Theora.
>> tfoote at bgt:/home/tfoote/ros-release/ros-release/rosdeb$ dpkg -l | grep
>> cturtle | grep image
>> ii  ros-cturtle-image-common                    1.1.0-16~lucid
>>                      Software for ROS (Robot Operating System)
>> ii  ros-cturtle-image-pipeline                  1.1.6-16~lucid
>>                      Software for ROS (Robot Operating System)
>> ii  ros-cturtle-image-transport-plugins         0.1.1-16~lucid
>>                      Software for ROS (Robot Operating System)
>> tfoote at bgt:/home/tfoote/ros-release/ros-release/rosdeb$ sudo apt-get
>> dist-upgrade
>> tfoote at bgt:/home/tfoote/ros-release/ros-release/rosdeb$ rosrun
>> image_transport list_transports
>> Declared transports:
>> compressed
>> raw
>> theora
>> Details:
>> ----------
>> "compressed"
>>  - Provided by package: compressed_image_transport
>>  - Publisher: This plugin publishes a CompressedImage using either JPEG or
>> PNG compression.
>>  - Subscriber: This plugin decompressed a CompressedImage topic.
>> ----------
>> "raw"
>>  - Provided by package: image_transport
>>  - Publisher: This is the default publisher. It publishes the Image as-is
>> on the base topic.
>>  - Subscriber: This is the default pass-through subscriber for topics of
>> type sensor_msgs/Image.
>> ----------
>> "theora"
>>  - Provided by package: theora_image_transport
>>  - Publisher: This plugin publishes a video packet stream encoded using
>> Theora.
>>  - Subscriber: This plugin decodes a video packet stream encoded using
>> Theora.
>> tfoote at bgt:/home/tfoote/ros-release/ros-release/rosdeb$ dpkg -l | grep
>> cturtle | grep image
>> ii  ros-cturtle-image-common                    1.2.0-21~lucid
>>                      Software for ROS (Robot Operating System)
>> ii  ros-cturtle-image-pipeline                  1.2.0-21~lucid
>>                      Software for ROS (Robot Operating System)
>> ii  ros-cturtle-image-transport-plugins         0.3.0-21~lucid
>>                      Software for ROS (Robot Operating System)
>> }}}
>>
>> On Tue, Jul 27, 2010 at 2:42 PM, Patrick Bouffard
>> <bouffard at eecs.berkeley.edu> wrote:
>>>
>>> $ export | grep ROS
>>> declare -x ROS_MASTER_URI="http://localhost:11311"
>>> declare -x ROS_PACKAGE_PATH="/opt/ros/cturtle/stacks:/home/starmac/ros"
>>> declare -x ROS_ROOT="/opt/ros/cturtle/ros"
>>>
>>>
>>> $ dpkg -l | grep cturtle
>>> ii  ros-cturtle-common                   1.2.0-21~lucid
>>>                  Software for ROS (Robot Operating System)
>>> ii  ros-cturtle-common-msgs              1.2.0-21~lucid
>>>                  Software for ROS (Robot Operating System)
>>> ii  ros-cturtle-diagnostics              1.2.0-21~lucid
>>>                  Software for ROS (Robot Operating System)
>>> ii  ros-cturtle-driver-common            1.2.0-21~lucid
>>>                  Software for ROS (Robot Operating System)
>>> ii  ros-cturtle-image-common             1.2.0-21~lucid
>>>                  Software for ROS (Robot Operating System)
>>> ii  ros-cturtle-image-transport-plugins  0.3.0-21~lucid
>>>                  Software for ROS (Robot Operating System)
>>> ii  ros-cturtle-ros                      1.1.16-21~lucid
>>>                  Software for ROS (Robot Operating System)
>>> ii  ros-cturtle-vision-opencv            1.2.3-21~lucid
>>>                  Software for ROS (Robot Operating System)
>>>
>>> On Tue, Jul 27, 2010 at 2:34 PM, Jeremy Leibs <leibs at willowgarage.com>
>>> wrote:
>>> > What are the values of of your ROS_ROOT, and ROS_PACKAGE_PATH?
>>> >
>>> > Can you provide the output of:
>>> >
>>> > dpkg -l | grep cturtle
>>> >
>>> >
>>> >
>>> > On Tue, Jul 27, 2010 at 2:31 PM, Patrick Bouffard
>>> > <bouffard at eecs.berkeley.edu> wrote:
>>> >> Does anyone have any suggestions on how to proceed here? Is it likely
>>> >> that a full uninstall/reinstall of cturtle would make any difference?
>>> >>
>>> >> Thanks,
>>> >> Pat
>>> >>
>>> >> On Mon, Jul 26, 2010 at 9:49 PM, Patrick Bouffard
>>> >> <bouffard at eecs.berkeley.edu> wrote:
>>> >>> I just tried an update/upgrade on the machine in question, and that
>>> >>> didn't bring in any new ros packages. I also tried removing and
>>> >>> reinstalling ros-cturtle-image-transport-plugins, and the problem
>>> >>> persists. Oddly, I have two other machines both with binary installs
>>> >>> of the latest cturtle and I don't see this issue on either of those.
>>> >>>
>>> >>> Pat
>>> >>>
>>> >>> On Mon, Jul 26, 2010 at 7:42 AM, Brian Gerkey
>>> >>> <gerkey at willowgarage.com> wrote:
>>> >>>> hi Patrick,
>>> >>>>
>>> >>>> I just tried the latest binaries on a Karmic box, and the transports
>>> >>>> are available.  We had some issues last week with our deb-building
>>> >>>> system.  Could you try an update and upgrade, to pull the latest
>>> >>>> cturtle debs, and see if the problem persists?
>>> >>>>
>>> >>>>        brian.
>>> >>>>
>>> >>>> On Sat, Jul 24, 2010 at 11:18 PM, Patrick Bouffard
>>> >>>> <bouffard at eecs.berkeley.edu> wrote:
>>> >>>>> I just did an install (from binaries) of cturtle onto a new machine
>>> >>>>> running Ubuntu 10.04, and things seem to mostly work but I noticed
>>> >>>>> if
>>> >>>>> I tried to image_view an image topic using compressed transport it
>>> >>>>> did
>>> >>>>> not work. So I tried:
>>> >>>>>
>>> >>>>> $ rosrun image_transport list_transports
>>> >>>>> Declared transports:
>>> >>>>> compressed (*): Not available. Try 'rosmake
>>> >>>>> compressed_image_transport'.
>>> >>>>> raw
>>> >>>>> theora (*): Not available. Try 'rosmake theora_image_transport'.
>>> >>>>>
>>> >>>>> Details:
>>> >>>>> ----------
>>> >>>>> "compressed"
>>> >>>>> *** Plugins are not built. ***
>>> >>>>>  - Provided by package: compressed_image_transport
>>> >>>>>  - Publisher: This plugin publishes a CompressedImage using either
>>> >>>>> JPEG or PNG compression.
>>> >>>>>  - Subscriber: This plugin decompressed a CompressedImage topic.
>>> >>>>> ----------
>>> >>>>> "raw"
>>> >>>>>  - Provided by package: image_transport
>>> >>>>>  - Publisher: This is the default publisher. It publishes the Image
>>> >>>>> as-is on the base topic.
>>> >>>>>  - Subscriber: This is the default pass-through subscriber for
>>> >>>>> topics
>>> >>>>> of type sensor_msgs/Image.
>>> >>>>> ----------
>>> >>>>> "theora"
>>> >>>>> *** Plugins are not built. ***
>>> >>>>>  - Provided by package: theora_image_transport
>>> >>>>>  - Publisher: This plugin publishes a video packet stream encoded
>>> >>>>> using Theora.
>>> >>>>>  - Subscriber: This plugin decodes a video packet stream encoded
>>> >>>>> using Theora.
>>> >>>>>
>>> >>>>> .. I'm not sure what to make of this. Why are the compressed and
>>> >>>>> theora transports 'not built'? If I do a 'rosmake
>>> >>>>> compressed_image_transport' as suggested, it completes without
>>> >>>>> error
>>> >>>>> but only because (I think) ROS_NOBUILD is set in that package
>>> >>>>> anyway.
>>> >>>>> I even tried removing ROS_NOBUILD and running rosmake, which did
>>> >>>>> seem
>>> >>>>> to complete successfully, yet list_transports still complains.
>>> >>>>>
>>> >>>>> I don't recall having to do anything special beyond 'apt-get
>>> >>>>> install
>>> >>>>> ros-cturtle-image-transport-plugins' in the past.
>>> >>>>>
>>> >>>>> Thanks,
>>> >>>>> Pat
>>> >>>>> _______________________________________________
>>> >>>>> ros-users mailing list
>>> >>>>> ros-users at code.ros.org
>>> >>>>> https://code.ros.org/mailman/listinfo/ros-users
>>> >>>>>
>>> >>>> _______________________________________________
>>> >>>> ros-users mailing list
>>> >>>> ros-users at code.ros.org
>>> >>>> https://code.ros.org/mailman/listinfo/ros-users
>>> >>>>
>>> >>>
>>> >> _______________________________________________
>>> >> ros-users mailing list
>>> >> ros-users at code.ros.org
>>> >> https://code.ros.org/mailman/listinfo/ros-users
>>> >>
>>> > _______________________________________________
>>> > ros-users mailing list
>>> > ros-users at code.ros.org
>>> > https://code.ros.org/mailman/listinfo/ros-users
>>> >
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>>
>> --
>> Tully Foote
>> Systems Engineer
>> Willow Garage, Inc.
>> tfoote at willowgarage.com
>> (650) 475-2827
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>



More information about the ros-users mailing list