Closed domire8 closed 1 year ago
Update 1: if you include #include <pinocchio/container/boost-container-limits.hpp>
at the top of the source file (task_space_control_loop.cpp), the issue doesn't come up and the catkin_make succeeds
Update 2: If you include the same header in robot_model/Model.hpp, and not in task_space_control_loop.cpp, catkin_make fails again
Update 3: If you include the header in both robot_model/Model.hpp and task_space_control_loop.cpp, catkin_make succeeds. If however, the include comes after the #include <ros/ros.h>
catkin_make fails again.
wait. I have solve it
add this at your CMakeFile
find_package(Boost REQUIRED COMPONENTS system)
add_compile_definitions(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS)
add_compile_definitions(BOOST_MPL_LIMIT_LIST_SIZE=30)
@domire8 I have never created the issue because I have solved it and to solve it I did in my code and not in the one of control library.
@patr3 i'd prefer to solve it here, thats why I'm investigating it
@domire8 the following code in the CMakeFile.txt of the repository where you use the control library
find_package(Boost REQUIRED COMPONENTS system)
add_compile_definitions(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS)
add_compile_definitions(BOOST_MPL_LIMIT_LIST_SIZE=30)
look the following file: https://github.com/epfl-lasa/franka_ros_gazebo/blob/development/robot_gazebo/CMakeLists.txt
So as I was trying to have a ROS node publishing and subscribing for a demo, I ran into the same issue as @patr3 (the one he never created an issue for :smile:). I'm not gonna copy the whole error message, but it's (normally) easily reproducible when checking out
feature/ros-publisher-subscriber
and try to runrun-demo.sh
indemos/ros_examples
.I mark this as a bug because I think it's important we solve this issue in the near future.