Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line 108 and 109 of HumanDetector.cpp were giving colcon build error #18

Closed
wants to merge 1 commit into from

Conversation

Avisheet
Copy link
Contributor

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;

@Yadunund
Copy link
Member

Please make sure to pull the latest main on rmf_internal_msgs and rebuild. See open-rmf/rmf_internal_msgs#55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants