-
Notifications
You must be signed in to change notification settings - Fork 69
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
Build Error #147
Comments
Hi, as it is, it is not clear what is happening as the formatting of your ticket is wrong. I invite you to use the templates for bugs if you think this is a bug, in order to make it more explicit. Consider that you have to be able to provide informations for other developers to reproduce your bug. Also, you should never build a workspace that you sourced, just as suggest the warning. I would advice you to close that ticket and open a proper one |
Hi @PVijayaGanesh! Thanks for reporting this, I've managed to reproduce the build error, will look into it soon. As @tomkimsour mentioned, it makes it rather difficult to read logs if it's pasted in this manner, in the future, either use a code block
or use a link to a https://gist.github.com/ |
Hi Actually i solved like i build other humble installed linux system and transfer to the files my system and i solved.. |
@PVijayaGanesh I've already pushed the single-line update via #150 Assuming you've already set up your map with For some more background information, the We are currently working on #145, which is a newer iteration that supports the latest releases of Open-RMF, and moving away from DDS as the middleware between robot and server. I'll be closing this ticket as the build issue has been fixed. |
Thank you @aaronchongth . It helps me a lot |
Hi @aaronchongth command 1: ros2 launch ff_examples_ros2 turtlebot3_world_ff.launch.xml rviz is opened wih the map and paths but robots are not comming... [full_control-13] [ERROR] [1729060041.004614301] [turtlebot3_fleet_adapter]: Unable to compute a StartSet for robot [ros2_tb3_0] using level_name [] and location [0.000000, 0.000000, -1.894938] specified in its RobotState message. This can happen if the level_name in the RobotState message does not match any of the map names in the navigation graph supplied or if the location reported in the RobotState message is far way from the navigation graph. This robot will not be added to the fleet [turtlebot3]. The following hint may help with debugging: None of the waypoints in the graph are on a map called []. please help me @aaronchongth @tomkimsour |
Before proceeding, is there an existing issue or discussion for this?
Description
Ubuntu 22
ROS Distro : Humble
package : free_fleet
Issue :
aimavericks@aimavericks:~/ros2_free_fleet_ws$ colcon build
[0.298s] colcon.colcon_core.package_selection WARNING Some selected packages are already built in one or more underlay workspaces:
'free_fleet' is in: /home/aimavericks/ros2_rmf_ws/install/free_fleet
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.
If you understand the risks and want to override a package anyways, add the following to the command line:
--allow-overriding free_fleet
This may be promoted to an error in a future release of colcon-override-check.
Starting >>> free_fleet
--- stderr: free_fleet
In file included from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:32,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.cpp:18:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp: In instantiation of ‘class free_fleet::dds::DDSSubscribeHandler<FreeFleetData_ModeRequest>’:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:52:56: required from here
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp:46:55: error: ‘free_fleet::dds::DDSSubscribeHandler<Message, MaxSamplesNum>::shared_msgs’ has incomplete type
46 | std::array<std::shared_ptr, MaxSamplesNum> shared_msgs;
| ^~~~~~~~~~~
In file included from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ServerImpl.hpp:32,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ServerImpl.cpp:18:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp: In instantiation of ‘class free_fleet::dds::DDSSubscribeHandler<FreeFleetData_RobotState, 10>’:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ServerImpl.hpp:47:59: required from here
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp:46:55: error: ‘free_fleet::dds::DDSSubscribeHandler<Message, MaxSamplesNum>::shared_msgs’ has incomplete type
46 | std::array<std::shared_ptr, MaxSamplesNum> shared_msgs;
| ^~~~~~~~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:36,
from /usr/include/c++/12/memory:75,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/include/free_fleet/Client.hpp:21,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:25:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::shared_ptr<FreeFleetData_ModeRequest>, 1>’
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:36,
from /usr/include/c++/12/memory:75,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/include/free_fleet/Server.hpp:21,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ServerImpl.hpp:25:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::shared_ptr<FreeFleetData_RobotState>, 10>’
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
In file included from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ServerImpl.hpp:32,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/Server.cpp:22:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp: In instantiation of ‘class free_fleet::dds::DDSSubscribeHandler<FreeFleetData_RobotState, 10>’:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ServerImpl.hpp:47:59: required from here
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp:46:55: error: ‘free_fleet::dds::DDSSubscribeHandler<Message, MaxSamplesNum>::shared_msgs’ has incomplete type
46 | std::array<std::shared_ptr, MaxSamplesNum> shared_msgs;
| ^~~~~~~~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:36,
from /usr/include/c++/12/memory:75,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/include/free_fleet/Server.hpp:21,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/Server.cpp:20:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::shared_ptr<FreeFleetData_RobotState>, 10>’
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
In file included from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:32,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/Client.cpp:22:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp: In instantiation of ‘class free_fleet::dds::DDSSubscribeHandler<FreeFleetData_ModeRequest>’:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:52:56: required from here
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp:46:55: error: ‘free_fleet::dds::DDSSubscribeHandler<Message, MaxSamplesNum>::shared_msgs’ has incomplete type
46 | std::array<std::shared_ptr, MaxSamplesNum> shared_msgs;
| ^~~~~~~~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:36,
from /usr/include/c++/12/memory:75,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/include/free_fleet/Client.hpp:21,
from /home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/Client.cpp:20:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::shared_ptr<FreeFleetData_ModeRequest>, 1>’
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp: In instantiation of ‘class free_fleet::dds::DDSSubscribeHandler<FreeFleetData_PathRequest>’:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:56:56: required from here
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp:46:55: error: ‘free_fleet::dds::DDSSubscribeHandler<Message, MaxSamplesNum>::shared_msgs’ has incomplete type
46 | std::array<std::shared_ptr, MaxSamplesNum> shared_msgs;
| ^~~~~~~~~~~
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::shared_ptr<FreeFleetData_PathRequest>, 1>’
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp: In instantiation of ‘class free_fleet::dds::DDSSubscribeHandler<FreeFleetData_PathRequest>’:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:56:56: required from here
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp:46:55: error: ‘free_fleet::dds::DDSSubscribeHandler<Message, MaxSamplesNum>::shared_msgs’ has incomplete type
46 | std::array<std::shared_ptr, MaxSamplesNum> shared_msgs;
| ^~~~~~~~~~~
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::shared_ptr<FreeFleetData_PathRequest>, 1>’
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp: In instantiation of ‘class free_fleet::dds::DDSSubscribeHandler<FreeFleetData_DestinationRequest>’:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:60:63: required from here
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp:46:55: error: ‘free_fleet::dds::DDSSubscribeHandler<Message, MaxSamplesNum>::shared_msgs’ has incomplete type
46 | std::array<std::shared_ptr, MaxSamplesNum> shared_msgs;
| ^~~~~~~~~~~
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::shared_ptr<FreeFleetData_DestinationRequest>, 1>’
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp: In instantiation of ‘class free_fleet::dds::DDSSubscribeHandler<FreeFleetData_DestinationRequest>’:
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/ClientImpl.hpp:60:63: required from here
/home/aimavericks/ros2_free_fleet_ws/src/free_fleet/free_fleet/src/dds_utils/DDSSubscribeHandler.hpp:46:55: error: ‘free_fleet::dds::DDSSubscribeHandler<Message, MaxSamplesNum>::shared_msgs’ has incomplete type
46 | std::array<std::shared_ptr, MaxSamplesNum> shared_msgs;
| ^~~~~~~~~~~
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::shared_ptr<FreeFleetData_DestinationRequest>, 1>’
1595 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
gmake[2]: *** [CMakeFiles/free_fleet.dir/build.make:76: CMakeFiles/free_fleet.dir/src/Client.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/free_fleet.dir/build.make:118: CMakeFiles/free_fleet.dir/src/Server.cpp.o] Error 1
gmake[2]: *** [CMakeFiles/free_fleet.dir/build.make:90: CMakeFiles/free_fleet.dir/src/ClientImpl.cpp.o] Error 1
gmake[2]: *** [CMakeFiles/free_fleet.dir/build.make:132: CMakeFiles/free_fleet.dir/src/ServerImpl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:93: CMakeFiles/free_fleet.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
Failed <<< free_fleet [0.46s, exited with code 2]
Summary: 0 packages finished [0.74s]
1 package failed: free_fleet
1 package had stderr output: free_fleet
6 packages not processed
What might be the solution. I didn't the solution in any where. @arjo129
please help me with this/....
The text was updated successfully, but these errors were encountered: