Coder Social home page Coder Social logo

Comments (9)

wsaihopfsg avatar wsaihopfsg commented on July 19, 2024 1

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.

john-sokko avatar john-sokko commented on July 19, 2024

Here is a screenshot.
pc_err

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on July 19, 2024

Is this on Ubuntu 20.04 and ROS Noetic? I am having the same problem on Noetic.

from pf_lidar_ros_driver.

john-sokko avatar john-sokko commented on July 19, 2024

Yes.

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on July 19, 2024

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.

wsaihopfsg avatar wsaihopfsg commented on July 19, 2024

I can successfully invoke roslaunch pf_driver r2300.launch, but cannot see anything in rviz.

image

... 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.

hsd-dev avatar hsd-dev commented on July 19, 2024

@wsaihopfsg check the link posted in this thread. It is apparently a known issue in Noetic.

from pf_lidar_ros_driver.

wsaihopfsg avatar wsaihopfsg commented on July 19, 2024

@ipa-hsd Sorry I made a typo, I am using melodic

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.