pinfrommot

This commit is contained in:
yjinzero 2025-02-16 21:32:15 +09:00
parent 3a31f44dde
commit 2417e6a82a
1 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,12 @@ class FakeWorldPublisher(Node):
10)
self.tf_broadcaster = TransformBroadcaster(self)
pin_joint = self.robot.model.names[1:]
self.pin_from_mot = index_map(
pin_joint,
self.config.motor_joint
)
def on_low_state(self,
msg: LowStateHG):
self.low_state = msg