From 2e8c357f27184474741e4d502818ea3e268108e2 Mon Sep 17 00:00:00 2001 From: Laurent Lalanne Date: Sun, 10 Dec 2017 00:02:18 +0100 Subject: [PATCH] LP-564 Add comments about ArmedField.ARMED --- python/examples/example.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/examples/example.py b/python/examples/example.py index f93ece6b7..a43fbbf20 100644 --- a/python/examples/example.py +++ b/python/examples/example.py @@ -167,6 +167,7 @@ class UavtalkDemo(): self.objMan.ManualControlCommand.updated() print "Arming board using Yaw right" + # FIXME: Seems there is a issue with ArmedField.ARMED, 2 equals to the ARMED state while (self.objMan.FlightStatus.Armed.value != 2): self.objMan.ManualControlCommand.Yaw.value = 1 self.objMan.ManualControlCommand.updated() @@ -230,6 +231,7 @@ class UavtalkDemo(): time.sleep(1) print "Disarming board using Yaw left" + # FIXME: Seems there is a issue with ArmedField.DISARMED, 0 equals to the DISARMED state while (self.objMan.FlightStatus.Armed.value != 0): self.objMan.ManualControlCommand.Yaw.value = -1 self.objMan.ManualControlCommand.updated() -- 2.11.4.GIT