View countdown messages coming from a port (paired with os/make_count.cpp example).
View countdown messages coming from a port (paired with os/make_count.cpp example).
#include <cstdio>
int main(int argc, char* argv[])
{
if (argc != 2) {
return 1;
}
BufferedPort<Bottle> in;
in.open(argv[1]);
int count = 1;
while (count > 0) {
Bottle* msg = in.read();
count = msg->get(1).asInt32();
printf("at %d\n", count);
}
return 0;
}
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
Utilities for manipulating the YARP network, including initialization and shutdown.
The main, catch-all namespace for YARP.