Skip to content

Commit 9d24cd1

Browse files
authored
ROS: Publish raw controller commands in teleop mode (#393)
1 parent 6dc83ab commit 9d24cd1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

examples/teleop_ros2/python/teleop_ros2_node.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,11 @@ def run(self) -> int:
857857
).tolist()
858858
self._pub_finger_joints.publish(finger_joints_msg)
859859

860-
if self._mode in ("controller_raw", "full_body"):
860+
if self._mode in (
861+
"controller_raw",
862+
"controller_teleop",
863+
"full_body",
864+
):
861865
if not left_ctrl.is_none or not right_ctrl.is_none:
862866
controller_payload = _build_controller_payload(
863867
left_ctrl, right_ctrl

0 commit comments

Comments
 (0)