Skip to content

Compilation error #74

Closed
Closed
@Nishanth-CNCPMC

Description

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]```

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions