Ask Your Question
0

ira_laser_tools merger node is not subscribing lidar topics

asked 2020-08-27 11:17:18 -0500

p18dhavan gravatar image

updated 2020-08-28 00:36:58 -0500

gvdhoorn gravatar image

Hi, I am trying to merge 3 lidar feed. Lidar point cloud topics are working fine. When I tried to run ira_laser_tool node it is working but it is not subscribing to my lidar topis? I have add rostopic list, rosnode info. Also, asking for other tools like laser_merger?

rostopic list:

rostopic list
/laserscan_multi_merger/parameter_descriptions
/laserscan_multi_merger/parameter_updates
/merged_cloud
/rosout
/rosout_agg
/scan_multi
/sensor1/points
/sensor2/points
/sensor3/points
/tf
/tf_static

rosnode info:

rosnode info /laserscan_multi_merger 
--------------------------------------------------------------------------------
Node [/laserscan_multi_merger]
Publications: 
 * /laserscan_multi_merger/parameter_descriptions [dynamic_reconfigure/ConfigDescription]
 * /laserscan_multi_merger/parameter_updates [dynamic_reconfigure/Config]
 * /merged_cloud [sensor_msgs/PointCloud2]
 * /rosout [rosgraph_msgs/Log]
 * /scan_multi [sensor_msgs/LaserScan]

Subscriptions: 
 * /tf [unknown type]
 * /tf_static [unknown type]

Services: 
 * /laserscan_multi_merger/get_loggers
 * /laserscan_multi_merger/set_logger_level
 * /laserscan_multi_merger/set_parameters


contacting node http://******-***002:******/ ...
Pid: 9156
Connections:
 * topic: /rosout
    * to: /rosout
    * direction: outbound
    * transport: TCPROS

when Node is working:

roslaunch ira_laser_tools laserscan_multi_merger.launch 
... logging to /home/bchan/.ros/log/d6143206-e867-11ea-8f07-10653056d93e/roslaunch-*****-*****-*****.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://***PC-******:*****/

SUMMARY
========

PARAMETERS
 * /laserscan_multi_merger/angle_increment: 0.0058
 * /laserscan_multi_merger/angle_max: 2.0
 * /laserscan_multi_merger/angle_min: -2.0
 * /laserscan_multi_merger/cloud_destination_topic: /merged_cloud
 * /laserscan_multi_merger/destination_frame: Lidar_merge
 * /laserscan_multi_merger/laserscan_topics: /sensor_1/points ...
 * /laserscan_multi_merger/range_max: 50.0
 * /laserscan_multi_merger/range_min: 0.3
 * /laserscan_multi_merger/scan_destination_topic: /scan_multi
 * /laserscan_multi_merger/scan_time: 0.0333333
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /
    laserscan_multi_merger (ira_laser_tools/laserscan_multi_merger)

Thanks for help in advance!!!! If there any other options available like ira_merger tool.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-27 15:45:45 -0500

dtyugin gravatar image

It seems provided topic names in launch file does not match existing topic names:

provided in config topic: /laserscan_multi_merger/laserscan_topics: /sensor_1/points

existing topic: /sensor1/points

So "sensor_1" does not match "sensor1".

Based on module source code this module works only with sensor_msgs/LaserScan. Please make sure you are trying to merge laserscans but not point clouds.

The module makes validation of data types before subscription and existence of topics by provided names. It's not quite usual design in ros modules and allows this module to wait for correct topics silently (you don't see subscriptions in ros node info output).

edit flag offensive delete link more

Comments

Thank you for your suggestion. Do you have any recommendation for point cloud lidar merger?

p18dhavan gravatar image p18dhavan  ( 2020-08-27 16:35:27 -0500 )edit

Well, you can try point cloud merger from autoware. I don't use it but looking into source code there are no autoware specific dependencies, so you can take only merger node from the whole project. Or you can build the whole autoware project and run this node.

dtyugin gravatar image dtyugin  ( 2020-08-28 10:33:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-08-27 11:17:18 -0500

Seen: 92 times

Last updated: Aug 28 '20