Skip to content

Commit

Permalink
Update src/surface/flight_control/flight_control/manual_control_node.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Carlstrom <36806982+InvincibleRMC@users.noreply.github.com>
  • Loading branch information
benjaminwp18 and InvincibleRMC authored Jun 1, 2024
1 parent a1db39c commit 7c2fd07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(self) -> None:

controller_mode = ControllerMode(mode_param.value)

if controller_mode == ControllerMode.TOGGLE_CAMERAS:
if controller_mode is ControllerMode.TOGGLE_CAMERAS:
# Control camera switching
self.misc_controls_callback = self.toggle_cameras
self.camera_toggle_publisher = self.create_publisher(
Expand Down

0 comments on commit 7c2fd07

Please sign in to comment.