rostopic echo doesn't output data
Hello,
I am trying to access the the /vislam/pose data using: https://github.com/ATLFlight/ros-examples#clone-and-build-sample-code
I am running ROS on the snapdragon flight.
ifconfig yields an IP of: inet addr:192.168.0.111
i have set ROSIP, ROSMASTERURI, and ROSHOSTNAME in the /home/linaro/.bashrc file as so:
export ROS_HOSTNAME=$(hostname -I | awk '{print $1}')
export ROSIP=$(hostname -I | awk '{print $1}') # Set ROSIP
export ROSMASTERURI=http://192.168.0.111:11311
and env | grep ROS yields:
ROS_ROOT=/opt/ros/indigo/share/ros
ROSPACKAGEPATH=/home/linaro/ros_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
ROSMASTERURI=http://192.168.0.111:11311
ROS_HOSTNAME=192.168.0.111
ROSLISPPACKAGEDIRECTORIES=/home/linaro/ros_ws/devel/share/common-lisp
ROS_DISTRO=indigo
ROS_IP=192.168.0.111
ROSETCDIR=/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.
Asked by LukeDickerson on 2017-04-01 17:12:57 UTC
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.
Asked by ahendrix on 2017-04-02 02:33:08 UTC