ros1_bridge
ros1_bridge copied to clipboard
Array Type Incompatibility Issue
Generated by Generative AI
No response
Operating System:
Linux rongman 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
ROS version or commit hash:
foxy
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
No response
'ros2 doctor --report' output
ros2 doctor --report
<COPY OUTPUT HERE>
Steps to reproduce issue
ros1 and ros2 srv are same SetLEDMode.srv:
uint8 mode
uint8[3] color1
uint8[3] color2
uint8[3] color3
uint8[3] color4
uint8[3] color5
uint8[3] color6
uint8[3] color7
uint8[3] color8
uint8[3] color9
uint8[3] color10
---
bool success
Expected behavior
build success.
Actual behavior
Building ROS2 packages...
ROS_DISTRO was set to 'noetic' before. Please make sure that the environment does not mix paths from different distributions.
Starting >>> kuavo_msgs
Finished <<< kuavo_msgs [28.0s]
Summary: 1 package finished [28.1s]
Building bridge...
ROS_DISTRO was set to 'foxy' before. Please make sure that the environment does not mix paths from different distributions.
ROS_DISTRO was set to 'noetic' before. Please make sure that the environment does not mix paths from different distributions.
ROS_DISTRO was set to 'foxy' before. Please make sure that the environment does not mix paths from different distributions.
Starting >>> ros1_bridge
[Processing: ros1_bridge]
[Processing: ros1_bridge]
--- stderr: ros1_bridge
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp: In member function ‘void ros1_bridge::ServiceFactory<ROS1_T, ROS2_T>::translate_1_to_2(const ROS1Request&, ros1_bridge::ServiceFactory<ROS1_T, ROS2_T>::ROS2Request&) [with ROS1_T = kuavo_msgs::SetLEDMode; ROS2_T = kuavo_msgs::srv::SetLEDMode; ros1_bridge::ServiceFactory<ROS1_T, ROS2_T>::ROS1Request = kuavo_msgs::SetLEDModeRequest_<std::allocator<void> >; ros1_bridge::ServiceFactory<ROS1_T, ROS2_T>::ROS2Request = kuavo_msgs::srv::SetLEDMode_Request_<std::allocator<void> >]’:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:65:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
65 | color12 = color11;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:68:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
68 | color22 = color21;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:71:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
71 | color32 = color31;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:74:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
74 | color42 = color41;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:77:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
77 | color52 = color51;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:80:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
80 | color62 = color61;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:83:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
83 | color72 = color71;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:86:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
86 | color82 = color81;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:89:13: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
89 | color92 = color91;
| ^~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:92:14: error: no match for ‘operator=’ (operand types are ‘std::array<unsigned char, 3>’ and ‘const boost::array<unsigned char, 3>’)
92 | color102 = color101;
| ^~~~~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:3,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(const std::array<unsigned char, 3>&)’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘const std::array<unsigned char, 3>&’
/usr/include/c++/9/array:94:12: note: candidate: ‘constexpr std::array<unsigned char, 3>& std::array<unsigned char, 3>::operator=(std::array<unsigned char, 3>&&)’
/usr/include/c++/9/array:94:12: note: no known conversion for argument 1 from ‘const boost::array<unsigned char, 3>’ to ‘std::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp: In member function ‘void ros1_bridge::ServiceFactory<ROS1_T, ROS2_T>::translate_2_to_1(const ROS2Request&, ros1_bridge::ServiceFactory<ROS1_T, ROS2_T>::ROS1Request&) [with ROS1_T = kuavo_msgs::SetLEDMode; ROS2_T = kuavo_msgs::srv::SetLEDMode; ros1_bridge::ServiceFactory<ROS1_T, ROS2_T>::ROS2Request = kuavo_msgs::srv::SetLEDMode_Request_<std::allocator<void> >; ros1_bridge::ServiceFactory<ROS1_T, ROS2_T>::ROS1Request = kuavo_msgs::SetLEDModeRequest_<std::allocator<void> >]’:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:121:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
121 | color11 = color12;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:121:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
121 | color11 = color12;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:124:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
124 | color21 = color22;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:124:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
124 | color21 = color22;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:127:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
127 | color31 = color32;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:127:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
127 | color31 = color32;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:130:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
130 | color41 = color42;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:130:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
130 | color41 = color42;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:133:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
133 | color51 = color52;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:133:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
133 | color51 = color52;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:136:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
136 | color61 = color62;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:136:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
136 | color61 = color62;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:139:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
139 | color71 = color72;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:139:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
139 | color71 = color72;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:142:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
142 | color81 = color82;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:142:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
142 | color81 = color82;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:145:13: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
145 | color91 = color92;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:145:13: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
145 | color91 = color92;
| ^~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:148:14: error: no match for ‘operator=’ (operand types are ‘boost::array<unsigned char, 3>’ and ‘const std::array<unsigned char, 3>’)
148 | color101 = color102;
| ^~~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:172:21: note: candidate: ‘template<class T2> boost::array<T, N>& boost::array<T, N>::operator=(const boost::array<T2, N>&) [with T2 = T2; T = unsigned char; long unsigned int N = 3]’
172 | array<T,N>& operator= (const array<T2,N>& rhs) {
| ^~~~~~~~
/usr/include/boost/array.hpp:172:21: note: template argument deduction/substitution failed:
/root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:148:14: note: ‘const std::array<unsigned char, 3>’ is not derived from ‘const boost::array<T2, 3>’
148 | color101 = color102;
| ^~~~~~~~
In file included from /opt/ros/noetic/include/ros/message.h:38,
from /root/kuavo_bridge_ws/bridge_ws/src/ros1_bridge/include/ros1_bridge/factory.hpp:27,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs_factories.hpp:6,
from /root/kuavo_bridge_ws/bridge_ws/build/ros1_bridge/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp:3:
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(const boost::array<unsigned char, 3>&)’
61 | class array {
| ^~~~~
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘const boost::array<unsigned char, 3>&’
/usr/include/boost/array.hpp:61:11: note: candidate: ‘constexpr boost::array<unsigned char, 3>& boost::array<unsigned char, 3>::operator=(boost::array<unsigned char, 3>&&)’
/usr/include/boost/array.hpp:61:11: note: no known conversion for argument 1 from ‘const std::array<unsigned char, 3>’ to ‘boost::array<unsigned char, 3>&&’
make[2]: *** [CMakeFiles/ros1_bridge.dir/build.make:2496: CMakeFiles/ros1_bridge.dir/generated/kuavo_msgs__srv__SetLEDMode__factories.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:260: CMakeFiles/ros1_bridge.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed <<< ros1_bridge [ Exited with code 2 ]
Summary: 0 packages finished [1min 2s]
1 package failed: ros1_bridge
1 package had stderr output: ros1_bridge
Additional information
No response