Thanks very much for your work,I try to run code .But I meet a problems,cloud you help me?? Thanks!
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:22:20: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
node->copyData((this->getNodeChild(node, 0)));
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:29:7: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘deleteNodeChild’
this->deleteNodeChild(node, i);
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree<SEMANTICS>::isNodeCollapsible(const octomap::SemanticsOcTreeNode<SEMANTICS>) const [with SEMANTICS = octomap::SemanticsMax]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:42:8: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeChildExists’
if(!this->nodeChildExists(node, 0))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:44:82: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
const SemanticsOcTreeNode<SEMANTICS>* firstChild = this->getNodeChild(node, 0);
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:45:5: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeHasChildren’
if(this->nodeHasChildren(firstChild))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:51:43: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
|| !(this->getNodeChild(node, i)->getSemantics() == firstChild->getSemantics()))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:50:43: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
|| !(this->getNodeChild(node, i)->getValue() == firstChild->getValue())
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeHasChildren’
if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:11: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeChildExists’
if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i))
^
In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0,
from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE*, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:409:51: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::prune() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:590:72: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
pruneRecurs(node->getChild(i), depth+1, max_depth, num_pruned);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:582:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’ [-fpermissive]
void OcTreeBaseImpl<NODE,I>::pruneRecurs(NODE* node, unsigned int depth,
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE*, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:418:38: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expand() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:623:59: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
expandRecurs(node->getChild(i), depth+1, max_depth);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:607:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’ [-fpermissive]
void OcTreeBaseImpl<NODE,I>::expandRecurs(NODE* node, unsigned int depth,
^
In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::ostream& octomap::OccupancyOcTreeBase<NODE>::writeBinaryNode(std::ostream&, const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; std::ostream = std::basic_ostream]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:958:7: required from ‘std::ostream& octomap::OccupancyOcTreeBase<NODE>::writeBinaryData(std::ostream&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; std::ostream = std::basic_ostream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1053:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
const NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1065:47: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
const NODE child = node->getChild(i+4);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1087:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
const NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::istream& octomap::OccupancyOcTreeBase<NODE>::readBinaryNode(std::istream&, NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; std::istream = std::basic_istream]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:948:5: required from ‘std::istream& octomap::OccupancyOcTreeBase<NODE>::readBinaryData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1022:39: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE*, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:533:49: required from ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihood() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:549:70: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
toMaxLikelihoodRecurs(node->getChild(i), depth+1, max_depth);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:541:8: error: initializing argument 1 of ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’ [-fpermissive]
void OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE* node, unsigned int depth,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’ [-fpermissive]
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’ [-fpermissive]
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0,
from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE*, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:409:51: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::prune() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:590:72: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
pruneRecurs(node->getChild(i), depth+1, max_depth, num_pruned);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:582:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’ [-fpermissive]
void OcTreeBaseImpl<NODE,I>::pruneRecurs(NODE* node, unsigned int depth,
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE*, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:418:38: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expand() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:623:59: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
expandRecurs(node->getChild(i), depth+1, max_depth);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:607:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’ [-fpermissive]
void OcTreeBaseImpl<NODE,I>::expandRecurs(NODE* node, unsigned int depth,
^
In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::ostream& octomap::OccupancyOcTreeBase<NODE>::writeBinaryNode(std::ostream&, const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; std::ostream = std::basic_ostream]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:958:7: required from ‘std::ostream& octomap::OccupancyOcTreeBase<NODE>::writeBinaryData(std::ostream&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; std::ostream = std::basic_ostream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1053:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
const NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1065:47: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
const NODE child = node->getChild(i+4);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1087:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
const NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::istream& octomap::OccupancyOcTreeBase<NODE>::readBinaryNode(std::istream&, NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; std::istream = std::basic_istream]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:948:5: required from ‘std::istream& octomap::OccupancyOcTreeBase<NODE>::readBinaryData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1022:39: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE*, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:533:49: required from ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihood() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:549:70: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
toMaxLikelihoodRecurs(node->getChild(i), depth+1, max_depth);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:541:8: error: initializing argument 1 of ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’ [-fpermissive]
void OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE* node, unsigned int depth,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’ [-fpermissive]
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’ [-fpermissive]
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0,
from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i));
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: error: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive]
size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE* parent) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE*, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
calcNumNodesRecurs(node->getChild(i), num_nodes);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive]
void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE* node, size_t& num_nodes) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i));
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: error: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive]
size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE* parent) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE*, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
calcNumNodesRecurs(node->getChild(i), num_nodes);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive]
void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE* node, size_t& num_nodes) const {
^
make[2]: *** [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[2]: *** [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator_ros.cpp.o] 错误 1
make[1]: *** [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/all] 错误 2
make: *** [all] 错误 2
Invoking "make -j12 -l12" failed
Thanks for your answer.I try to run :
`rosdep install semantic_slam'
robot@robot:~/slam_project/catkin_ws$ rosdep install semantic_slam
#All required rosdeps installed successfully
but it not help!
DE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’ [-fpermissive]
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’ [-fpermissive]
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0,
from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i));
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: error: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive]
size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE* parent) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE*, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
calcNumNodesRecurs(node->getChild(i), num_nodes);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive]
void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE* node, size_t& num_nodes) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i));
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: error: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive]
size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE* parent) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE*, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
calcNumNodesRecurs(node->getChild(i), num_nodes);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive]
void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE* node, size_t& num_nodes) const {
^
make[2]: *** [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[2]: *** [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator_ros.cpp.o] 错误 1
make[1]: *** [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
[ 71%] Linking CXX executable /home/robot/slam_project/catkin_ws/devel/lib/orb_slam2/monoAR
[ 78%] Linking CXX executable /home/robot/slam_project/catkin_ws/devel/lib/orb_slam2/mono
[ 78%] Built target monoAR
[ 78%] Built target mono
[ 85%] Linking CXX executable /home/robot/slam_project/catkin_ws/devel/lib/orb_slam2/stereo
[ 92%] Linking CXX executable /home/robot/slam_project/catkin_ws/devel/lib/orb_slam2/rgbd
[ 92%] Built target stereo
[ 92%] Built target rgbd
make: *** [all] 错误 2
Invoking "make -j12 -l12" failed
I think it maybe related with the version of octomap. could you tell me the version of octomap you used! the more information ia as follows:
Scanning dependencies of target octomap_generator
[ 20%] Building CXX object semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator.cpp.o
[ 40%] Building CXX object semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/semantic_octree/semantics_bayesian.cpp.o
[ 60%] Building CXX object semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator_ros.cpp.o
[ 80%] Building CXX object semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/semantic_octree/semantics_max.cpp.o
In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:11:0,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree_node.h: In member function ‘void octomap::SemanticsOcTreeNode<SEMANTICS>::copyData(const octomap::SemanticsOcTreeNode<SEMANTICS>&)’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree_node.h:39:7: error: ‘copyData’ is not a member of ‘octomap::ColorOcTreeNode’
ColorOcTreeNode::copyData(from);
^
In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:11:0,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator_ros.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator_ros.cpp:1:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree_node.h: In member function ‘void octomap::SemanticsOcTreeNode<SEMANTICS>::copyData(const octomap::SemanticsOcTreeNode<SEMANTICS>&)’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree_node.h:39:7: error: ‘copyData’ is not a member of ‘octomap::ColorOcTreeNode’
ColorOcTreeNode::copyData(from);
^
In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6:0,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h: In instantiation of ‘octomap::SemanticsOcTree<SEMANTICS>::StaticMemberInitializer::StaticMemberInitializer() [with SEMANTICS = octomap::SemanticsMax]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:139:64: required from ‘octomap::SemanticsOcTreeoctomap::SemanticsMax::StaticMemberInitializer octomap::SemanticsOcTreeoctomap::SemanticsMax::semanticsOcTreeMemberInit’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:12:5: required from ‘octomap::SemanticsOcTree<SEMANTICS>::SemanticsOcTree(double) [with SEMANTICS = octomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:11:103: required from ‘OctomapGenerator<CLOUD, OCTREE>::OctomapGenerator() [with CLOUD = pcl::PointCloud<PointXYZRGBSemanticsMax>; OCTREE = octomap::SemanticsOcTreeoctomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:181:16: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:97:12: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘clearKeyRays’
tree->clearKeyRays();
^
In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:116:0,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘void octomap::SemanticsOcTree<SEMANTICS>::updateInnerOccupancyRecurs(octomap::SemanticsOcTreeNode<SEMANTICS>, unsigned int) [with SEMANTICS = octomap::SemanticsMax]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:116:5: required from ‘void octomap::SemanticsOcTree<SEMANTICS>::updateInnerOccupancy() [with SEMANTICS = octomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:90:5: required from ‘void OctomapGenerator<CLOUD, OCTREE>::insertPointCloud(const Ptr&, const Matrix4f&) [with CLOUD = pcl::PointCloud<PointXYZRGBSemanticsMax>; OCTREE = octomap::SemanticsOcTreeoctomap::SemanticsMax; pcl::PCLPointCloud2::Ptr = boost::shared_ptrpcl::PCLPointCloud2; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:181:16: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:122:5: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeHasChildren’
if (this->nodeHasChildren(node)){
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:126:11: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeChildExists’
if (this->nodeChildExists(node, i)) {
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:127:76: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
updateInnerOccupancyRecurs(this->getNodeChild(node, i), depth+1);
^
In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6:0,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h: In instantiation of ‘octomap::SemanticsOcTree<SEMANTICS>::StaticMemberInitializer::StaticMemberInitializer() [with SEMANTICS = octomap::SemanticsBayesian]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:139:64: required from ‘octomap::SemanticsOcTreeoctomap::SemanticsBayesian::StaticMemberInitializer octomap::SemanticsOcTreeoctomap::SemanticsBayesian::semanticsOcTreeMemberInit’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:12:5: required from ‘octomap::SemanticsOcTree<SEMANTICS>::SemanticsOcTree(double) [with SEMANTICS = octomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:11:103: required from ‘OctomapGenerator<CLOUD, OCTREE>::OctomapGenerator() [with CLOUD = pcl::PointCloud<PointXYZRGBSemanticsBayesian>; OCTREE = octomap::SemanticsOcTreeoctomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:16: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:97:12: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘clearKeyRays’
tree->clearKeyRays();
^
In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:116:0,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘void octomap::SemanticsOcTree<SEMANTICS>::updateInnerOccupancyRecurs(octomap::SemanticsOcTreeNode<SEMANTICS>, unsigned int) [with SEMANTICS = octomap::SemanticsBayesian]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:116:5: required from ‘void octomap::SemanticsOcTree<SEMANTICS>::updateInnerOccupancy() [with SEMANTICS = octomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:90:5: required from ‘void OctomapGenerator<CLOUD, OCTREE>::insertPointCloud(const Ptr&, const Matrix4f&) [with CLOUD = pcl::PointCloud<PointXYZRGBSemanticsBayesian>; OCTREE = octomap::SemanticsOcTreeoctomap::SemanticsBayesian; pcl::PCLPointCloud2::Ptr = boost::shared_ptrpcl::PCLPointCloud2; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:16: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:122:5: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘nodeHasChildren’
if (this->nodeHasChildren(node)){
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:126:11: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘nodeChildExists’
if (this->nodeChildExists(node, i)) {
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:127:76: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘getNodeChild’
updateInnerOccupancyRecurs(this->getNodeChild(node, i), depth+1);
^
In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:80:0,
from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OcTreeIterator.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::iterator_base::singleIncrement() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeIterator.hxx:228:11: required from ‘octomap::OcTreeBaseImpl<NODE, INTERFACE>::tree_iterator& octomap::OcTreeBaseImpl<NODE, INTERFACE>::tree_iterator::operator++() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:61:117: required from ‘void octomap::SemanticsOcTree<SEMANTICS>::setUseSemanticColor(bool) [with SEMANTICS = octomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:19:3: required from ‘void OctomapGenerator<CLOUD, OCTREE>::setUseSemanticColor(bool) [with CLOUD = pcl::PointCloud<PointXYZRGBSemanticsMax>; OCTREE = octomap::SemanticsOcTreeoctomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:181:16: required from here
/opt/ros/indigo/include/octomap/OcTreeIterator.hxx:173:20: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::OcTreeBaseImpl<octomap::SemanticsOcTreeNodeoctomap::SemanticsMax, octomap::AbstractOccupancyOcTree>::NodeType* {aka octomap::SemanticsOcTreeNodeoctomap::SemanticsMax}’ [-fpermissive]
s.node = top.node->getChild(i);
^
/opt/ros/indigo/include/octomap/OcTreeIterator.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::iterator_base::singleIncrement() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeIterator.hxx:228:11: required from ‘octomap::OcTreeBaseImpl<NODE, INTERFACE>::tree_iterator& octomap::OcTreeBaseImpl<NODE, INTERFACE>::tree_iterator::operator++() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:61:117: required from ‘void octomap::SemanticsOcTree<SEMANTICS>::setUseSemanticColor(bool) [with SEMANTICS = octomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:19:3: required from ‘void OctomapGenerator<CLOUD, OCTREE>::setUseSemanticColor(bool) [with CLOUD = pcl::PointCloud<PointXYZRGBSemanticsBayesian>; OCTREE = octomap::SemanticsOcTreeoctomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:16: required from here
/opt/ros/indigo/include/octomap/OcTreeIterator.hxx:173:20: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::OcTreeBaseImpl<octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian, octomap::AbstractOccupancyOcTree>::NodeType* {aka octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian}’ [-fpermissive]
In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE octomap::OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:319:88: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNode(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:346:46: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNode(const octomap::OcTreeKey&, bool, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:362:47: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNode(double, double, double, bool, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:77:11: required from ‘void OctomapGenerator<CLOUD, OCTREE>::insertPointCloud(const Ptr&, const Matrix4f&) [with CLOUD = pcl::PointCloud<PointXYZRGBSemanticsMax>; OCTREE = octomap::SemanticsOcTreeoctomap::SemanticsMax; pcl::PCLPointCloud2::Ptr = boost::shared_ptrpcl::PCLPointCloud2; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:181:16: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:394:108: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
return updateNodeRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_update, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:366:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
NODE* OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:396:116: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
NODE retval = updateNodeRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_update, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:366:9: note: initializing argument 1 of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
NODE* OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:319:88: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNode(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:346:46: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNode(const octomap::OcTreeKey&, bool, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:362:47: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNode(double, double, double, bool, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:77:11: required from ‘void OctomapGenerator<CLOUD, OCTREE>::insertPointCloud(const Ptr&, const Matrix4f&) [with CLOUD = pcl::PointCloud<PointXYZRGBSemanticsBayesian>; OCTREE = octomap::SemanticsOcTreeoctomap::SemanticsBayesian; pcl::PCLPointCloud2::Ptr = boost::shared_ptrpcl::PCLPointCloud2; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:16: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:394:108: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
return updateNodeRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_update, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:366:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
NODE* OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:396:116: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
NODE retval = updateNodeRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_update, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:366:9: note: initializing argument 1 of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
NODE* OccupancyOcTreeBase<NODE>::updateNodeRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:116:0,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree<SEMANTICS>::pruneNode(octomap::SemanticsOcTreeNode<SEMANTICS>) [with SEMANTICS = octomap::SemanticsBayesian]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:22:20: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘getNodeChild’
node->copyData((this->getNodeChild(node, 0)));
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:29:7: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘deleteNodeChild’
this->deleteNodeChild(node, i);
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree<SEMANTICS>::isNodeCollapsible(const octomap::SemanticsOcTreeNode<SEMANTICS>) const [with SEMANTICS = octomap::SemanticsBayesian]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:42:8: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘nodeChildExists’
if(!this->nodeChildExists(node, 0))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:44:82: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘getNodeChild’
const SemanticsOcTreeNode<SEMANTICS> firstChild = this->getNodeChild(node, 0);
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:45:5: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘nodeHasChildren’
if(this->nodeHasChildren(firstChild))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:51:16: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘getNodeChild’
|| !(this->getNodeChild(node, i)->getSemantics() == firstChild->getSemantics()))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:50:16: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘getNodeChild’
|| !(this->getNodeChild(node, i)->getValue() == firstChild->getValue())
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘nodeHasChildren’
if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘getNodeChild’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:11: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsBayesian’ has no member named ‘nodeChildExists’
if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree<SEMANTICS>::pruneNode(octomap::SemanticsOcTreeNode<SEMANTICS>) [with SEMANTICS = octomap::SemanticsMax]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:22:20: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
node->copyData((this->getNodeChild(node, 0)));
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:29:7: error: ‘class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘deleteNodeChild’
this->deleteNodeChild(node, i);
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree<SEMANTICS>::isNodeCollapsible(const octomap::SemanticsOcTreeNode<SEMANTICS>) const [with SEMANTICS = octomap::SemanticsMax]’:
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:42:8: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeChildExists’
if(!this->nodeChildExists(node, 0))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:44:82: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
const SemanticsOcTreeNode<SEMANTICS> firstChild = this->getNodeChild(node, 0);
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:45:5: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeHasChildren’
if(this->nodeHasChildren(firstChild))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:51:16: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
|| !(this->getNodeChild(node, i)->getSemantics() == firstChild->getSemantics()))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:50:16: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
|| !(this->getNodeChild(node, i)->getValue() == firstChild->getValue())
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeHasChildren’
if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i))
^
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘getNodeChild’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:11: error: ‘const class octomap::SemanticsOcTreeoctomap::SemanticsMax’ has no member named ‘nodeChildExists’
if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i))
^
In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0,
from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE*, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:409:51: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::prune() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:590:72: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
pruneRecurs(node->getChild(i), depth+1, max_depth, num_pruned);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:582:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’
void OcTreeBaseImpl<NODE,I>::pruneRecurs(NODE* node, unsigned int depth,
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE*, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:418:38: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expand() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:623:59: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
expandRecurs(node->getChild(i), depth+1, max_depth);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:607:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree]’
void OcTreeBaseImpl<NODE,I>::expandRecurs(NODE* node, unsigned int depth,
^
In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::ostream& octomap::OccupancyOcTreeBase<NODE>::writeBinaryNode(std::ostream&, const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; std::ostream = std::basic_ostream]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:958:7: required from ‘std::ostream& octomap::OccupancyOcTreeBase<NODE>::writeBinaryData(std::ostream&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; std::ostream = std::basic_ostream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1053:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
const NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1065:47: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
const NODE child = node->getChild(i+4);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1087:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
const NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::istream& octomap::OccupancyOcTreeBase<NODE>::readBinaryNode(std::istream&, NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; std::istream = std::basic_istream]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:948:5: required from ‘std::istream& octomap::OccupancyOcTreeBase<NODE>::readBinaryData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1022:39: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE*, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:533:49: required from ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihood() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:549:70: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
toMaxLikelihoodRecurs(node->getChild(i), depth+1, max_depth);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:541:8: note: initializing argument 1 of ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
void OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE* node, unsigned int depth,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: note: initializing argument 1 of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian]’
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0,
from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE*, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:409:51: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::prune() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:590:72: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
pruneRecurs(node->getChild(i), depth+1, max_depth, num_pruned);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:582:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’
void OcTreeBaseImpl<NODE,I>::pruneRecurs(NODE* node, unsigned int depth,
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE*, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:418:38: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expand() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:623:59: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
expandRecurs(node->getChild(i), depth+1, max_depth);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:607:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree]’
void OcTreeBaseImpl<NODE,I>::expandRecurs(NODE* node, unsigned int depth,
^
In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::ostream& octomap::OccupancyOcTreeBase<NODE>::writeBinaryNode(std::ostream&, const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; std::ostream = std::basic_ostream]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:958:7: required from ‘std::ostream& octomap::OccupancyOcTreeBase<NODE>::writeBinaryData(std::ostream&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; std::ostream = std::basic_ostream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1053:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
const NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1065:47: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
const NODE child = node->getChild(i+4);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1087:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
const NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::istream& octomap::OccupancyOcTreeBase<NODE>::readBinaryNode(std::istream&, NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; std::istream = std::basic_istream]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:948:5: required from ‘std::istream& octomap::OccupancyOcTreeBase<NODE>::readBinaryData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1022:39: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
NODE child = node->getChild(i);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE*, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:533:49: required from ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihood() [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:549:70: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
toMaxLikelihoodRecurs(node->getChild(i), depth+1, max_depth);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:541:8: note: initializing argument 1 of ‘void octomap::OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
void OccupancyOcTreeBase<NODE>::toMaxLikelihoodRecurs(NODE* node, unsigned int depth,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’:
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval);
^
/opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: note: initializing argument 1 of ‘NODE* octomap::OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE*, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax]’
NODE* OccupancyOcTreeBase<NODE>::setNodeValueRecurs(NODE* node, bool node_just_created, const OcTreeKey& key,
^
In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0,
from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44,
from /opt/ros/indigo/include/octomap/ColorOcTree.h:40,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6,
from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i));
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: note: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE* parent) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE*, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian’ [-fpermissive]
calcNumNodesRecurs(node->getChild(i), num_nodes);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsBayesian; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE* node, size_t& num_nodes) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE*) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode*’ to ‘const octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i));
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: note: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE* parent) const {
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE*, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’
/home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode*’ to ‘octomap::SemanticsOcTreeNodeoctomap::SemanticsMax’ [-fpermissive]
calcNumNodesRecurs(node->getChild(i), num_nodes);
^
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNodeoctomap::SemanticsMax; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’
void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE* node, size_t& num_nodes) const {