linorobot / linorobot2_hardware

Apache License 2.0
92 stars 84 forks source link

Firmware Upload fails in Humble #80

Closed shazib2t closed 4 months ago

shazib2t commented 4 months ago

I am having issues uploading the firmware to teensy as :

pio run --target upload -e teensy31

Processing teensy31 (board: teensy31; platform: teensy; framework: arduino)


Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy31.html PLATFORM: Teensy (4.18.0) > Teensy 3.1 / 3.2 HARDWARE: MK20DX256 96MHz, 64KB RAM, 256KB Flash DEBUG: Current (jlink) External (jlink) PACKAGES:

  • framework-arduinoteensy @ 1.158.0 (1.58)
  • tool-teensy @ 1.158.0 (1.58)
  • toolchain-gccarmnoneeabi-teensy @ 1.110301.0 (11.3.1) Converting firmware.ino LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft

Installing pyyaml with pip at PlatformIO environment /home/mrrobot/.platformio/penv/bin/python -m pip install pyyaml Requirement already satisfied: pyyaml in /home/mrrobot/.platformio/penv/lib/python3.8/site-packages (6.0.1) Installing markupsafe==2.0.1 with pip at PlatformIO environment /home/mrrobot/.platformio/penv/bin/python -m pip install markupsafe==2.0.1 Requirement already satisfied: markupsafe==2.0.1 in /home/mrrobot/.platformio/penv/lib/python3.8/site-packages (2.0.1) Configuring teensy31 with transport serial Downloading micro-ROS dev dependencies

  • Downloaded ament_cmake
  • Downloaded ament_lint
  • Downloaded ament_package
  • Downloaded googletest
  • Downloaded ament_cmake_ros
  • Downloaded ament_index Building micro-ROS dev dependencies Downloading micro-ROS library
  • Downloaded microcdr
  • Downloaded microxrcedds_client
  • Downloaded rcl_lifecycle
  • Downloaded rcl_action
  • Downloaded rcl_yaml_param_parser (ignored)
  • Downloaded rcl
  • Downloaded rclc_lifecycle
  • Downloaded rclc_parameter
  • Downloaded rclc_examples (ignored)
  • Downloaded rclc
  • Downloaded micro_ros_utilities
  • Downloaded rcutils
  • Downloaded micro_ros_msgs
  • Downloaded rmw_microxrcedds
  • Downloaded rosidl_typesupport_c
  • Downloaded rosidl_typesupport_cpp (ignored)
  • Downloaded rosidl_typesupport_microxrcedds_c
  • Downloaded rosidl_typesupport_microxrcedds_cpp (ignored)
  • Downloaded rosidl_typesupport_microxrcedds_test_msg
  • Downloaded rosidl_typesupport_microxrcedds_c_tests
  • Downloaded rosidl_typesupport_microxrcedds_cpp_tests
  • Downloaded rosidl_typesupport_introspection_c
  • Downloaded rosidl_cli
  • Downloaded rosidl_typesupport_interface
  • Downloaded rosidl_runtime_cpp (ignored)
  • Downloaded rosidl_cmake
  • Downloaded rosidl_generator_c
  • Downloaded rosidl_typesupport_introspection_cpp (ignored)
  • Downloaded rosidl_typesupport_introspection_tests
  • Downloaded rosidl_adapter
  • Downloaded rosidl_generator_cpp (ignored)
  • Downloaded rosidl_runtime_c
  • Downloaded rosidl_parser
  • Downloaded rmw_implementation_cmake
  • Downloaded rmw
  • Downloaded test_msgs
  • Downloaded statistics_msgs
  • Downloaded rosgraph_msgs
  • Downloaded builtin_interfaces
  • Downloaded lifecycle_msgs
  • Downloaded rcl_interfaces
  • Downloaded action_msgs
  • Downloaded composition_interfaces
  • Downloaded rosidl_default_runtime
  • Downloaded rosidl_default_generators
  • Downloaded unique_identifier_msgs
  • Downloaded shape_msgs
  • Downloaded std_srvs
  • Downloaded std_msgs
  • Downloaded sensor_msgs_py
  • Downloaded diagnostic_msgs
  • Downloaded visualization_msgs
  • Downloaded common_interfaces
  • Downloaded nav_msgs
  • Downloaded sensor_msgs
  • Downloaded actionlib_msgs
  • Downloaded stereo_msgs
  • Downloaded geometry_msgs
  • Downloaded trajectory_msgs
  • Downloaded test_interface_files
  • Downloaded rmw_implementation
  • Downloaded test_rmw_implementation
  • Downloaded rcl_logging_interface
  • Downloaded rcl_logging_spdlog (ignored)
  • Downloaded rcl_logging_noop
  • Downloaded tracetools_trace
  • Downloaded test_tracetools
  • Downloaded tracetools_read
  • Downloaded test_tracetools_launch
  • Downloaded tracetools_test
  • Downloaded tracetools
  • Downloaded ros2trace
  • Downloaded tracetools_launch
  • Extra packages folder not found, skipping... Building micro-ROS library Build mcu micro-ROS environment failed: --- stderr: microxrcedds_client /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/Micro-XRCE-DDS-Client/src/c/util/time.c: In function 'uxr_nanos': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/Micro-XRCE-DDS-Client/src/c/util/time.c:71:5: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] 71 | clock_gettime(CLOCK_REALTIME, &ts); | ^~~~~

    --- stderr: rcutils In file included from /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:35: /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h: In function 'rcutils_convert_uint64_t_into_c_str': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:48: warning: unused parameter 'number' [-Wunused-parameter] 109 | rcutils_convert_uint64_t_into_c_str(uint64_t number, char * buffer, size_t buffer_size) | ~~~^~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:63: warning: unused parameter 'buffer' [-Wunused-parameter] 109 | rcutils_convert_uint64_t_into_c_str(uint64_t number, char * buffer, size_t buffer_size) | ~^~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | rcutils_convert_uint64_t_into_c_str(uint64_t number, char buffer, size_t buffer_size) | ~^~~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h: In function '__rcutils_format_error_string': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:142:28: warning: unused parameter 'error_string' [-Wunused-parameter] 142 | rcutils_error_string_t error_string, | ~~~~~^~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:143:33: warning: unused parameter 'error_state' [-Wunused-parameter] 143 | const rcutils_error_state_t error_state) | ~~~~~~^~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c: In function 'rcutils_get_error_string': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:240:38: warning: initializer-string for array of 'char' is too long 240 | return (rcutils_error_string_t) {"error not set"}; // NOLINT(readability/braces) | ^~~~~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:240:38: note: (near initialization for '(anonymous).str') In file included from /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:35: At top level: /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:1: warning: 'rcutils_convert_uint64_t_into_c_str' defined but not used [-Wunused-function] 109 | rcutils_convert_uint64_t_into_c_str(uint64_t number, char buffer, size_t buffer_size) | ^~~~~~~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:91:1: warning: 'rcutils_reverse_str' defined but not used [-Wunused-function] 91 | rcutils_reverse_str(char string_in, size_t string_len) | ^~~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c: In function 'rcutils_get_env_var_zero_or_one': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c:130:35: warning: unused parameter 'zero_semantic' [-Wunused-parameter] 130 | const char name, const char zero_semantic, | ~~~^~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c:131:16: warning: unused parameter 'one_semantic' [-Wunused-parameter] 131 | const char one_semantic) | ~~~^~~~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:52:4: warning: #warning is a GCC extension 52 | # warning no monotonic clock function available | ^~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:52:4: warning: #warning no monotonic clock function available [-Wcpp] /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c: In function 'rcutils_system_time_now': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:74:3: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] 74 | clock_gettime(CLOCK_REALTIME, &timespec_now); | ^~~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/atomic_64bits.c:53:10: warning: conflicting types for built-in function 'atomic_load_8'; expected 'long long unsigned int(const volatile void , int)' [-Wbuiltin-declaration-mismatch] 53 | uint64_t __atomic_load_8(uint64_t mem, int model) { | ^~~~~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/atomic_64bits.c:62:6: warning: conflicting types for built-in function 'atomic_store_8'; expected 'void(volatile void , long long unsigned int, int)' [-Wbuiltin-declaration-mismatch] 62 | void __atomic_store_8(uint64_t mem, uint64_t val, int model) { | ^~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/atomic_64bits.c:70:10: warning: conflicting types for built-in function '__atomic_exchange_8'; expected 'long long unsigned int(volatile void , long long unsigned int, int)' [-Wbuiltin-declaration-mismatch] 70 | uint64_t __atomic_exchange_8(uint64_t mem, uint64_t val, int model) { | ^~~~~~~ /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rcutils/src/atomic_64bits.c:80:10: warning: conflicting types for built-in function 'atomic_fetch_add_8'; expected 'long long unsigned int(volatile void *, long long unsigned int, int)' [-Wbuiltin-declaration-mismatch] 80 | uint64_t atomic_fetch_add_8(uint64_t *mem, uint64_t val, int model) { | ^~~~~~~~

    --- stderr: rosidl_runtime_c CMake Warning at /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:15 (find_package)


