Land problem in auto mode

Ok, I only need telemetry for rtk’s base station to work. But I will try your suggestions on Monday morning.

1 Like

Hello again Leonard, I tested what you said today. unfortunately nothing has changed. I’ll leave the bin file and screenshot of the tasks below, thanks

https://drive.google.com/drive/folders/1rRRl5ntOBU3PELiy-kl0e4Nr8uHlbxgO?usp=sharing

Hi @Andromeda,

You didn’t disable your rangefinder. Can you do a test with this set:
RNGFND1_TYPE 0

Please reboot your aircraft after making this change.

Can you then do the same auto mission. Then take off again and fly away and then change to RTL mode.

Thanks for your help on this!!

1 Like

Yes I made a mistake, I just unplugged the cable. I’m going to try disabling it completely today. While I’ve found you, please allow me to ask this: How can I land a high-speed quad on a 10 meter high waypoint to another waypoint with the same latitude and longitude and 3 meter height at a lower speed? Yesterday I did this with do_change_speed but the speed didn’t change and the quad almost hit the ground. The speed was also 2000 cm/s. I want to use much higher speed, but if I do that, I may crash.

Sorry, I don’t think I understand what you are trying to do.

Yes, it’s a bit complicated, I’m trying to figure it out myself, if I can’t, I’ll write in detail. I changed the parameter you mentioned and did the same task and unfortunately the quad started to rise again. I used the same brand and model telemetry on another quad. Land worked.

https://drive.google.com/folderview?id=1FyOF0Cj-ler8rayR2D2SX7YrVCJrL_Lu

Sorry @Andromeda for me to work out what is going on here I really need you to do the flights I ask you to do.

This last flight isn’t the same as the first flight where you ended the mission with a land. You are also not manually flying away after the failure and doing an RTL.

Your RTL height is set to 15m so it would be good if you could let the aircraft climb to 30 m before aborting.

Thanks for your help.

Oh yes, I’m going to enter a contest soon. That’s why I’m constantly making changes to missions. Sorry, I didn’t save previous missions. Since my flight area is a bit small, after allowing 30 meters in Rtl mode, if it doesn’t stop at 30 meters and continues to rise, I may miss the control (I checked it very hard on the first try the other day) and any destruction will not work for me. I hope you understand me. Now I can land Manual after automatic tasks and that’s enough for me. But to help you, at worst, after two weeks, after the competition, I will do all you want and that will make me happy. Thank you very much for your patience.

We think we fixed this problem for 4.2.3. The beta of this is coming out over the next couple days. It would be great if you could test using it.

And you really should leave that range finder disabled until you fix it.

Thanks!!

4 Likes

Sorry for writing a little late, Leonard. I’m glad you solved the problem. I will upload this(4.2.3). If there is a problem, I will write here.
I don’t know if it will be useful for you, but both land and RTL work when quad enter failsafe with 4.2.2 installed.
Respects…

Thanks @Andromeda !

No problem on the delay. Any time you can spend helping making the code better is highly valued!

It would be great if you can let us know if the problem shows itself on 4.2.3.

Thanks again for your help!

2 Likes

Hello @Leonardthall

Is there any advice on how to avoid this bug while version 4.2.3 doesn’t become stable? Is there any links to a pull request or commits that solved the problem?

Thanks in Advance,
Bruno Bagarini

Hi @BrunoBagarini

This is where I understand this problem was fixed:

2 Likes

@BrunoBagarini,

The easiest way to avoid the problem with 4.2.2 is to not set the Lat,Lon arguments of the Land command.

3 Likes

https://drive.google.com/drive/folders/1gxNf56KR0s1241iIj4UlmfsAV8ooEslf?usp=sharing

Hi Leonard, I hope you are well. I installed 4.2.3 today. I tried a short auto flight with 1 takeoff, 2 waypoints and land in it. I guess the problem is solved. land worked just fine. I’m leaving the .bin file here. thanks.

1 Like

Hi @Andromeda Thanks for all your help here mate!!

1 Like

I am not sure if it is related, but it has happened to me on several occasions that when sending the Land command flying in manual mode (Loiter) the drone does not decelerate when landing.
The drone has range finder and firmware 4.2.2
When the error has occurred, restarting the drone has fixed it.
The rangefinder has a range of 12 meters, it is configured to reduce the speed of descent to 7 meters.
The rangefinder correctly detects the height.
I do not have logs at hand, if it seems important to you I can look for one.

Thanks a lot for the tips @rmackay9 and @Leonardthall !

Please do provide logs.