Revision ea7a702d examples/yarp_icub/include/icub_data_receiver.h
examples/yarp_icub/include/icub_data_receiver.h | ||
---|---|---|
20 | 20 |
|
21 | 21 |
class iCubDataReceiver : public yarp::os::RateThread{ |
22 | 22 |
public: |
23 |
iCubDataReceiver(int period, yarp::dev::IEncoders *_iencs, iCubJointInterface *_icub_jointinterface); |
|
23 |
iCubDataReceiver(int period, yarp::dev::IEncodersTimed *_iencs, iCubJointInterface *_icub_jointinterface);
|
|
24 | 24 |
bool threadInit(); |
25 | 25 |
void threadRelease(); |
26 | 26 |
void run(); |
... | ... | |
30 | 30 |
yarp::sig::Vector positions; |
31 | 31 |
yarp::sig::Vector velocities; |
32 | 32 |
yarp::sig::Vector commands; |
33 |
yarp::sig::Vector timestamps; |
|
33 | 34 |
|
34 |
yarp::dev::IEncoders *iencs; |
|
35 |
yarp::dev::IEncodersTimed *iencs;
|
|
35 | 36 |
iCubJointInterface *icub_jointinterface; |
36 | 37 |
}; |
37 | 38 |
|
Also available in: Unified diff