Closed Avisheet closed 8 months ago
After cloning the rmf_obstacle_detectors and then while building it , HumanDetector.cpp was giving the following errors:
error: ‘std::tuple_element<0, std::pair<rmf_obstacle_msgs::msg::Obstacles_<std::allocator<void> >, sensor_msgs::msg::Image_<std::allocator<void> > > >::type’ {aka ‘struct rmf_obstacle_msgs::msg::Obstacles_<std::allocator<void> >’} has no member named ‘header’ 108 | rmf_obstacles.header.stamp = this->get_clock()->now(); | ^~~~ /home/avisheet/opem-rmf_ws/src/rmf_obstacle_detectors/rmf_human_detector/src/HumanDetector.cpp:109:21: error: ‘std::tuple_element<0, std::pair<rmf_obstacle_msgs::msg::Obstacles_<std::allocator<void> >, sensor_msgs::msg::Image_<std::allocator<void> > > >::type’ {aka ‘struct rmf_obstacle_msgs::msg::Obstacles_<std::allocator<void> >’} has no member named ‘header’ 109 | rmf_obstacles.header.frame_id = _data->_camera_name;
Please make sure to pull the latest main on rmf_internal_msgs and rebuild. See https://github.com/open-rmf/rmf_internal_msgs/pull/55
main
rmf_internal_msgs
After cloning the rmf_obstacle_detectors and then while building it , HumanDetector.cpp was giving the following errors: