zlt1991 / tensor_field_nav

Autonomous mapping based on time-varying tensor fields
48 stars 18 forks source link

How do you visualize "tensor field" ? #2

Open han-kyung-min opened 5 years ago

han-kyung-min commented 5 years ago

Hello,

Could you please tell me how to visualize "tensor filed" ? How to show the current status of motion planning ? I have Rviz on, but I cannot locate any relative topic to "motion field"

Thanks for the nice SW

zlt1991 commented 5 years ago

If the whole system goes up, you can vis the tensor field on Rviz by subscribing to the topic of "/semantic_targets", which is published in listen.py. Maybe you should first check to see if the node of listen.py is runing.

han-kyung-min commented 5 years ago

Thanks for the quick reply. I can see the node "listen" is up. Besides, I do see the topic "/semantic_targets" is published by the node "listen". Unfortunately, I don't see this topic in Rviz though. I found "MeshDisplayCustom" under rviz_textured_quads instead. But, clicking this topic crashes Rviz immediately. Do you have any idea ?

Thanks for your help.

zlt1991 commented 5 years ago

Hi, the "MeshDisplayCustom" is provided by plugin of rviz_textured_quads. You said Rviz crashed when you clicked the topic, I think that may be the problem. You can catkin_make the packages of rviz_textured_quads separately to if the "MeshDisplayCustom" works on Rviz. There is also a demo launch file in package of rivz_textured_quads.