Robotics StackExchange | Archived questions

Help with MicroROS build system

Hi all,

I am trying to integrate MicroROS with Micropython and I am getting some odd errors. Currently I am having a problem where the .in header files are not being processed.

I have combed through all the .cmake and .mk files and can find where the .in files are scanned to do the macro replacement.

Can anyone point me to the cmake code that processes the ros header files ??

My repo is here, the micropython branch will produce the error.

https://github.com/gentijo/RosBots/tree/micropython

An example is rcutils/configurationflags.h.in not being processed to produce rcutils/configurationflags.h

In file included from ../main/../../../micro_ros_src/src/rcutils/include/rcutils/allocator.h:28,
                 from ../main/../../../micro_ros_src/src/rcl/rcl/include/rcl/allocator.h:25,
                 from ../main/../../../micro_ros_src/src/rcl/rcl/include/rcl/init.h:25,
                 from ../main/../../../micro_ros_src/src/rcl/rcl/include/rcl/rcl.h:76,
                 from /opt/rosbots/microros_ws/components/app/ros/microros_app_base.h:10,
                 from ../main/ros_app.h:5,
                 from ../main/ros_app.cpp:6:
../main/../../../micro_ros_src/src/rcutils/include/rcutils/macros.h:25:10: fatal error: rcutils/configuration_flags.h: No such file or directory
 #include "rcutils/configuration_flags.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thank you John

Asked by gentijo on 2023-01-17 01:11:57 UTC

Comments

Answers