Closed simk0024 closed 3 years ago
It appears you're trying to use features that are introduced in the latest master
branch, but you're building against an older version of rmf_core
, probably version 1.2. You'll need to build rmf_core
from source to use those features, instead of building your fleet adapter against the debian packages of the 21.01 release.
Hi @mxgrey,
Those errors encountered when I am compiling rmf_core
cloned from master
branch?
Which is the stable release version compatible with rmf_demos
and free_fleet
?
I follow the given instruction, but all have same issue when compiling the rnf_fleet_adapter
.
I think you should try uninstalling your ros-foxy-rmf-*
packages (sudo apt-get remove ros-foxy-rmf-*
). We've encountered issues in the past where colcon/cmake is selecting the ROS distro version of rmf_traffic
even though a version of it is in the workspace.
For reference, you can find the "missing" features here and here in the latest source code, so this is definitely a package version selection issue.
Alright. Thank you @mxgrey
Following error encountered while compiling rmf_core: rmf_core/rmf_fleet_adapter/src/rmf_fleet_adapter/agv/TrafficLight.cpp:268:14: error: ‘class rmf_traffic::blockade::Participant’ has no member named ‘cancel’ rmf_core/rmf_fleet_adapter/src/rmf_fleet_adapter/agv/parse_graph.cpp:119:14: error: ‘class rmf_traffic::agv::Graph::Waypoint’ has no member named ‘set_charger’