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

Compilation error #74

Closed
Nishanth-CNCPMC opened this issue Sep 15, 2024 · 3 comments
Closed

Compilation error #74

Nishanth-CNCPMC opened this issue Sep 15, 2024 · 3 comments

Comments

@Nishanth-CNCPMC
Copy link

Nishanth-CNCPMC commented Sep 15, 2024

When I try to compile the package it fails.

  155 |     if (curr_state == path.states[i].type && path.states[i].type == PathSectionType::SWATH) {
      |                            ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:155:51: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  155 |     if (curr_state == path.states[i].type && path.states[i].type == PathSectionType::SWATH) {
      |                                                   ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:158:35: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  158 |     } else if (curr_state == path.states[i].type && path.states[i].type == PathSectionType::TURN) {
      |                                   ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:158:58: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  158 |     } else if (curr_state == path.states[i].type && path.states[i].type == PathSectionType::TURN) {
      |                                                          ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:161:45: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  161 |       curr_turn->poses.push_back(toMsg(path.states[i]));
      |                                             ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:162:35: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  162 |     } else if (curr_state != path.states[i].type && path.states[i].type == PathSectionType::TURN) {
      |                                   ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:162:58: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  162 |     } else if (curr_state != path.states[i].type && path.states[i].type == PathSectionType::TURN) {
      |                                                          ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:167:30: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  167 |       swath.end = toMsg(path.states[i - 1].point);
      |                              ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:173:45: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  173 |       curr_turn->poses.push_back(toMsg(path.states[i]));
      |                                             ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:174:35: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  174 |     } else if (curr_state != path.states[i].type && path.states[i].type == PathSectionType::SWATH) {
      |                                   ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:174:58: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  174 |     } else if (curr_state != path.states[i].type && path.states[i].type == PathSectionType::SWATH) {
      |                                                          ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:177:31: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  177 |       curr_swath_start = path.states[i].point;
      |                               ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:180:23: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  180 |     curr_state = path.states[i].type;
      |                       ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:182:14: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  182 |     if (path.states[i].type != PathSectionType::SWATH &&
      |              ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:183:12: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  183 |       path.states[i].type != PathSectionType::TURN)
      |            ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:192:28: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  192 |     swath.end = toMsg(path.states.back().point);
      |                            ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘nav_msgs::msg::Path opennav_coverage::util::toNavPathMsg(const Path&, const F2CField&, const Header&, bool, const float&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:218:16: error: ‘const Path’ {aka ‘const struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  218 |   if (raw_path.states.size() == 0) {
      |                ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:229:38: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  229 |   for (unsigned int i = 0; i != path.states.size(); i++) {
      |                                      ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:231:23: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  231 |     if (i > 0 && path.states[i].type == PathSectionType::SWATH &&
      |                       ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:232:12: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  232 |       path.states[i - 1].type == PathSectionType::SWATH)
      |            ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:234:31: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  234 |       const float & x0 = path.states[i - 1].point.getX();
      |                               ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:235:31: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  235 |       const float & y0 = path.states[i - 1].point.getY();
      |                               ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:236:31: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  236 |       const float & x1 = path.states[i].point.getX();
      |                               ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:237:31: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  237 |       const float & y1 = path.states[i].point.getY();
      |                               ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:246:64: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  246 |         nav2_util::geometry_utils::orientationAroundZAxis(path.states[i].angle);
      |                                                                ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:249:35: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  249 |       pose.pose.position.z = path.states[i].point.getZ();
      |                                   ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/utils.hpp:259:38: error: ‘opennav_coverage::Path’ {aka ‘struct f2c::types::Path’} has no member named ‘states’; did you mean ‘std::vector<f2c::types::PathState> f2c::types::Path::states_’? (not accessible from this context)
  259 |       msg.poses.push_back(toMsg(path.states[i]));
      |                                      ^~~~~~
In file included from /usr/local/include/fields2cover/types.h:30,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Path.h:94:26: note: declared private here
   94 |   std::vector<PathState> states_;
      |                          ^~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/swath_generator.hpp:30,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:28,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp: In constructor ‘opennav_coverage::RobotParams::RobotParams(const NodeT&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp:47:12: error: ‘opennav_coverage::Robot’ {aka ‘struct f2c::types::Robot’} has no member named ‘robot_width’
   47 |     robot_.robot_width = node->get_parameter("robot_width").as_double();
      |            ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp:51:12: error: ‘opennav_coverage::Robot’ {aka ‘struct f2c::types::Robot’} has no member named ‘op_width’; did you mean ‘cov_width_’?
   51 |     robot_.op_width = node->get_parameter("operation_width").as_double();
      |            ^~~~~~~~
      |            cov_width_
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp:55:12: error: ‘opennav_coverage::Robot’ {aka ‘struct f2c::types::Robot’} has no member named ‘setMinRadius’
   55 |     robot_.setMinRadius(node->get_parameter("min_turning_radius").as_double());
      |            ^~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp:59:12: error: ‘opennav_coverage::Robot’ {aka ‘struct f2c::types::Robot’} has no member named ‘linear_curv_change’; did you mean ‘linear_curv_change_’?
   59 |     robot_.linear_curv_change = node->get_parameter("linear_curv_change").as_double();
      |            ^~~~~~~~~~~~~~~~~~
      |            linear_curv_change_
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp: In member function ‘double opennav_coverage::RobotParams::getWidth()’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp:68:19: error: ‘opennav_coverage::Robot’ {aka ‘struct f2c::types::Robot’} has no member named ‘robot_width’
   68 |     return robot_.robot_width;
      |                   ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp: In member function ‘double opennav_coverage::RobotParams::getOperationWidth()’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp:77:19: error: ‘opennav_coverage::Robot’ {aka ‘struct f2c::types::Robot’} has no member named ‘op_width’; did you mean ‘double f2c::types::Robot::cov_width_’? (not accessible from this context)
   77 |     return robot_.op_width;
      |                   ^~~~~~~~
In file included from /usr/local/include/fields2cover/types.h:31,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Robot.h:66:10: note: declared private here
   66 |   double cov_width_ {0.0};
      |          ^~~~~~~~~~
gmake[2]: *** [CMakeFiles/opennav_coverage_core.dir/build.make:104: CMakeFiles/opennav_coverage_core.dir/src/swath_generator.cpp.o] Error 1
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp: In member function ‘void opennav_coverage::CoverageServer::computeCoveragePath()’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:178:31: error: ‘using F2CField = struct f2c::types::Field’ {aka ‘struct f2c::types::Field’} has no member named ‘coord_sys’; did you mean ‘std::string f2c::types::Field::coord_sys_’? (not accessible from this context)
  178 |       frame_id = master_field.coord_sys;
      |                               ^~~~~~~~~
In file included from /usr/local/include/fields2cover/types.h:24,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Field.h:69:15: note: declared private here
   69 |   std::string coord_sys_ {""};
      |               ^~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:188:26: error: ‘using F2CField = struct f2c::types::Field’ {aka ‘struct f2c::types::Field’} has no member named ‘field’; did you mean ‘Field’?
  188 |     field = master_field.field.getGeometry(0);
      |                          ^~~~~
      |                          Field
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp: In member function ‘rcl_interfaces::msg::SetParametersResult opennav_coverage::CoverageServer::dynamicParametersCallback(std::vector<rclcpp::Parameter>)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:272:15: error: ‘struct f2c::types::Robot’ has no member named ‘robot_width’
  272 |         robot.robot_width = parameter.as_double();
      |               ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:275:15: error: ‘struct f2c::types::Robot’ has no member named ‘op_width’; did you mean ‘double f2c::types::Robot::cov_width_’? (not accessible from this context)
  275 |         robot.op_width = parameter.as_double();
      |               ^~~~~~~~
In file included from /usr/local/include/fields2cover/types.h:31,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Robot.h:66:10: note: declared private here
   66 |   double cov_width_ {0.0};
      |          ^~~~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/swath_generator.hpp:30,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:28,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp: In instantiation of ‘opennav_coverage::RobotParams::RobotParams(const NodeT&) [with NodeT = std::shared_ptr<nav2_util::LifecycleNode>]’:
/usr/include/c++/11/bits/unique_ptr.h:962:30:   required from ‘typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = opennav_coverage::RobotParams; _Args = {std::shared_ptr<nav2_util::LifecycleNode>&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<opennav_coverage::RobotParams>]’
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:36:48:   required from here
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp:51:12: error: ‘double f2c::types::Robot::cov_width_’ is private within this context
   51 |     robot_.op_width = node->get_parameter("operation_width").as_double();
      |            ^~~~~~~~
In file included from /usr/local/include/fields2cover/types.h:31,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Robot.h:66:10: note: declared private here
   66 |   double cov_width_ {0.0};
      |          ^~~~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/swath_generator.hpp:30,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:28,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/robot_params.hpp:59:12: error: ‘double f2c::types::Robot::linear_curv_change_’ is private within this context
   59 |     robot_.linear_curv_change = node->get_parameter("linear_curv_change").as_double();
      |            ^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/fields2cover/types.h:31,
                 from /usr/local/include/fields2cover.h:11,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/include/opennav_coverage/coverage_server.hpp:21,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage-iron/opennav_coverage/src/coverage_server.cpp:15:
/usr/local/include/fields2cover/types/Robot.h:75:10: note: declared private here
   75 |   double linear_curv_change_ {0.3};  // [1/m^2]
      |          ^~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/opennav_coverage_core.dir/build.make:76: CMakeFiles/opennav_coverage_core.dir/src/coverage_server.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:188: CMakeFiles/opennav_coverage_core.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< opennav_coverage [31.1s, exited with code 2]```
@SteveMacenski
Copy link
Member

We support F2C v1, not v2 in this project currently. See ##53

@Nishanth-CNCPMC
Copy link
Author

Where exactly do I download F2C v1? I am new to this. Any help would be appreciated!

@Nishanth-CNCPMC
Copy link
Author

Nishanth-CNCPMC commented Sep 15, 2024

I tried exploring that. I did not understand what is happening there. I did notice the releases and there were two releases (v1.2.1 and v1.2.0) in F2C Github repo. I downloaded the previous one. I still get this error but not a lot this time like before:


--- stderr: Fields2Cover                                                                                                                      
/home/ubuntu/ros2_ws/build/Fields2Cover/_deps/tinyxml2-src/xmltest.cpp: In function ‘int main(int, const char**)’:
/home/ubuntu/ros2_ws/build/Fields2Cover/_deps/tinyxml2-src/xmltest.cpp:711:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  711 |                                 fgets( savedBuf, 256, saved );
      |                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/build/Fields2Cover/_deps/tinyxml2-src/xmltest.cpp:1195:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1195 |                         fgets( buf, 1024, textfile );
      |                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
---
Finished <<< Fields2Cover [21.2s]
--- stderr: opennav_coverage                                                                                
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/visualizer.hpp:25,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/visualizer.cpp:19:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Swaths&, const F2CField&, bool, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:100:30: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  100 |     swaths = f2c::Transform::transformToPrevCRS(raw_swaths, field);
      |                              ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:12: error: ‘opennav_coverage::Swaths’ {aka ‘struct f2c::types::Swaths’} has no member named ‘moveTo’
  102 |     swaths.moveTo(field.getRefPoint());
      |            ^~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:25: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  102 |     swaths.moveTo(field.getRefPoint());
      |                         ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Path&, const F2CField&, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:140:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  140 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:142:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  142 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘nav_msgs::msg::Path opennav_coverage::util::toNavPathMsg(const Path&, const F2CField&, const Header&, bool, const float&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:224:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  224 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:226:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  226 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/route_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/route_generator.cpp:18:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Swaths&, const F2CField&, bool, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:100:30: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  100 |     swaths = f2c::Transform::transformToPrevCRS(raw_swaths, field);
      |                              ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:12: error: ‘opennav_coverage::Swaths’ {aka ‘struct f2c::types::Swaths’} has no member named ‘moveTo’
  102 |     swaths.moveTo(field.getRefPoint());
      |            ^~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:25: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  102 |     swaths.moveTo(field.getRefPoint());
      |                         ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Path&, const F2CField&, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:140:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  140 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:142:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  142 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘nav_msgs::msg::Path opennav_coverage::util::toNavPathMsg(const Path&, const F2CField&, const Header&, bool, const float&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:224:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  224 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:226:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  226 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/path_generator.hpp:28,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/path_generator.cpp:18:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Swaths&, const F2CField&, bool, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:100:30: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  100 |     swaths = f2c::Transform::transformToPrevCRS(raw_swaths, field);
      |                              ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:12: error: ‘opennav_coverage::Swaths’ {aka ‘struct f2c::types::Swaths’} has no member named ‘moveTo’
  102 |     swaths.moveTo(field.getRefPoint());
      |            ^~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:25: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  102 |     swaths.moveTo(field.getRefPoint());
      |                         ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Path&, const F2CField&, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:140:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  140 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:142:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  142 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘nav_msgs::msg::Path opennav_coverage::util::toNavPathMsg(const Path&, const F2CField&, const Header&, bool, const float&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:224:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  224 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:226:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  226 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/headland_generator.cpp:18:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Swaths&, const F2CField&, bool, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:100:30: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  100 |     swaths = f2c::Transform::transformToPrevCRS(raw_swaths, field);
      |                              ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:12: error: ‘opennav_coverage::Swaths’ {aka ‘struct f2c::types::Swaths’} has no member named ‘moveTo’
  102 |     swaths.moveTo(field.getRefPoint());
      |            ^~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:25: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  102 |     swaths.moveTo(field.getRefPoint());
      |                         ^~~~~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/swath_generator.hpp:28,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/swath_generator.cpp:18:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Swaths&, const F2CField&, bool, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:100:30: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  100 |     swaths = f2c::Transform::transformToPrevCRS(raw_swaths, field);
      |                              ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:12: error: ‘opennav_coverage::Swaths’ {aka ‘struct f2c::types::Swaths’} has no member named ‘moveTo’
  102 |     swaths.moveTo(field.getRefPoint());
      |            ^~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Path&, const F2CField&, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:140:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  140 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:25: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  102 |     swaths.moveTo(field.getRefPoint());
      |                         ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:142:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  142 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Path&, const F2CField&, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:140:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  140 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:142:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  142 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘nav_msgs::msg::Path opennav_coverage::util::toNavPathMsg(const Path&, const F2CField&, const Header&, bool, const float&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:224:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  224 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:226:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  226 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘nav_msgs::msg::Path opennav_coverage::util::toNavPathMsg(const Path&, const F2CField&, const Header&, bool, const float&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:224:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  224 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:226:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  226 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/swath_generator.cpp: In member function ‘opennav_coverage::Swaths opennav_coverage::SwathGenerator::generateSwaths(const Field&, const SwathMode&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/swath_generator.cpp:48:15: error: ‘class f2c::sg::BruteForce’ has no member named ‘setAllowOverlap’
   48 |   generator_->setAllowOverlap(default_allow_overlap_);
      |               ^~~~~~~~~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/headland_generator.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/coverage_server.hpp:27,
                 from /home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/coverage_server.cpp:15:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Swaths&, const F2CField&, bool, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:100:30: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  100 |     swaths = f2c::Transform::transformToPrevCRS(raw_swaths, field);
      |                              ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:12: error: ‘opennav_coverage::Swaths’ {aka ‘struct f2c::types::Swaths’} has no member named ‘moveTo’
  102 |     swaths.moveTo(field.getRefPoint());
      |            ^~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:102:25: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  102 |     swaths.moveTo(field.getRefPoint());
      |                         ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘opennav_coverage_msgs::msg::PathComponents opennav_coverage::util::toCoveragePathMsg(const Path&, const F2CField&, const Header&, bool)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:140:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  140 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:142:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  142 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp: In function ‘nav_msgs::msg::Path opennav_coverage::util::toNavPathMsg(const Path&, const F2CField&, const Header&, bool, const float&)’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:224:28: error: ‘transformToPrevCRS’ is not a member of ‘f2c::Transform’
  224 |     path = f2c::Transform::transformToPrevCRS(raw_path, field);
      |                            ^~~~~~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/include/opennav_coverage/utils.hpp:226:23: error: ‘const F2CField’ {aka ‘const struct f2c::types::Field’} has no member named ‘getRefPoint’
  226 |     path.moveTo(field.getRefPoint());
      |                       ^~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/coverage_server.cpp: In member function ‘void opennav_coverage::CoverageServer::computeCoveragePath()’:
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/coverage_server.cpp:177:35: error: ‘importFieldGml’ is not a member of ‘f2c::Parser’
  177 |       master_field = f2c::Parser::importFieldGml(goal->gml_field, true);
      |                                   ^~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/coverage_server.cpp:181:20: error: ‘using F2CField = struct f2c::types::Field’ {aka ‘struct f2c::types::Field’} has no member named ‘setCRS’
  181 |       master_field.setCRS(goal->frame_id);
      |                    ^~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/coverage_server.cpp:186:23: error: ‘transformToUTM’ is not a member of ‘f2c::Transform’
  186 |       f2c::Transform::transformToUTM(master_field);
      |                       ^~~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/opennav_coverage/opennav_coverage/src/coverage_server.cpp:234:46: error: ‘using F2CField = struct f2c::types::Field’ {aka ‘struct f2c::types::Field’} has no member named ‘getRefPoint’
  234 |       field, field_no_headland, master_field.getRefPoint(),
      |                                              ^~~~~~~~~~~
gmake[2]: *** [CMakeFiles/opennav_coverage_core.dir/build.make:118: CMakeFiles/opennav_coverage_core.dir/src/route_generator.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/opennav_coverage_core.dir/build.make:90: CMakeFiles/opennav_coverage_core.dir/src/headland_generator.cpp.o] Error 1
gmake[2]: *** [CMakeFiles/opennav_coverage_core.dir/build.make:132: CMakeFiles/opennav_coverage_core.dir/src/path_generator.cpp.o] Error 1
gmake[2]: *** [CMakeFiles/opennav_coverage_core.dir/build.make:146: CMakeFiles/opennav_coverage_core.dir/src/visualizer.cpp.o] Error 1
gmake[2]: *** [CMakeFiles/opennav_coverage_core.dir/build.make:104: CMakeFiles/opennav_coverage_core.dir/src/swath_generator.cpp.o] Error 1
gmake[2]: *** [CMakeFiles/opennav_coverage_core.dir/build.make:76: CMakeFiles/opennav_coverage_core.dir/src/coverage_server.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:188: CMakeFiles/opennav_coverage_core.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< opennav_coverage [14.4s, exited with code 2]
Aborted  <<< opennav_coverage_bt [27.5s]                              

Summary: 7 packages finished [38.5s]
  1 package failed: opennav_coverage
  1 package aborted: opennav_coverage_bt


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

No branches or pull requests

2 participants