12#include <catch2/catch_amalgamated.hpp>
22 Network::setLocalMode(
true);
24 SECTION(
"Checking fakeAnalogSensor device")
32 p_cfg.put(
"device",
"fakeAnalogSensor");
33 p_cfg.put(
"period",
"0.010");
47 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]")
void exec_params_test(yarp::dev::PolyDriver *pdrv)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.