--- stderr: rcl_logging_interface CMake Warning at /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:19 (find_package)


--- stderr: rmw CMake Warning at /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:21 (find_package)

In file included from /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rmw/rmw/src/validate_full_topic_name.c:17: /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rmw/rmw/src/validate_full_topic_name.c: In function 'rmw_validate_full_topic_name_with_size': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rmw/rmw/src/validate_full_topic_name.c:106:29: warning: array subscript has type 'char' [-Wchar-subscripts] 106 | if (isdigit(topic_name[i + 1]) != 0) { | ~~^~~ In file included from /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rmw/rmw/src/validate_node_name.c:17: /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rmw/rmw/src/validate_node_name.c: In function 'rmw_validate_node_name_with_size': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/rmw/rmw/src/validate_node_name.c:72:24: warning: array subscript has type 'char' [-Wchar-subscripts] 72 | if (isdigit(node_name[0]) != 0) { | ~~~^

--- stderr: rcl_logging_noop CMake Warning at /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcl_logging_interface/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcl_logging_interface/cmake/rcl_logging_interfaceConfig.cmake:41 (include) CMakeLists.txt:15 (find_package)


--- stderr: rosidl_typesupport_microxrcedds_c CMake Warning at /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) CMakeLists.txt:22 (find_package)


--- stderr: micro_ros_utilities CMake Warning at /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/rosidl_typesupport_introspection_cConfig.cmake:41 (include) CMakeLists.txt:18 (find_package)

/home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/micro_ros_utilities/src/type_utilities.c: In function 'print_type_info': /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/src/micro_ros_utilities/src/type_utilities.c:96:61: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=] 96 buffer, sizeof(buffer), "%sIntrospection for %s/%s - %u members, %zu B\n", ~^
unsigned int
%lu
...... 100 members->membercount, ~~~~~~
uint32_t {aka long unsigned int}

