Closed alexchua0108 closed 3 years ago
Hi Alex,
I am unable to reproduce the build error. Can you do a clean build of your workspace?
cd ~/rmf_demos_ws
rm -rf build/ install/ log/
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
If you pulled the latest rmf_core
in an existing workspace, you will have to rebuild the rmf_traffic
package as the set_wapoint()
and is_charger()
methods were added to rmf_traffic::agv::Graph::Waypoint
following this PR. Doing a clean build as suggested above should solve the problem.
@alexchua0108 Do you happen to have an old version of the ros-<distro>-rmf-traffic
Debian package installed? We've seen cases where the distro-installed version of the package will be selected by cmake instead of the workspace version of the package, and that can cause this kind of build issue.
We haven't figured out the cause of this build system bug yet, but an easy way to circumvent it for now would be to uninstall the Debian packages for RMF.
Hi @Yadunund @mxgrey
Thanks for the help.
It is exactly like what @mxgrey had mentioned. I have an old version of the rmf-traffic Debian package that I install in November 2020.
After I do this:
sudo apt-get remove ros-foxy-rmf*
It successfully complies
Hi team,
Describe the bug When I trying to build the rmf_demo, it shows there is a compilation issue as below:
Workspace information:
rmf_demos
branch or commit hash: master branchrmf_core
branch or commit hash: Master branch, commit hash=28542c3rmf_schedule_visualizaer
branch or commit hash: master branchtraffic_editor
branch or commit hash: master branchSteps to Reproduce
Temp Fixed I had commented out line114 to 120 from rmf_core/rmf_fleet_adapter/src/rmf_fleet_adapter/agv/parse_graph.cpp and it compiles