open-rmf / free_fleet

A free fleet management system.
Apache License 2.0
157 stars 65 forks source link

1 package had stderr output: rmf_traffic #56

Closed otomoov closed 3 years ago

otomoov commented 3 years ago

Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic

oto@moov:~/server_ws$ CXX=g++-8 colcon build --packages-select rmf_traffic
Starting >>> rmf_traffic
--- stderr: rmf_traffic                               
/home/oto/server_ws/src/rmf_core/rmf_traffic/src/rmf_traffic/schedule/Negotiation.cpp: In static member function ‘static rmf_utils::optional<rmf_traffic::schedule::Negotiation> rmf_traffic::schedule::Negotiation::make(std::shared_ptr<const rmf_traffic::schedule::Viewer>, std::vector<long unsigned int>)’:
/home/oto/server_ws/src/rmf_core/rmf_traffic/src/rmf_traffic/schedule/Negotiation.cpp:897:10: error: could not convert ‘negotiation’ from ‘rmf_traffic::schedule::Negotiation’ to ‘rmf_utils::optional<rmf_traffic::schedule::Negotiation> {aka std::optional<rmf_traffic::schedule::Negotiation>}’
   return negotiation;
          ^~~~~~~~~~~
make[2]: *** [CMakeFiles/rmf_traffic.dir/src/rmf_traffic/schedule/Negotiation.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/rmf_traffic.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< rmf_traffic [11.8s, exited with code 2]

Summary: 0 packages finished [12.0s]
  1 package failed: rmf_traffic
  1 package had stderr output: rmf_traffic
aaronchongth commented 3 years ago

Hello there, @otomoov !

Thanks for putting up the issue. There was a similar concern, https://github.com/osrf/free_fleet/issues/55, I would be patching in a fix for the documentation soon :D Stay tuned.

Meanwhile, let me know if you have any other questions.

aaronchongth commented 3 years ago

This branch contains a number of fixes and changes to the documentation to work with rmf_core packages, however they target at Ubuntu 20.04, ROS 1 Noetic and ROS 2 Foxy. The branch will be merged soon after some more testing, but it is usable for the most part.

otomoov commented 3 years ago

This branch contains a number of fixes and changes to the documentation to work with rmf_core packages, however they target at Ubuntu 20.04, ROS 1 Noetic and ROS 2 Foxy. The branch will be merged soon after some more testing, but it is usable for the most part.

@aaronchongth Thank you. I was able to colcon build rmf_traffic on Ubuntu 20.04.1 LTS

aaronchongth commented 3 years ago

Reopening, due to the branch not merged yet. I will close it after it has been tested and merged.