You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I ran micro_ros_subscriber_twist.ino, I encountered the following error. Please advise.
In this case, 'String_sub.ino' is my file name.
C:\AppData\Local\Temp\arduino\sketches\B0E779D746D417ABD8374C376587FBDB\sketch\String_sub.ino.cpp.o: In function `set_microros_transports':
C:\Documents\Arduino\libraries\micro_ros_arduino\src/micro_ros_arduino.h:40: undefined reference to `rmw_uros_set_custom_transport'
C:\AppData\Local\Temp\arduino\sketches\B0E779D746D417ABD8374C376587FBDB\sketch\String_sub.ino.cpp.o: In function `setup':
F:\Arduino\String_sub/String_sub.ino:45: undefined reference to `rcutils_get_default_allocator'
F:\Arduino\String_sub/String_sub.ino:48: undefined reference to `rclc_support_init'
F:\Arduino\String_sub/String_sub.ino:51: undefined reference to `rclc_node_init_default'
F:\Arduino\String_sub/String_sub.ino:54: undefined reference to `rosidl_typesupport_c__get_message_type_support_handle__geometry_msgs__msg__Twist'
F:\Arduino\String_sub/String_sub.ino:54: undefined reference to `rclc_subscription_init_default'
F:\Arduino\String_sub/String_sub.ino:61: undefined reference to `rclc_executor_init'
F:\Arduino\String_sub/String_sub.ino:62: undefined reference to `rclc_executor_add_subscription'
C:~\AppData\Local\Temp\arduino\sketches\B0E779D746D417ABD8374C376587FBDB\sketch\String_sub.ino.cpp.o: In function `loop':
F:\Arduino\String_sub/String_sub.ino:68: undefined reference to `rclc_executor_spin_some'
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered:
You should use a native Ubuntu 22.04 PC instead of Windows PC. Use platformio/vscode, which is much better than Arduino IDE. Esp32 is a good micro-ros controller, which costs only 1/10 of an Arduino Due. If you want to build mobile robot, you may follow my wiki.
Hi,
When I ran micro_ros_subscriber_twist.ino, I encountered the following error. Please advise.
In this case, 'String_sub.ino' is my file name.
The text was updated successfully, but these errors were encountered: