Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 120

Visualization on multiple machines

$
0
0
I'm trying to visualize my lidar data and hector_mapping on my main pc. Everything works fine when using the following launch files of hector_mapping: tutorial.launch and mapping_default.launch, (see code below) on my raspberry Pi. But when I try showing the same data with rviz on my main pc, I can not show the Map for example (While echo'ing the map data works fine) without checking the Unreliable option and within no time the following message appears: a message of over a gigabyte was predicted in tcpros. that seems highly unlikely, so I'll assume protocol synchronization is lost. Running everything on my main pc except the lidar node with the /scan publisher is also not working. It is not able to get the transform data: No transform between frames /map and scanmatcher_frame available after 20.002555 seconds of waiting. This warning only prints once. I feel like that in my first problem maybe to much data is send to correctly display my data? And in the second problem there is something going wrong with my TF data. When running 'rosrun tf tf_monitor' on my main pc no tf data is availble, while it shows my tf data on the raspberry pi. Can this be timing problems? Can someone help me steer in the right direction to tackle this problem? env | grep ROS # on my raspberry pi ROS_ROOT=/opt/ros/kinetic/share/ros ROS_PACKAGE_PATH=/home/ubuntu/lidar_ws/src:/home/ubuntu/catkin_ws/src:/opt/ros/kinetic/share ROS_MASTER_URI=http://IP_MAIN:11311 ROS_VERSION=1 ROS_PARALLEL_JOBS=-j2 ROS_HOSTNAME=IP_pi ROSLISP_PACKAGE_DIRECTORIES=/home/ubuntu/lidar_ws/devel/share/common- lisp:/home/ubuntu/catkin_ws/devel/share/common-lisp ROS_DISTRO=kinetic ROS_IP=IP_pi ROS_ETC_DIR=/opt/ros/kinetic/etc/ros env | grep ROS # on my main pc ROS_ROOT=/opt/ros/kinetic/share/ros ROS_PACKAGE_PATH=/home/ubuntu/lidar_ws/src:/home/ubuntu/catkin_ws/src:/opt/ros/kinetic/share ROS_MASTER_URI=http://IP_MAIN:11311 ROS_VERSION=1 ROS_PARALLEL_JOBS=-j2 ROS_HOSTNAME=IP_MAIN ROSLISP_PACKAGE_DIRECTORIES=/home/ubuntu/lidar_ws/devel/share/common-lisp:/home/ubuntu/catkin_ws/devel/share/common-lisp ROS_DISTRO=kinetic ROS_IP= IP_MAIN ROS_ETC_DIR=/opt/ros/kinetic/etc/ros tutorial.launch mapping_default.launch

Viewing all articles
Browse latest Browse all 120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>