Closed lshamis closed 2 years ago
https://github.com/facebookresearch/polymetis/blob/1b2ea8528d4fb9ad72cec9c766be4cbdbdf76f18/polymetis/python/polymetis/robot_interface.py#L110
set_joint_positions calls send_torch_policy, which calls _get_robot_state_log, which creates a signal handler. This prevents set_joint_positions from being used from a thread.
set_joint_positions
send_torch_policy
_get_robot_state_log
Moving issue to fairo.
https://github.com/facebookresearch/polymetis/blob/1b2ea8528d4fb9ad72cec9c766be4cbdbdf76f18/polymetis/python/polymetis/robot_interface.py#L110
set_joint_positions
callssend_torch_policy
, which calls_get_robot_state_log
, which creates a signal handler. This preventsset_joint_positions
from being used from a thread.