Revision 21444915 src/server/joint_interface.cpp

View differences:

src/server/joint_interface.cpp
48 48
//! set joint target position
49 49
//! \param joint_id of joint
50 50
//! \param float position
51
void JointInterface::set_target_position(int joint_id, float position){
51
void JointInterface::set_target_position(int joint_id, float position, float speed){
52 52
    assert(joint_id < JOINT_ID_ENUM_SIZE);
53 53

  
54 54
    //update current value
55 55
    joint_target[joint_id] = position;
56
    joint_target_speed[joint_id] = speed;
56 57
}
57 58

  
58 59
//! fetch target position

Also available in: Unified diff