Skip to content

Commit c61a1b4

Browse files
authored
Added getROSNode to interface
1 parent 5e290fb commit c61a1b4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

mirte_robot/robot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,9 @@ def stop(self) -> None:
823823
for motor in self.motors:
824824
self.setMotorSpeed(motor, 0)
825825

826+
def getROSNode(self):
827+
return self._node
828+
826829
def _signal_handler(self, sig, frame):
827830
self._at_exit()
828831

0 commit comments

Comments
 (0)