Skip to content

Commit

Permalink
chat: minor format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Jan 3, 2024
1 parent 3839df3 commit 32011b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MAVProxy/modules/mavproxy_chat/chat_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,13 @@ def get_vehicle_type(self, arguments):
mavutil.mavlink.MAV_TYPE_VTOL_DUOROTOR,
mavutil.mavlink.MAV_TYPE_VTOL_QUADROTOR,
mavutil.mavlink.MAV_TYPE_VTOL_TILTROTOR]:
vehicle_type_str = 'Plane'
vehicle_type_str = "Plane"
if hearbeat_msg.type == mavutil.mavlink.MAV_TYPE_GROUND_ROVER:
vehicle_type_str = 'Rover'
vehicle_type_str = "Rover"
if hearbeat_msg.type == mavutil.mavlink.MAV_TYPE_SURFACE_BOAT:
vehicle_type_str = 'Boat'
vehicle_type_str = "Boat"
if hearbeat_msg.type == mavutil.mavlink.MAV_TYPE_SUBMARINE:
vehicle_type_str = 'Sub'
vehicle_type_str = "Sub"
if hearbeat_msg.type in [mavutil.mavlink.MAV_TYPE_QUADROTOR,
mavutil.mavlink.MAV_TYPE_COAXIAL,
mavutil.mavlink.MAV_TYPE_HEXAROTOR,
Expand Down

0 comments on commit 32011b0

Please sign in to comment.