ROS2 topic display bug, possibly a network config issue

asked 2020-10-07 14:26:22 -0500

LukeXH gravatar image

I am having trouble getting the ros2 topic and node tools to "work".

ros2 topic --include-hidden-topics list fails to show any topics at all and ros2 node info <node name> simply displays blank fields. ros2 topic echo /move_base_simple/goal gives the warning that the topic does not appear to be published yet if I'm publishing the topic in another terminal via: ros2 topic pub /move_base_simple/goal geometry_msgs/PoseStamped "pose: {position: {x: -1.48521637917, y: -0.321035593748, z: 0.0}, orientation: {x: 0.0, y: 0.0, z: 0.998424684653, w: -0.0561083690272}}"

What makes things complicated is topics are being published and subscribed to successfully. I've tested with the package demo_nodes_cpp, copy pasted example code (https://index.ros.org/doc/ros2/Tutori...), and some home-brewed code.

I'm grasping at straws to figure out what is going on, and I would love any pointers on what could be causing this problem.

Here is my platform information, output from ros2doctor:

PLATFORM INFORMATION

system : Linux

platform info : Linux-5.4.0-48-generic-x86_64-with-glibc2.29

release : 5.4.0-48-generic

processor : x86_64

RMW MIDDLEWARE

middleware name : rmw_fastrtps_cpp

ROS 2 INFORMATION

distribution name : foxy

distribution type : ros2

distribution status : active

release platforms : {'ubuntu': ['focal']}

edit retag flag offensive close merge delete