3 #ifndef __DUMP_CAN_BUS_HPP__
4 #define __DUMP_CAN_BUS_HPP__
6 #include <yarp/os/Bottle.h>
7 #include <yarp/os/Port.h>
8 #include <yarp/os/PortReaderBuffer.h>
9 #include <yarp/os/Stamp.h>
10 #include <yarp/os/RFModule.h>
11 #include <yarp/os/TypedReaderCallback.h>
21 public yarp::os::TypedReaderCallback<yarp::os::Bottle>
27 bool configure(yarp::os::ResourceFinder & rf)
override;
29 bool updateModule()
override
32 bool close()
override;
34 void onRead(yarp::os::Bottle & b)
override;
37 void printMessage(
const yarp::os::Bottle & b,
const yarp::os::Stamp & stamp);
40 yarp::os::PortReaderBuffer<yarp::os::Bottle> portReader;
Connects to a remote CAN publisher port and dumps output.
Definition: DumpCanBus.hpp:22
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:6