ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

no laser show in rviz2 and rqt

asked 2020-09-10 04:31:46 -0500

chopin1998@gmail.com gravatar image

i published a topic via "pointcloud_to_laserscan" node,

and i can view the data updated by ros2 topic echo /scan

but in RViz2 and rqt, the tools can see the topic, but no data updated?

how to fix the problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-09-10 05:16:49 -0500

chopin1998@gmail.com gravatar image

i know the reason now...

the pub and sub has different reliability conf....

edit flag offensive delete link more

Comments

thanks dude works with my matlab problem, unable to see turtlebot3_,msgs/LaserScan data. Had to change LaserScanSub = ros2subscriber(matlabNode, topicName); to LaserScanSub = ros2subscriber(matlabNode, topicName,"Reliability","besteffort");

Andre123 gravatar image Andre123  ( 2022-04-14 08:23:50 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-09-10 04:31:46 -0500

Seen: 145 times

Last updated: Sep 10 '20