RViz and interactive markers: Why does not pose automatically updated?
Hi all,
When an interactive marker's pose is changed using a control (for instance the 6-DoF control provided in basic_controls), why does the field int_marker.pose is not filled why the new value automatically?
I spent a long time debugging my node when I realized that I had to update it myself with such a callback function for instance:
void processFeedback(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
{
switch (feedback->event_type) {
case visualization_msgs::InteractiveMarkerFeedback::POSE_UPDATE:
int_marker.pose = feedback->pose; // MANDATORY??
server->insert(int_marker, &processFeedback);
server->applyChanges();
break;
}
Even if the pose is not updated, the display is correct and my object moves when I control it with the interactive marker, so where are stored its coordinates?
Many thanks