changes in operation: testing

This commit is contained in:
Björn Ellensohn 2023-08-22 09:24:15 +02:00
parent 0ea5b0c55e
commit d31d81b7c3

View File

@ -139,8 +139,8 @@ class StateMachineNode(Node):
self.state = State.ENABLED self.state = State.ENABLED
self.get_logger().info("State: ENABLED (cmd_vel)") self.get_logger().info("State: ENABLED (cmd_vel)")
self.enable_chassis() self.enable_chassis()
# if self.state == State.PAUSED and (self.abs_x < 0.1 and self.abs_z < 0.1): # Is this even necessary? if self.state == State.PAUSED and (self.abs_x < 0.1 and self.abs_z < 0.1): # Is this even necessary?
# self.cmd_vel_pub.publish(self.twist) self.cmd_vel_pub.publish(self.twist)
def main(args=None): def main(args=None):
rclpy.init(args=args) rclpy.init(args=args)