YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FrameTransformSetMultiplexer_test.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025-2025 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
9#include <yarp/os/Property.h>
10#include <yarp/os/Network.h>
11#include <iostream>
12
14
16
17#include <catch2/catch_amalgamated.hpp>
18#include <harness.h>
19
20TEST_CASE("dev::frameTransformSetMultiplexer", "[yarp::dev]")
21{
22 YARP_REQUIRE_PLUGIN("frameTransformSetMultiplexer", "device");
23 YARP_REQUIRE_PLUGIN("frameTransformStorage", "device");
24
26 const bool verboseDebug = true;
27
28 SECTION("test the frameTransformSetMultiplexer")
29 {
36
37 p_dev1.put("device", "frameTransformStorage");
39 p_dev2.put("device", "frameTransformStorage");
41
42 p_multi.put("device", "frameTransformSetMultiplexer");
44
46
50 pl.push(&pd_dev1, "storage1");
51 pl.push(&pd_dev2, "storage1");
52 bool result_att = ww_multi->attachAll(pl);
54
59
61
66 }
67
69}
TEST_CASE("dev::frameTransformSetMultiplexer", "[yarp::dev]")
A container for a device driver.
Definition PolyDriver.h:23
Helper interface for an object that can wrap/or "attach" to one or more other devices.
A mini-server for performing network communication in the background.
void close() override
Stop port activity.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
static bool setLocalMode(bool flag)
Chooses whether communication is process-local.
Definition Network.cpp:1049
A class for storing options and configuration information.
Definition Property.h:33
void exec_frameTransformStorage_test_1(IFrameTransformStorageSet *itfSet, IFrameTransformStorageGet *itfGet, IFrameTransformStorageUtils *itfUtils)
void delay(double seconds)
Wait for a certain number of seconds.
Definition Time.cpp:111