Comments (3)
@CFZeon IIUC what you describe has less to do with pointcould_to_laserscan
than with proper pub-sub, which makes this a non-issue. I don't if you're familiar with http://answers.ros.org/, but we typically encourage folks to ask questions there instead. That increases the likelihood of you getting a prompt response, and the broader community can benefit from that exchange. Thus, I'll proceed to close this issue.
Do you know why this happens?
I'd verify you have matching QoS settings, so start with.
from pointcloud_to_laserscan.
I also had the same problem, please how did you solve this problem in the end
from pointcloud_to_laserscan.
It should be fixed by setting up the same the reliability in my case
use ros2 topic info /scan --verbose
to check the QoS settings, already used.
you can edit the code like this!
pub_ = this->create_publisher<sensor_msgs::msg::LaserScan>("scan", rclcpp::SensorDataQoS());
pub_ = this->create_publisher<sensor_msgs::msg::LaserScan>("scan", rclcpp::SensorDataQoS().reliability(RMW_QOS_POLICY_RELIABILITY_RELIABLE));
from pointcloud_to_laserscan.
Related Issues (20)
- Package failed with error "C2065: 'M_PI': undeclared identifier" HOT 3
- Scan stops publishing after a few seconds HOT 3
- ImportError: No module named launch
- pointcloud_to_laserscan in ROS1 and Python
- Problems running ros2 run pointcloud_to_laserscan in ROS2 Foxy HOT 1
- Package for kinetic?
- Can't use ros2 topic echo HOT 1
- Node didn't recognize subscriber HOT 1
- Error while launching sample_node.launch with ros1
- Is there an example how to use it? HOT 1
- /cloud_in not identical to /cloud HOT 2
- CMake Error at CMakeLists.txt when colcon build with Galactic HOT 6
- How to project LaserScan to the floor in the robot coordination HOT 1
- laser_scan become very short HOT 1
- Object edges dispersion
- colcon build error HOT 2
- New pointcloud_to_lasersacan release on Rolling HOT 1
- Issue with colcon build in ros2 foxy HOT 1
- issue with colcon build in ros2 humble HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pointcloud_to_laserscan.