The configuration file contains all the parameter configurations for AimRT. For details, please refer to the AimRT Configuration Guide as well as the detailed descriptions of each module.
Communication with native ROS2 nodes is enabled by mounting ROS2-backend Channels/RPCs. Examples of the native ROS2 publisher and client are provided in the assistant directory. After launching the AimRT process, developers can observe communication between the publisher and client by starting an example process of a native ROS2 publisher or client.
Please note that before launching the AimRT process or the example processes of a native ROS2 publisher or client, please source the ROS2 protocol in the current command-line window:
source ./install/ros2_setup.sh
For details on the configuration and usage of ROS2 plugins, refer to ROS2 Plugins.
For more information on RPC configuration, refer to RPC Configuration. For RPC interfaces, refer to RPC Interface.
For more information on Channel configuration, refer to Channel Configuration. For Channel interfaces, refer to Channel Interface.
Both Channel and RPC support multiple backends. For single-process scenarios, we have optimized AimRT's Local RPC Backend
to automatically determine whether the client and server are within the same package. If they are, Local RPC Backend will directly call functions within that package. The same applies to the Local Channel Backend
; In principle, use the Local backend for all intra-process communications. For external communications, the ROS2 backend is recommended.