Skip to content

Commit 2e8c357

Browse files
committed
LP-564 Add comments about ArmedField.ARMED
1 parent f8d32a3 commit 2e8c357

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

python/examples/example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ def driveInput(self):
167167
self.objMan.ManualControlCommand.updated()
168168

169169
print "Arming board using Yaw right"
170+
# FIXME: Seems there is a issue with ArmedField.ARMED, 2 equals to the ARMED state
170171
while (self.objMan.FlightStatus.Armed.value != 2):
171172
self.objMan.ManualControlCommand.Yaw.value = 1
172173
self.objMan.ManualControlCommand.updated()
@@ -230,6 +231,7 @@ def driveInput(self):
230231
time.sleep(1)
231232

232233
print "Disarming board using Yaw left"
234+
# FIXME: Seems there is a issue with ArmedField.DISARMED, 0 equals to the DISARMED state
233235
while (self.objMan.FlightStatus.Armed.value != 0):
234236
self.objMan.ManualControlCommand.Yaw.value = -1
235237
self.objMan.ManualControlCommand.updated()

0 commit comments

Comments
 (0)