Fixed some compilation warnings

This commit is contained in:
matlabbe
2021-10-07 09:22:01 -04:00
parent b531f96c31
commit 1f600abda6
13 changed files with 47 additions and 7 deletions
+2 -2
View File
@@ -489,7 +489,7 @@ void MapCloudDisplay::updateCloudParameters()
// do nothing... only take effect on next generated clouds
}
void MapCloudDisplay::downloadMap(bool graphOnly)
void MapCloudDisplay::downloadMap(bool /*graphOnly*/)
{
RCLCPP_ERROR(rviz_ros_node_.lock()->get_raw_node()->get_logger(), "MapCloud plugin: DownloadMap still not working on ros2");
return;
@@ -718,7 +718,7 @@ void MapCloudDisplay::update( float, float )
0, 0, 0, 1);
frameTransform = frameTransform * pose;
Ogre::Vector3 posePosition = frameTransform.getTrans();
Ogre::Quaternion poseOrientation = frameTransform.extractQuaternion();
Ogre::Quaternion poseOrientation(frameTransform.linear());
poseOrientation.normalise();
cloudInfoIt->second->scene_node_->setPosition(posePosition);