intel x86 및 humble에서 빌드 오류 문의 > STELLA_N1_Forum

본문 바로가기
사이트 내 전체검색

STELLA_N1_Forum

intel x86 및 humble에서 빌드 오류 문의

페이지 정보

profile_image
작성자 엠디
댓글 1건 조회 338회 작성일 24-04-09 12:16

본문

STELLA N1 SBC 버전: nuc12 (intel i7)

REMOTE PC 버전: nuc12 (intel i7)

ROS 버전: humble

stella_n1_n2_x4_ros_v2.0 을 사용하여 sbc를 intel nuc12로 셋업중입니다.
빌드 중에 오류가 나서 문의드립니다.

stella_md : 라이브러리가 aarch64용이라서 그런 것 같은데 x86용은 없는지요?

ydlidar와 stella_ahrs도 빌드 중 에러가 납니다. foxy에서만 사용 가능한가요?







/opt/ros/humble/include/rclcpp/rclcpp/node.hpp:391:3: note: candidate: ‘const rclcpp::ParameterValue& rclcpp::Node::declare_parameter(const string&, rclcpp::ParameterType, const ParameterDescriptor&, bool)’
  391 |  declare_parameter(
      |  ^~~~~~~~~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/node.hpp:391:3: note:  candidate expects 4 arguments, 1 provided
/home/nuc12kim/source/stella/STELLA_N1_N2_X4_ROS2_v2.0/stella/ydlidar_ros/src/ydlidar_node.cpp:93:26: error: no matching function for call to ‘rclcpp::Node::declare_parameter(const char [17])’
  93 |  node->declare_parameter("resolution_fixed");
      |  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
                from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
                from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
                from /home/nuc12kim/source/stella/STELLA_N1_N2_X4_ROS2_v2.0/stella/ydlidar_ros/src/ydlidar_node.cpp:23:
/opt/ros/humble/include/rclcpp/rclcpp/node.hpp:421:3: note: candidate: ‘template<class ParameterT> auto rclcpp::Node::declare_parameter(const string&, const ParameterT&, const ParameterDescriptor&, bool)’

..... 유사 에러 다수



/home/nuc12kim/source/stella/STELLA_N1_N2_X4_ROS2_v2.0/stella/stella_ahrs/mw/mw_ahrs.cpp: In constructor ‘ntrex::MwAhrsRosDriver::MwAhrsRosDriver(char*, int, int)’:
/home/nuc12kim/source/stella/STELLA_N1_N2_X4_ROS2_v2.0/stella/stella_ahrs/mw/mw_ahrs.cpp:53:28: error: no matching function for call to ‘ntrex::MwAhrsRosDriver::declare_parameter(const char [27])’
  53 |    this->declare_parameter("linear_acceleration_stddev");
      |    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
                from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
                from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
                from /opt/ros/humble/include/tf2_ros/tf2_ros/transform_broadcaster.h:41,
                from /home/nuc12kim/source/stella/STELLA_N1_N2_X4_ROS2_v2.0/stella/stella_ahrs/include/mw/mw_ahrs.hpp:5,
                from /home/nuc12kim/source/stella/STELLA_N1_N2_X4_ROS2_v2.0/stella/stella_ahrs/mw/mw_ahrs.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/node.hpp:421:3: note: candidate: ‘template<class ParameterT> auto rclcpp::Node::declare_parameter(const string&, const ParameterT&, const ParameterDescriptor&, bool)’

..... 유사 에러 다수

댓글목록

profile_image

최고관리자님의 댓글

최고관리자 작성일

안녕하세요.

아이디어 로봇입니다.

우선 아래 깃허브에서 사용하시는 cpu에 맞는 라이브러리를 다운로드하시어 변경해주세요.
https://github.com/ntrexlab/2th_NtrexMotorDriver_lib_ROS/tree/main
https://github.com/ntrexlab/2th_NtrexAHRS_lib_ROS

현재 STELLA의 패키지는 ROS Foxy를 기준으로 개발되어 있습니다.

ROS Humble에서 빌드하시는 경우 일부 에러가 발생할 수 있습니다.

회원로그인

회원가입