11#include <catch2/catch_amalgamated.hpp>
21 Network::setLocalMode(
true);
23 SECTION(
"Checking fakeAnalogSensor device")
31 p_cfg.put(
"device",
"fakeAnalogSensor");
32 p_cfg.put(
"period",
"0.010");
45 Network::setLocalMode(
false);
A generic interface to sensors (gyro, a/d converters).
A container for a device driver.
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.
A class for storing options and configuration information.
TEST_CASE("dev::fakeAnalogSensor", "[yarp::dev]")
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.