21#include <yarp/os/Bottle.h>
26namespace learningmachine {
30 std::cout <<
"PredictEvent: " <<
e.toString() << std::endl;
32 yarp::os::Bottle b,
p;
yarp::os::Port port
The outgoing port for the events.
bool verbose
Verbosity controls whether events are printed to standard output.
void vectorToBottle(const yarp::sig::Vector &vec, yarp::os::Bottle &bot)
void handle(PredictEvent &e)
Handling of a PredictEvent.
yarp::sig::Vector & getInput()
Accessor for the vector of inputs.
Prediction & getPredicted()
Accessor for the prediction.
yarp::sig::Vector getVariance()
Accessor for the variance of the prediction.
yarp::sig::Vector getPrediction()
Accessor for the expected value of the prediction.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.