Revision 3d980d8f examples/meka/src/mekajointinterface.cpp

View differences:

examples/meka/src/mekajointinterface.cpp
34 34
                return;
35 35
            }
36 36
            //ok, safe to access data
37
            JointInterface::store_incoming_position(id, msg.position[i], timestamp);
38
            JointInterface::store_incoming_speed(   id, msg.velocity[i], timestamp);
37
            JointInterface::store_incoming_position(id, 180.0 / M_PI * msg.position[i], timestamp);
38
            JointInterface::store_incoming_speed(   id, 180.0 / M_PI * msg.velocity[i], timestamp);
39 39
        }
40 40
    }
41 41

  

Also available in: Unified diff