01-22-2024, 01:29 PM
Hello, I have tried to change the robot linked to a target via python API but with no results. It seems that target.setParent(robot) just moves the target in the station tree under robot but it does not link the robot to the target.
Currently I create new targets under specific robot reference frames with:
new_target = RDK.AddTarget("Current_Position",robot_ref_frame), but the target remains linked with one robot (the first robot from the station).
Is there any chance or workaround to change the linked robot of a target by API ?
Many Thanks,
Cozmin, UPB
Currently I create new targets under specific robot reference frames with:
new_target = RDK.AddTarget("Current_Position",robot_ref_frame), but the target remains linked with one robot (the first robot from the station).
Is there any chance or workaround to change the linked robot of a target by API ?
Many Thanks,
Cozmin, UPB