rostopic echo doesn't output data

asked 2017-04-01 17:12:57 -0600

LukeDickerson gravatar image

Hello,

I am trying to access the the /vislam/pose data using: https://github.com/ATLFlight/ros-exam...

I am running ROS on the snapdragon flight.

ifconfig yields an IP of: inet addr:192.168.0.111

i have set ROS_IP, ROS_MASTER_URI, and ROS_HOSTNAME in the /home/linaro/.bashrc file as so:

export ROS_HOSTNAME=$(hostname -I | awk '{print $1}')

export ROS_IP=$(hostname -I | awk '{print $1}') # Set ROS_IP

export ROS_MASTER_URI=http://192.168.0.111:11311

and env | grep ROS yields:

ROS_ROOT=/opt/ros/indigo/share/ros

ROS_PACKAGE_PATH=/home/linaro/ros_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks

ROS_MASTER_URI=http://192.168.0.111:11311

ROS_HOSTNAME=192.168.0.111

ROSLISP_PACKAGE_DIRECTORIES=/home/linaro/ros_ws/devel/share/common-lisp

ROS_DISTRO=indigo

ROS_IP=192.168.0.111

ROS_ETC_DIR=/opt/ros/indigo/etc/ros

I have added this IP in the etc/hosts file as so:

192.168.0.111 test1

The IMU is properly outputting data according to the sensor tester (see github documentation) and rostopic list yields:

/rosout

/rosout_agg

/vislam/odometry

/vislam/pose

However rostopic echo /vislam/pose yields a blinking cursor on a blank line. If there is anything I have done incorrectly or more information needed, please let me know. Any help would be sincerely appreciated.

edit retag flag offensive close merge delete

Comments

This could be that rostopic isn't printing anything when it should, or it could be that the vislam node isn't publishing any messages. You might want to try running the tutorials and echoing the chatter topic to determine if this is your network setup or the vislam node.

ahendrix gravatar image ahendrix  ( 2017-04-02 02:33:08 -0600 )edit