--- stderr: rosidl_typesupport_c CMake Warning at /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:33 (find_package)


--- stderr: builtin_interfaces CMake Warning at /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/rosidl_typesupport_introspection_cConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:13 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_default_generators/cmake/rosidl_default_generators-extras.cmake:21 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_default_generators/cmake/rosidl_default_generatorsConfig.cmake:41 (include) CMakeLists.txt:14 (find_package)

CMake Error at /home/mrrobot/ros2_humble/install/rosidl_typesupport_fastrtps_c/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c-extras.cmake:5 (find_package): Could not find a configuration file for package "fastcdr" that is compatible with requested version "".

The following configuration files were considered but not accepted:

/home/mrrobot/ros2_humble/install/fastcdr/lib/cmake/fastcdr/fastcdr-config.cmake, version: 1.0.24 (64bit)

Call Stack (most recent call first): /home/mrrobot/ros2_humble/install/rosidl_typesupport_fastrtps_c/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_cConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:13 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_default_generators/cmake/rosidl_default_generators-extras.cmake:21 (find_package) /home/mrrobot/linorobot2_hardware/firmware/.pio/libdeps/teensy31/micro_ros_platformio/build/mcu/install/share/rosidl_default_generators/cmake/rosidl_default_generatorsConfig.cmake:41 (include) CMakeLists.txt:14 (find_package)


Failed <<< builtin_interfaces [25.5s, exited with code 1]

==================================================================================== [FAILED] Took 1217.80 seconds ====================================================================================

Environment Status Duration


teensy31 FAILED 00:20:17.805 ================================================================================ 1 failed, 0 succeeded in 00:20:17.805 ================================================================================

shazib2t commented 4 months ago

So found another workaround for this problem. I was using robot computer as Jetson nano with ubuntu 20.04 and I had to install ros2 humble from source. I believe that is the reason. When I was using the laptop with ros2 humble binary installation it worked.