Skip to content

Commit

Permalink
recognize more autopilots
Browse files Browse the repository at this point in the history
  • Loading branch information
PonomarevDA committed Jun 12, 2024
1 parent 73c1072 commit 310ce03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ def __str__(self) -> str:

class AutopilotInterface:
KNOWN_AUTOPILOTS = {
'/dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0' : "CUAV V5+",
'/dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v5.x_0' : "PX4 CUAV V5+",
"/dev/serial/by-id/usb-Auterion_PX4_FMU_v6X.x_0" : "PX4 v6X",
"/dev/serial/by-id/usb-Auterion_PX4_FMU_v6C.x_0" : "PX4 v6C",
}
def __init__(self) -> None:
self._autopilot = None
Expand Down

0 comments on commit 310ce03

Please sign in to comment.