Closed msz-rai closed 7 months ago
Thank you for your issue! There are two types of sensor communication:
While setup_sensor:=false
disables the first kind of communication, Nebula still tries to get info from the sensor.
Using launch_hw:=false
disables all sensor communication.
I hope this helps! Please let us know when you run into any other issues.
Thank you for the response and the clarification :bowing_man:
Our use case is to receive from the data port only since we simulate the sensors' point cloud output. I expected that setup_sensor
should disable the PTC connection globally. In this case, the solution seems to be setting retry_hw
and setup_sensor
to false in *_hw_ros_wrapper
and not launching *_hw_monitor_ros_wrapper
.
I see, our use case has been slightly different which is what probably caused you issues here.
There is a topic /hesai_packets
which is an array of raw UDP packets (+ timestamp) which is published by the HW interface during online operation. For offline operation (playing from Rosbag), we replayed those messages instead of the actual UDP traffic.
If your workaround is good enough for your current use case, I think there is no urgent pressure to 'officially' support it in Nebula yet. If you find there is significant trouble, we are open to reopen the discussion!
Thank you!
Thank you for clarifying the situation. At the moment, the workaround seems to be meeting our needs. If any significant issues arise in the future, we'll be sure to reach out to reopen the discussion.
Thanks again for your support and assistance!
@mojomex Unfortunately, the latest driver version does not allow a workaround. I prepared the PR with a new parameter to run the driver in a listen-only mode: https://github.com/tier4/nebula/pull/210
According to the README (Generic launch file section),
setup_sensor
flag should disable sensor configuration communication. It doesn't work in my case. I am running the following command:and
hesai_hw_interface_ros_wrapper_node
is trying to connect with the sensor until successful. I get the following output: