print drone status arm

This commit is contained in:
Sem van der Hoeven
2023-06-06 17:17:43 +02:00
parent 4998acc7d2
commit ee79147c8c
2 changed files with 6 additions and 0 deletions

View File

@@ -72,6 +72,9 @@ class DroneStatusNode(Node):
self.control_mode = "unknown"
def arm_status_callback(self, msg):
print("Got arm status callback!")
if msg.armed:
print("DRONE IS ARMED")
self.armed = msg.armed
def route_status_callback(self, msg):