Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions jsk_rviz_plugins/src/bounding_box_display_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ namespace jsk_rviz_plugins
Ogre::Vector3 position;
Ogre::Quaternion orientation;
if(!this->context_->getFrameManager()->transform(
box.header, box.pose, position, orientation)) {
box.header.frame_id, msg->header.stamp, box.pose, position, orientation)) {
std::ostringstream oss;
oss << "Error transforming pose";
oss << " from frame '" << box.header.frame_id << "'";
Expand Down Expand Up @@ -279,7 +279,7 @@ namespace jsk_rviz_plugins
edge->clear();
Ogre::Vector3 position;
Ogre::Quaternion quaternion;
if(!this->context_->getFrameManager()->transform(box.header, box.pose,
if(!this->context_->getFrameManager()->transform(box.header.frame_id, msg->header.stamp, box.pose,
position,
quaternion)) {
std::ostringstream oss;
Expand Down Expand Up @@ -369,7 +369,7 @@ namespace jsk_rviz_plugins
Ogre::Vector3 position;
Ogre::Quaternion orientation;
if(!this->context_->getFrameManager()->getTransform(
box.header, position, orientation)) {
box.header.frame_id, msg->header.stamp, position, orientation)) {
ROS_DEBUG("Error transforming from frame '%s' to frame '%s'",
box.header.frame_id.c_str(), qPrintable(this->fixed_frame_));
return;
Expand Down