Skip to content

Commit

Permalink
Revert "Smoothly move PCL given a moving frame_id (ros-visualization#…
Browse files Browse the repository at this point in the history
…1655)"

This reverts commit 7bdbeea.
  • Loading branch information
rhaschke committed Sep 24, 2021
1 parent 723a387 commit 84fcce3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 137 deletions.
17 changes: 0 additions & 17 deletions src/rviz/default_plugin/point_cloud_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,23 +637,6 @@ void PointCloudCommon::update(float /*wall_dt*/, float /*ros_dt*/)
new_color_transformer_ = false;
}

for (CloudInfoPtr& cloud_info : cloud_infos_)
{
if (!context_->getFrameManager()->getTransform(cloud_info->message_->header.frame_id, ros::Time(),
cloud_info->position_, cloud_info->orientation_))
{
std::stringstream ss;
ss << "Failed to transform from frame [" << cloud_info->message_->header.frame_id << "] to frame ["
<< context_->getFrameManager()->getFixedFrame() << "]";
display_->setStatusStd(StatusProperty::Error, "Message", ss.str());
}
else
{
cloud_info->scene_node_->setPosition(cloud_info->position_);
cloud_info->scene_node_->setOrientation(cloud_info->orientation_);
}
}

updateStatus();
}

Expand Down
120 changes: 0 additions & 120 deletions src/test/point_cloud_test.py

This file was deleted.

0 comments on commit 84fcce3

Please sign in to comment.