Comments (9)
Both /cloud
& /cloud_1
are not publishing. In fact all topics are not publishing except for /tf
, /r2300_node/parameter_descriptions
& /r2300_node/parameter_updates
The issue is quite confirmed to be with WSL2, since in the initial request_handle_udp
and subsequent start_scanoutput
are TCP-based and initiated by the driver within WSL2. (WSL2 -> R2300)
When the UDP response comes in the other direction (R2300 -> WSL2), it doesn't work. The official work-around involves proxyport forwarding with netsh
, but it doesn't work for UDP.
Following the steps here I have managed to get the rviz visualization. Nothing is wrong with the driver, just need to massage some WSL2 settings.
from pf_lidar_ros_driver.
from pf_lidar_ros_driver.
Is this on Ubuntu 20.04
and ROS Noetic
? I am having the same problem on Noetic
.
from pf_lidar_ros_driver.
Yes.
from pf_lidar_ros_driver.
looks like it is a known error: https://answers.ros.org/question/355595/rviz-tf-error-failed-to-transform-from-frame-map-to-frame-map/
from pf_lidar_ros_driver.
I can successfully invoke roslaunch pf_driver r2300.launch
, but cannot see anything in rviz.
... logging to /home/pepperlfuchsctss/.ros/log/c02be5fa-3a02-11eb-9f3e-00155d97d3b7/roslaunch-1806PTN523-2997.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://1806PTN523:37105/
SUMMARY
========
PARAMETERS
* /rosdistro: melodic
* /rosversion: 1.14.10
NODES
/
r2300_node (pf_driver/ros_main)
ring1 (tf/static_transform_publisher)
ring2 (tf/static_transform_publisher)
ring3 (tf/static_transform_publisher)
ring4 (tf/static_transform_publisher)
rviz (rviz/rviz)
ROS_MASTER_URI=http://localhost:11311
process[r2300_node-1]: started with pid [3012]
process[ring1-2]: started with pid [3013]
process[ring2-3]: started with pid [3014]
process[ring3-4]: started with pid [3015]
process[ring4-5]: started with pid [3025]
[ INFO] [1607515719.099464700]: Device found: OMD10M-R2300-B23-V1V1D-4S
process[rviz-6]: started with pid [3037]
[ INFO] [1607515719.173835000]: Device state changed to Initialized
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pepperlfuchsctss'
[ INFO] [1607515719.208733100]: Device state changed to Running
I checked all the cloud related topics /cloud_1 /cloud_2 /cloud_3 /cloud_4
, all are not publishing.
The only topic that seems to be actively publishing is /tf
.
The unit is not defective since I can visualize using another P+F software.
I am running WSL with Ubuntu 18.04
and ROS melodic
.
Thank you.
from pf_lidar_ros_driver.
@wsaihopfsg check the link posted in this thread. It is apparently a known issue in Noetic.
from pf_lidar_ros_driver.
@ipa-hsd Sorry I made a typo, I am using melodic
from pf_lidar_ros_driver.
It would be difficult to replicate this error since there has not been an issue with Melodic
before and there seems to be no error output in your case. Can you check the output of the pointcloud and laserscan on terminal with
rostopic echo /cloud
rostopic echo /cloud_1
from pf_lidar_ros_driver.
Related Issues (20)
- unable to locate: pf_driver/PFDriverR2000Config.h and pf_driver/PFDriverR2300Config.h HOT 2
- /scan topic is published at 360+ hz HOT 3
- boost error HOT 14
- Impossible to terminate ros_main node cleanly. HOT 2
- protocol error: 120 Invalid handle or no handle provided HOT 13
- transplant to ros2 HOT 2
- which branch to use HOT 1
- still the transport:
- about the cpu HOT 6
- wrong or missiong data under high load HOT 3
- Unable to communicate with device HOT 5
- Qos HOT 2
- Segfault running the latest ROS2 driver HOT 15
- Restarting the node several times starts causing persistent protocol error HOT 8
- Connection failure is not handled in the case of empty http_error HOT 17
- Persistent protocol errors, probably not terminated socket HOT 1
- UDP bind error: Address family not supported by protocol HOT 16
- driver params HOT 1
- the time stamp of r2000
- UDP port not used - connection with firewall not possible 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 pf_lidar_ros_driver.