Revision 1f748ce7 examples/yarp_icub/include/icub_jointinterface.h

View differences:

examples/yarp_icub/include/icub_jointinterface.h
74 74
    // yarp views
75 75
    yarp::dev::IVelocityControl *yarp_ivel_;
76 76
    yarp::dev::IPositionControl *yarp_ipos_;
77

  
77 78
    //yarp::dev::IEncodersTimed *yarp_iencs_;
78 79
    yarp::dev::IControlLimits *yarp_ilimits_;
79 80
    yarp::dev::IAmplifierControl *yarp_amp_;
......
105 106
    void init_joints();
106 107

  
107 108
    std::string scope;
108
    yarp::sig::Vector positions;
109
    yarp::sig::Vector velocities;
109
    //yarp::sig::Vector positions;
110
    //yarp::sig::Vector velocities;
110 111

  
111 112

  
112 113
    void store_min_max(yarp::dev::IControlLimits *ilimits, int id, int e);
113 114

  
114
    float last_pos_eye_vergence;
115
    float last_pos_eye_pan;
116
    float last_vel_eye_vergence;
117
    float last_vel_eye_pan;
115
   //float last_pos_eye_vergence;
116
    //float last_pos_eye_pan;
117
   // float last_vel_eye_vergence;
118
    //float last_vel_eye_pan;
118 119

  
119 120
    void store_joint(int id, float value);
120 121
    void set_target_in_positionmode(int id);
121 122
    void set_target_in_velocitymode(int id);
122 123

  
123 124

  
124
    int convert_enum_to_motorid(int e);
125
    int convert_motorid_to_enum(int id);
125
    //int convert_enum_to_motorid(int e);
126
    //int convert_motorid_to_enum(int id);
126 127

  
127 128
    iCubFaceInterface *face_interface_;
128 129

  

Also available in: Unified diff