I wrote the following code, but it is not reflected in Current position. How should I program it?
treenode trb;
Object orb = model().find("Robot8");
initkinematics(trb, orb, KINEMATIC_MANAGE_ROTATIONS);
initkinematics(trb, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, KINEMATIC_MANAGE_ROTATIONS);
addkinematic(trb, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 1,1,time(),KINEMATIC_TRAVEL);
updatekinematics(trb, orb); deactivatekinematics(trb);