Unable to display Interactive Marker in custom QWidget
Hi, I am using basic_controls tutorial to display Interactive Markers. It works fine for rViz whereas in my custom QWidget, I can able to visualize the Marker::MESH_RESOURCE but I can't interact with the mesh resource since the InteractiveMarkerControl is not visible. If i change the position in rViz then the same is updated in my QWidget but I can't change directly in QWidget.
Following snippet I have used to display the Interactive Marker:
obj_ = manager_->createDisplay( "rviz/InteractiveMarkers", "Obj Loader", true );
obj_->subProp("Reference Frame")->setValue("base_link");
obj_->subProp("Update Topic")->setValue("/basic_controls/update");
EDIT 1:
I got some more info as follows:
~/rviz-kinetic-devel$ rostopic info /basic_controls/feedback
Type: visualization_msgs/InteractiveMarkerFeedback
Publishers: * /rviz ( http://xxxx:39181/ )
Subscribers: * /point_cloud_publisher ( http://xxxx:40431/ )
Basically here rviz is publishing the feedback. I have to figure out how can I publish the feedback from QWidget.
Any ideas on this topic?