Hello,
I’m trying to Land using function “drone.action.land()”.
But it is too fast!
I would like to it slow but can’t find the commander as well.
Please let me know how can control land speed.
Thanks!!!
Hello,
I’m trying to Land using function “drone.action.land()”.
But it is too fast!
I would like to it slow but can’t find the commander as well.
Please let me know how can control land speed.
Thanks!!!
Isn’t this a PX4 param?
Did you mean ‘drone.action.land()’ is px4’s param???
I don’t think so…
I’m using mavsdk’s python example script as belows,
#!/usr/bin/env python3
import asyncio
from mavsdk import System
async def run():
drone = System()
await drone.connect(system_address="udp://:14540")
status_text_task = asyncio.ensure_future(print_status_text(drone))
print("Waiting for drone to connect...")
async for state in drone.core.connection_state():
if state.is_connected:
print(f"-- Connected to drone!")
break
print("Waiting for drone to have a global position estimate...")
async for health in drone.telemetry.health():
if health.is_global_position_ok and health.is_home_position_ok:
print("-- Global position estimate OK")
break
print("-- Arming")
await drone.action.arm()
print("-- Taking off")
await drone.action.takeoff()
await asyncio.sleep(10)
**print("-- Landing")**
** await drone.action.land()** ## I’m asking about here!!!
status_text_task.cancel()
async def print_status_text(drone):
try:
async for status_text in drone.telemetry.status_text():
print(f"Status: {status_text.type}: {status_text.text}")
except asyncio.CancelledError:
return
if name == “main”:
loop = asyncio.get_event_loop()
loop.run_until_complete(run())
Hello, @Cori_ander!
Parameter Reference | PX4 User Guide
There are two param - MPC_LAND_CRWL and MPC_LAND_SPEED.
For first param minimal speed is 0.3 m/s, for second - 0.6 m/s.
First param will work only if you have LIDAR. And set param MPC_LAND_ALT3.
But all this speed (0.3/0.6) is too fast for somes drone. My drone usually crashed when land with command.
Sorry, Now I understand what you talking about.
Is it about QGC’s param?
Thank you for your answer!!!
I don’t have Lidar but now I understand what was going on.
I’m not sure but I’ll try to check about QGC’s param.
Am I thinking right??
@Cori_ander
Yes it is!
You can find and set it in QGC.
Also you can read and write this param with mavsdk.param.
.
http://mavsdk-python-docs.s3-website.eu-central-1.amazonaws.com/plugins/param.html
Thank you so much your answer! I will try soon!