Crazyflie landing code #1585
Replies: 4 comments 8 replies
-
There's a discrepancy between the time you sleep the Python program and the duration of your commands. The Python program does not block while the commander commands are executing, meaning that |
Beta Was this translation helpful? Give feedback.
-
We didn't write anything onto the crazyflies firmware. We use 1 radio and
we did change the uri for each drone so we can differentiate them. Even
when flying a single drone I faced this problem. Even when I connect a
single drone to cfclient and fly it through their take off button, the
drone just doesn't fly smoothly. Before they used to sometimes but now all
of them are just either flipping or don't fly. I updated each of their
firmware to latest, the hardware in all seems good. The lighthouse seems to
work just fine. Yet the drones don't fly properly whether it's with code or
cfclient. One of them was flipping then I updated its firmware in cold boot
then tried doing take off from cfclient it flew and hovered smoothly. Then
again after I restarted it, it started flipping over again.
…On Wed, 30 Oct 2024, 19:19 Rik, ***@***.***> wrote:
Another culprit could be communication. How did you set up your URIs and
how many radios are you using? Do you see the same problems when flying a
single drone? Are you using the commander from the cflib like in the above
example?
—
Reply to this email directly, view it on GitHub
<#1585 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJXCOQ6T4SPVJKAK2BQKIT3Z6D2GTAVCNFSM6AAAAABPR2TKC2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJQGE3TCMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I only have 1 base station 2. I was able to calibrate using 1 base station
v2 but I can't find the link where I saw the steps from so I can
recalibrate. Do you know where I can find it?.
Also for the take off using client yes I was able to fly them before but
now they just flip. I think I will try without any reflective surface as
well.
…On Wed, 6 Nov 2024, 17:53 Rik, ***@***.***> wrote:
Even if the Lighthouse system seems operational, please recalibrate it,
especially if there were recent changes to the environment. Even subtle
changes can interfere with the localization, leading to unexpected flips or
instability. Make sure there are no reflective surfaces at all. I've had
problems with something as small as a metal chair leg.
Weak or unstable battery power can cause motors to lose power mid-flight.
If you haven't already, try replacing the batteries.
When using a single Crazyradio to control multiple Crazyflies, make sure
to keep them on the same channel and different addresses.
Can you fly it through other means? Like using the take-off and direction
buttons in the client?
—
Reply to this email directly, view it on GitHub
<#1585 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJXCOQYCLDAX67YKBOJYMF3Z7INNDAVCNFSM6AAAAABPR2TKC2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJWG4YDGOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to code my first script without using any decks but the AI Deck. I've been trying to find a way to control the robot with code that doesn't require a flow deck (or something similar). How exactly would you run that script you've written? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I have written a code to just simply make the drone go up, hover and land. It does go up just fine but it does not land smoothly. the drone motors just stops midair and it abruptly falls down everytime i have made them fly using any code. PLease how can I modify the code so the motors stop working after the drone has landed.
My code:
Beta Was this translation helpful? Give feedback.
All reactions