Skip to content

Commit

Permalink
Initiate the Drone obj as observer
Browse files Browse the repository at this point in the history
We want to run the foxglove bridge as observer so it is possible to connect with a control app after it is started.
  • Loading branch information
aviggen committed Sep 4, 2024
1 parent fbaf81c commit c8a2b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/foxglove_bridge_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_protobuf_descriptors(namespace):

async def main():
# Initialize the drone
myDrone = Drone()
myDrone = Drone(connect_as_observer=True)
myDrone.telemetry.add_msg_callback([], parse_message, raw=True)

# Specify the server's host, port, and a human-readable name
Expand Down

0 comments on commit c8a2b50

Please sign in to comment.