23class LinearTrajectoryThread :
public yarp::os::PeriodicThread
27 ~LinearTrajectoryThread()
override;
29 bool checkStreamingConfig();
30 bool configure(
const std::vector<double> & vels);
31 void useTcpFrame(
bool enableTcpFrame) { usingTcpFrame = enableTcpFrame; }
39 KDL::Trajectory * trajectory {
nullptr};
40 double startTime {0.0};
41 bool usingStreamingCommandConfig {
false};
42 bool usingTcpFrame {
false};
43 std::vector<double> deltaX;
44 mutable std::mutex mtx;