10#ifndef __SKIN_MESH_THREAD_PORT_H__
11#define __SKIN_MESH_THREAD_PORT_H__
17#include <yarp/os/PeriodicThread.h>
18#include <yarp/os/Log.h>
19#include <yarp/dev/ControlBoardInterfaces.h>
20#include <yarp/dev/PolyDriver.h>
21#include <yarp/dev/CanBusInterface.h>
22#include <yarp/sig/Vector.h>
40using namespace yarp::os;
78 std::lock_guard<std::mutex> lck(
mtx);
85 void eval(
unsigned char *image)
87 std::lock_guard<std::mutex> lck(
mtx);
104 void draw(
unsigned char *image)
BufferedPort< Bottle > skin_port_virtual
std::vector< unsigned char > defaultColor
void eval(unsigned char *image)
void resize(int width, int height)
virtual void threadRelease()
static const int MAX_SENSOR_NUM
BufferedPort< Bottle > skin_port
void draw(unsigned char *image)
TouchSensor * sensor[MAX_SENSOR_NUM]
virtual bool threadInit()
void eval(unsigned char *image)
void resize(int width, int height, int margin)
virtual void draw(unsigned char *image)
void eval_light(unsigned char *image)