Hello,
I would like to get a Cartesian PR with UF, UT and then convert it to JPos with Pos2Joint.
Do you have an example Karel?
thank you.
it's my karel code no default or result
BEGIN
Pos_Actuel= CURJPOS(0,0)
-- Recuperartion des entier de la routine TPE paramétrée
GET_TPE_PRM(1,data_typ,data_init,data_real,data_str,STATUS)
ValPrDebut=data_init
--Recupe PR en cartesien
Pos_Debut=GET_POS_REG (ValPrDebut,STATUS)
Pos_UFrame=GET_POS_REG (60,STATUS)
Pos_UTool=GET_POS_REG (61,STATUS)
--Convertion pos cartesien en Joint
POS2JOINT (Pos_Actuel, Pos_Debut, Pos_UFrame, Pos_UTool, 0, wjnt_cfg, Tab_PR_Debut, out_jnt,status)
END CheckPos