给定一个,我如何获得被占用单元格的笛卡尔坐标?
double printOccupied(boost::shared_ptr<octomap::OcTree> octree) {
// Get some octomap config data
auto res = octree->getResolution();
unsigned int max_depth = octree->getTreeDepth();
// Iterate over nodes
int count = 0;
std::cout <<
我需要在2017年的视频工作室上构建一个。根据网站,他们要求做以下几件事
open a windows shell (e.g., from the START-Menu -> QT)
cd octovis/src/extern/QGLViewer
qmake -t vclib QGLViewer.pro -spec win32-msvc2010 (ignore any warnings)
因此,我也这样做了,但是在windows命令提示符终端中,当我输入上面的命令时,它会抛出以下错误:
#qmake -t vclib QGLViewer.pro -spec win3
几个小时以来,我患上了一种很好的未治疗的依赖型癌症,我在ROSAnswers中问过这个问题,在那里我被告知这是一个Ubuntu问题,因此我在这里提出问题。
当我尝试运行以下代码时:
sudo apt-get install ros-kinetic-desktop-full
我得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you h