![ATT_POWER](/assets/img/avatar_default.png)
* CI: change build worlflow image tag from v20240927 to latest * feat/plugins: Add echo plugin - Add echo plugin for message pass-through and logging - Implement loading and management of different types of support packages - Add support for multi-threaded executors - Optimize log initialization and management logic - Add support for YAML configuration files * build: Update build scripts and enable Echo plugin - Add build options for Echo plugin in build.bat, build.sh, test.bat, and test.sh scripts - Optimize JSON serialization error handling and log output in echo_plugin.cc * chore: Add Echo plugin related documentation - Update release notes with Echo plugin feature description - Add Echo plugin usage documentation - Add Echo plugin example configuration and running instructions * chore: format the code - Add thread safety checks for Echo executor - Optimize code structure to improve readability and maintainability * choro: restructure JSON parsing logic - Replace json-c with jsoncpp library - Rewrite json_to_yaml function to improve code readability and robustness * choro: adapt CMakeLists for Windows compatibility * choro : turn off the echo plugin in windows * feat(echo_plugin): Support YAML format message echo - Modify GetYamlCpp.cmake to enable yaml-cpp installation - Add yaml_convert.h and yaml_convert_test.cc in ros2_util - Update echo_plugin to support YAML format message serialization and deserialization - Add YAML serialization type support in aimrt_module_ros2_interface * choro: Fix documentation * choro : fix format and delete the extra support for echo about pb message type * choro : format * choro: add ros2 example for echo plugin and delete useless code * choro: rename the echo example shell * choro: fix some mistake * chore: refactor type support package loader and migrate to core module - Migrate TypeSupportPkgLoader from echo_plugin and record_playback_plugin to core/util directory - Optimize log output, replace printf with AIMRT_INFO * choro: replace the aimrt::common::util::AimRTException() to AIMRT_ASSERT --------- Co-authored-by: yuguanlin <yuguanlin@agibot.com>
42 lines
1.2 KiB
Bash
Executable File
42 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# exit on error and print each command
|
|
set -e
|
|
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DAIMRT_INSTALL=ON \
|
|
-DCMAKE_INSTALL_PREFIX=./build/install \
|
|
-DAIMRT_BUILD_TESTS=OFF \
|
|
-DAIMRT_BUILD_EXAMPLES=ON \
|
|
-DAIMRT_BUILD_DOCUMENT=ON \
|
|
-DAIMRT_BUILD_RUNTIME=ON \
|
|
-DAIMRT_BUILD_CLI_TOOLS=ON \
|
|
-DAIMRT_BUILD_BAGTRANS=ON \
|
|
-DAIMRT_BUILD_PYTHON_RUNTIME=ON \
|
|
-DAIMRT_USE_FMT_LIB=ON \
|
|
-DAIMRT_BUILD_WITH_PROTOBUF=ON \
|
|
-DAIMRT_USE_LOCAL_PROTOC_COMPILER=OFF \
|
|
-DAIMRT_USE_PROTOC_PYTHON_PLUGIN=OFF \
|
|
-DAIMRT_BUILD_WITH_ROS2=ON \
|
|
-DAIMRT_BUILD_NET_PLUGIN=ON \
|
|
-DAIMRT_BUILD_MQTT_PLUGIN=ON \
|
|
-DAIMRT_BUILD_ZENOH_PLUGIN=ON \
|
|
-DAIMRT_BUILD_ICEORYX_PLUGIN=ON \
|
|
-DAIMRT_BUILD_ROS2_PLUGIN=ON \
|
|
-DAIMRT_BUILD_RECORD_PLAYBACK_PLUGIN=ON \
|
|
-DAIMRT_BUILD_TIME_MANIPULATOR_PLUGIN=ON \
|
|
-DAIMRT_BUILD_PARAMETER_PLUGIN=ON \
|
|
-DAIMRT_BUILD_LOG_CONTROL_PLUGIN=ON \
|
|
-DAIMRT_BUILD_OPENTELEMETRY_PLUGIN=ON \
|
|
-DAIMRT_BUILD_GRPC_PLUGIN=ON \
|
|
-DAIMRT_BUILD_ECHO_PLUGIN=ON \
|
|
-DAIMRT_BUILD_PYTHON_PACKAGE=ON \
|
|
$@
|
|
|
|
if [ -d ./build/install ]; then
|
|
rm -rf ./build/install
|
|
fi
|
|
|
|
cmake --build build --config Release --target install --parallel $(nproc)
|