I have made a new drone using the bolt. While when I run the example: flowsequenceSync.py.
During the takeoff, the drone drifts too much. But when I try to decrease the flying time during the takeoff, the drift issue will be mitigated. It looks like the drone will take off much faster than before. When I use the Xbox controller to control the drone using the hover mode, the drone could stable hover without drift. My question is:
How can I solve the issue to run the example I mean slowly take off without too much drift?
Origonal code:
Code: Select all
for y in range(10):
cf.commander.send_hover_setpoint(0, 0, 0, y / 25)
time.sleep(0.1)
Code: Select all
for y in range(4):
cf.commander.send_hover_setpoint(0, 0, 0, y / 10)
time.sleep(0.1)
Cheers!