Files
OrbbecSDK_ROS2/orbbec_camera/tools/multi_save_rgbir_node.cpp
T

26 lines
1.1 KiB
C++
Raw Normal View History

2024-09-28 15:32:51 +08:00
/*******************************************************************************
* Copyright (c) 2023 Orbbec 3D Technology, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
#include "multi_save_rgbir_node.hpp"
int main(int argc, char **argv) {
rclcpp::init(argc, argv);
2024-12-09 13:51:38 +08:00
auto node = std::make_shared<orbbec_camera::tools::MultiCameraSubscriber>();
rclcpp::executors::MultiThreadedExecutor executor(rclcpp::ExecutorOptions(), 20);
executor.add_node(node);
executor.spin();
2024-09-28 15:32:51 +08:00
return 0;
}