Skip to content

Commit

Permalink
modify: python grammer
Browse files Browse the repository at this point in the history
Signed-off-by: TetsuKawa <[email protected]>
  • Loading branch information
TetsuKawa committed Jan 10, 2025
1 parent 07e8de6 commit 0d3a64e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/redundancy_switcher_interface/script/relay_to_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ def operation_mode_state_callback(self, msg):
)

def trajectory_callback(self, msg):
if self.autonomous_mode or self.operation_mode_autonomous_state == False:
if not self.autonomous_mode or self.operation_mode_autonomous_state:
self.pub_trajectory.publish(msg)

def pose_callback(self, msg):
if self.autonomous_mode or self.operation_mode_autonomous_state == False:
if not self.autonomous_mode or self.operation_mode_autonomous_state:
self.pub_pose_with_covariance.publish(msg)

# def initialpose_callback(self, msg):
Expand Down

0 comments on commit 0d3a64e

Please sign in to comment.