Robotics StackExchange | Archived questions

setup viso2_ros with carla_ros_bridge

Hey Guys, I'm trying to use the libviso2 in special stereoodometer to get a pose estimation for my vehicle inside a simulated environment CARLA Simulator. I'm using Ubuntu-16.04 with ROS kinetic and the proposed carlarosbridge. I cloned viso2_ros into `catkinws/src/and thought if I change the subscribed camera topics inclass StereoProcessorin stereo_processor.h it could be enough. https://ibb.co/9GQzbFP ![topic_changes](https://ibb.co/9GQzbFP) However, this doesn't seem to have any impact. I rerun catkin_make afterwards and the package stereo_odometer is build fresh but I can't start it. If I start stereo_image_proc withrosrun stereoimageproc stereoimageproc` I get the following failures:

  [ WARN] [1560779591.102157905]: Started in the global namespace! This is probably wrong. Start stereo_image_proc in the stereo namespace.
Example command-line usage:
    $ ROS_NAMESPACE=my_stereo rosrun stereo_image_proc stereo_image_proc
[ WARN] [1560779591.508873458, 951.733382970]: The input topic '/left/image_raw' is not yet advertised
[ WARN] [1560779591.508965337, 951.733382970]: The input topic '/left/camera_info' is not yet advertised
[ WARN] [1560779591.509001096, 951.733382970]: The input topic '/right/image_raw' is not yet advertised
[ WARN] [1560779591.509049280, 951.733382970]: The input topic '/right/camera_info' is not yet advertised

If I set the global Namespace

ROS_NAMESPACE=carla/ego_vehicle/camera/rgb rosrun stereo_image_proc stereo_ige_proc
[ WARN] [1560779709.323436463, 1033.833387251]: The input topic '/carla/ego_vehicle/camera/rgb/left/image_raw' is not yet advertised
[ WARN] [1560779709.323535283, 1033.833387251]: The input topic '/carla/ego_vehicle/camera/rgb/right/image_raw' is not yet advertised

my tf-tree seems to be okay. https://ibb.co/VQq3X8Y my rqt_graph looks like that. https://ibb.co/L57502y

Asked by slin89 on 2019-06-17 09:19:49 UTC

Comments

I was able to run the stereo_image_proc on my computer at university, there the everything is running well.

Asked by slin89 on 2019-06-18 13:01:59 UTC

Answers