some problem about Terrain Following

hello,friends!

I test terrain following last week,but failed badly,almost lost my plane!There were some problem puzzling me.

3691173515?profile=original

 

First,what's the difference between Absolute and Terrain?I have read "http://plane.ardupilot.com/wiki/common-terrain-following/",it says as bellow 
3691173528?profile=originalBut it didn't mention what should be done in the MP? Does all I need in the MP is just to choose "Terrain"?

Second, should I both choose the "Terrain" and "Verify Height"? I see that once I choose "Verify Height",the "Alt" will change.but i can't figure out the relationship.

Last, sometimes "no terrain data"will show in the MP if I connect PIX.I think it's beceuse I set "TERRAIN_ENABLE to 1 and TERRAIN_FOLLOW to 1",and no terrain data in SD card. Does that mean that if no prompt shows,terrain follow is ok?

You need to be a member of diydrones2 to add comments!

Join diydrones2

Email me when people reply –

Replies

  • Hello, I`m also very very interested in understanding exactly what the plane will do in function of different settings.

    It is a pity that there is no wiki where a detailed description can be found or test flight can be reported & shared. (I do have my own wiki where I`m collecting all type of DIY Drones data and info, but I do not think that is the best place for the moment to create a detailed description - you might visit it at drones4all.info)

    By the way, I created another discussion issue at http://diydrones.com/forum/topics/terrain-following-documentation-q... where there are some other doubts I have in relation to TERRAIN FOLLOWING.
    SETTINGS.IT
  • Hi did you ever get this sorted out? I wish there was a detailed glossary on the parameter terms. For example, the difference between ter_alt and curter_alt?

    Anyway, if you figured it all out, I would appreciate a few details on your approach. Thanks!

  • Absolute is above Sea Level. If you enter 50m it will fly at 50m above MSL until it hits a 75m hill. If launch is above 50m, then it will try to fly under the ground.

    Terrain will try to maintain a constant height above the ground underneath it using an uploaded terrain database. This calculation occurs real time inside the Puxhawk, even if not on a flight plan, like RTL.

    Verify Height is similar, but the calculation occurs inside Mission Planner only at each waypoint. It simply adds the Google Earth elevation to the requested altitude. If there is a hill between waypoints, it will not know to compensate, whereas TF will adjust. Verify Height is also available to the APM because no onboard data storage is required.

    Much of the difficulty and confusion you are experiencing is because the TF feature is not fully implemented in MP. It was developed by Andrew Tridgell who uses MAVProxy instead of Mission Planner.
    There are many github requests for terrain following improvements in Mission Planner but they are coming rather slowly. You may notice a new small improvement where the Elevation Profile tool now shows the aircraft following the terrain. There is still a lot of improvement needed to visualize the aircraft's vertical path.
    Here are some discussions:
    https://github.com/diydrones/MissionPlanner/issues/566
    https://github.com/diydrones/MissionPlanner/issues/573
    • hi,iskess,

      Thanks for your reply.And I have read your post,many problem you mentioned is my question.

      Have you ever successfully test TF function?And can you post the TF setting? I badly need this fuction because my area is extremely hilly!

       Thanks! 

      • I tested TF using the default settings and it worked very well. Just be sure that the terrain gradient doesn't exceed the climb capability of the aircraft. It works well in hilly areas, but not in mountainous terrain.
        • I want to fly in mountainous terrain.. What's your setting? Just set "TERRAIN_ENABLE to 1 and TERRAIN_FOLLOW to 1; and select terrain while mission planing,not select verify height and make sure terrain data available in SD card? Another question,my

          • Yes, you described the settings perfectly. It's really that easy. The hard part is visualizing how the plane will actually fly over the terrain. For example, will it dive into a steep canyon? This behavior is adjusted by the Look Ahead parameter, but how do you know how to set it properly?
            • What does look ahead para mean.?

              For example,if i set look ahead=500 m, fly height=200m, and if the Home alt=100 ,highest point's alt in the 500m distance ahead is 400m. What would happen ?

              At the launch point,will it fly at  600m(200m higher than the highest point)?

              Or just fly at 400m high  to make sure the plane won't crash into the highest point?

              • It will try to look at the terrain ahead to smooth out the profile to fly so it doesn't climb and dive at each little bump. If there is a valley 200m ahead and a hill at 500m ahead, it won't start descending if that puts the plane in a position that it cant make the climb to cross the peak at 600m altitude. It uses the TECS climb max parameter to determine this.
                So the higher the Look Ahead, the smoother the vertical profile will be. If you are just interested in a safe ground clearance then use a big Look Ahead value. If you want to follow the ground contours very closely, then use a smaller value. There is no way to know for sure if the terrain gradient will exceed the aircraft climb performance. The Mission Planner Elevation Profile is the only way to visualize this.
                • Hi @iskess , could you tell me where I can find the Mission Planner Elevation Profile screen?

This reply was deleted.

Activity

Jørn Ramnæs liked VIDEO LINK's profile
1 hour ago
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
6 hours ago
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
8 hours ago
DIY Robocars via Twitter
https://t.co/rLmFr8M2UK
11 hours ago
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
23 hours ago
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
yesterday
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
Tuesday
DIY Robocars via Twitter
https://t.co/8EMCvYW6oz
Tuesday
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
Monday
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
Sunday
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
Saturday
DIY Robocars via Twitter
RT @Heavy02011: Join us Saturday online: Virtual Race League: @DIYRobocars Race #2 - Parking Lot Nerds https://t.co/aJUu4sdutx #Meetup via…
May 22
DIY Robocars via Twitter
RT @donkey_car: Yay, we are part of the virtual @makerfaire with @diyrobocars. Come see our race or better yet train a model and race with…
May 21
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars Virtual AI Race is going to be part of the virtual @makerfaire on Sat! https://t.co/wnMDAboLID
May 20
DIY Robocars via Twitter
RT @tawnkramer: Please join us next week for our second DIYRobocars online race. We will be using a new Mountain Track course! https://t.co…
May 19
DIY Robocars via Twitter
RT @SmallpixelCar: I realized that the size of the cones in @diyrobocars is known. If we can detect the bounding box, which can be done wit…
May 19
More…