Arming of a swarm #1358
Answered
by
matejkarasek
matejkarasek
asked this question in
Q&A
-
Hi, I would like to fly a swarm of crazyflies that require arming (CONFIG_MOTORS_REQUIRE_ARMING=y) like in the synchornizedSequence.py example: In older firmware, you could just arm/disarm the crazyflie by setting a parameter to true/false, which was easy to do with swarm.parallel_safe(...). Now that the arming is handled via the CRTP arming message, I didn't manage to find a solution yet. Thanks for any advice! |
Beta Was this translation helpful? Give feedback.
Answered by
matejkarasek
Jun 17, 2024
Replies: 1 comment 2 replies
-
I expect I need to use the send_arming_request function, but did not figure out how to do that for a swarm... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, yeah, that was a pointer in the right direction...
The platformservice, where the send_arming_request function sits, is initialized as "platform", so adding
cf.platform.send_arming_request(True)
did the trick!Thanks! (and apologies for the late reply, only got to try this now...)