micro-ROS / micro-ROS/micro-ROS-Agent

porting this RA6T2 micro-ros library to RX26T

Đang mở
#257 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
C++
Star
201
Fork
111
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
10

Mô tả

Issue template

  • Hardware description:
  • RTOS:
  • Installation type:
  • Version or commit hash:
Steps to reproduce the issue

I did following changes in library_generation.sh
1、change arm-none-eabi-gcc to rx-elf-gcc
in libmicroros.mk
1、change
X_CC := arm-none-eabi-gcc
X_CXX := arm-none-eabi-g++
into
X_CC := rx-elf-gcc
X_CXX := rx-elf-g++

Expected behavior

generate a micro ros library

Actual behavior

build error
--- stderr: rcutils
/home/feng/RoboticHandProject/MicroROS_RX26T2/micro_ros_renesas2estudio_component/libmicroros/micro_ros_src/src/rcutils/src/time_unix.c: In function ‘rcutils_system_time_now’:
/home/feng/RoboticHandProject/MicroROS_RX26T2/micro_ros_renesas2estudio_component/libmicroros/micro_ros_src/src/rcutils/src/time_unix.c:65:7: error: implicit declaration of function ‘clock_gettime’ [-Wimplicit-function-declaration]
65 | if (clock_gettime(CLOCK_REALTIME, &timespec_now) < 0) {
| ^~~~~~~~~~~~~
gmake[5]: *** [CMakeFiles/rcutils.dir/build.make:446: CMakeFiles/rcutils.dir/src/time_unix.c.obj] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:192: CMakeFiles/rcutils.dir/all] Error 2
gmake[3]: *** [Makefile:146: all] Error 2

Failed <<< rcutils [4.29s, exited with code 2]
make[2]: *** [libmicroros.mk:80: /home/feng/RoboticHandProject/MicroROS_RX26T2/micro_ros_renesas2estudio_component/library_generation/../libmicroros/micro_ros_src/install] Error 2
make[1]: [makefile:118: pre-build] Error 2 (ignored)
Finished <<< ament_cmake_export_definitions [0.52s]

Additional information

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với library_generation.sh và libmicroros.mk để hiểu các thay đổi trong toolchain RA6T2-to-RX26T, sau đó kiểm tra rcutils/src/time_unix.c, nơi quá trình build thất bại tại clock_gettime. Tái hiện việc tạo thư viện bằng rx-elf-gcc và xác định giải pháp được dự án hỗ trợ cho hàm còn thiếu. Hoàn thành khi thư viện micro-ROS được tạo thành công cho RX26T mà không có lỗi build của rcutils.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
c, cpp
Lĩnh vực
build-system, embedded-iot
Loại issue
Lỗi
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.