Closed yoneyoneclub closed 1 year ago
You need to rebuild your library, configuring the colcon.meta with the required memory options
Thanks for the reply. I have tried to build following the steps below.
git clone -b humble https://github.com/micro-ROS/micro_ros_arduino
cd micro_ros_arduino
docker pull microros/micro_ros_static_library_builder:humble
docker run -it --rm -v $(pwd):/project --env MICROROS_LIBRARY_FOLDER=extras microros/micro_ros_static_library_builder:humble -p portenta-m7
However, I am getting the following error and cannot change the options to build.
=== ./control_msgs (git) === Cloning into '.'... find: cannot delete ‘/project/src/’: Directory not empty Crosscompiled environment: cleaning path Building firmware for generate_lib platform generic .......
Summary: 69 packages finished [35.0s] 50 packages had stderr output: action_msgs actionlib_msgs builtin_interfaces composition_interfaces control_msgs diagnostic_msgs example_interfaces geometry_msgs libyaml_vendor lifecycle_msgs micro_ros_msgs micro_ros_utilities microxrcedds_client nav_msgs rcl rcl_action rcl_interfaces rcl_lifecycle rcl_logging_interface rcl_logging_noop rclc rclc_lifecycle rclc_parameter rcutils rmw rmw_implementation rmw_microxrcedds ros2trace rosgraph_msgs rosidl_cli rosidl_runtime_c rosidl_typesupport_c rosidl_typesupport_microxrcedds_c sensor_msgs sensor_msgs_py shape_msgs statistics_msgs std_msgs std_srvs stereo_msgs test_msgs test_tracetools_launch tf2_msgs tracetools_launch tracetools_read tracetools_test tracetools_trace trajectory_msgs unique_identifier_msgs visualization_msgs Reading package lists... Done Building dependency tree... Done Reading state information... Done rsync is already the newest version (3.2.7-0ubuntu0.22.04.2). 0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded. rsync: [sender] change_dir "/project/src/common_interfaces/common_interfaces" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7]
I would appreciate it if you could tell me where the problem
There is no problems in this log. Your library has been successfully built.
Thanks for the reply! You are right, there was no problem with the build! I was able to register my 6th subscriber!
$ros2 topic list
/parameter_events /rosout /topic1 /topic2 /topic3 /topic4 /topic5 /topic6
Thank you for your quick answer!!!!
6th subscriber fails
Steps to reproduce the issue
Follow the installation instructions to build the Adruino IDE environment
Write the following program 6 subscriber
and run below command
Run the following in another command
Expected behavior
I have set the argument to 6 in
rclc_executor_init
, but I don't know what else could be causing this. Could you please tell me how to improve this situation?