# Tree Planning

**URL:** <https://discourse.agopengps.com/t/tree-planning/3051>\
**Category:** Software modifications\
**Created:** [22 October 2020 17:16 UTC](https://discourse.agopengps.com/t/tree-planning/3051 "2020-10-22T17:16:13Z")\
**Posts on this page:** 20\
**Page:** 11

<div class="post-metadata">

**Author:** ![KentStuff](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@KentStuff](https://discourse.agopengps.com/u/KentStuff)\
**Post date:** [20 October 2021 20:58 UTC](https://discourse.agopengps.com/t/tree-planning/3051/201 "2021-10-20T20:58:33Z")

</div>

The offset is for planting two different patterns. It plants the first xy pattern then restarts at the offset xy and plants again in the original xy spacing.

---

<div class="post-metadata">

**Author:** ![Ray\_Jorgensen](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/ray_jorgensen/32/7635_2.png) [@Ray\_Jorgensen](https://discourse.agopengps.com/u/Ray_Jorgensen)\
**Post date:** [20 October 2021 21:05 UTC](https://discourse.agopengps.com/t/tree-planning/3051/202 "2021-10-20T21:05:39Z")

</div>

@Edo I can’t help you. I was never able to get cival 3d to work for me. I did take kml to GE and modify there. Pretty easy.

---

<div class="post-metadata">

**Author:** ![Edo](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/e/e5b9ba/32.png) [@Edo](https://discourse.agopengps.com/u/Edo)\
**Post date:** [25 October 2021 06:35 UTC](https://discourse.agopengps.com/t/tree-planning/3051/203 "2021-10-25T06:35:47Z")

</div>

OK, very good, I understood, thanks.

if I want to plant an additional tree, which is not on the screen, can I go with the drill to the real position and then add it to Aog?

---

<div class="post-metadata">

**Author:** ![KentStuff](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@KentStuff](https://discourse.agopengps.com/u/KentStuff)\
**Post date:** [25 October 2021 06:47 UTC](https://discourse.agopengps.com/t/tree-planning/3051/204 "2021-10-25T06:47:43Z")

</div>

You can add individual trees, but it is click it, fairly simple to add though.

---

<div class="post-metadata">

**Author:** ![BriAK](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/briak/32/818_2.png) [@BriAK](https://discourse.agopengps.com/u/BriAK)\
**Post date:** [26 October 2021 17:22 UTC](https://discourse.agopengps.com/t/tree-planning/3051/205 "2021-10-26T17:22:44Z")

</div>

I’m getting ready to do some clearing on our heavily treed lot. So what I might need is the latest version, [AOG-Tree-5.0/AOG-Tree\_5.2b.zip at main · KentStuff/AOG-Tree-5.0 · GitHub](https://github.com/KentStuff/AOG-Tree-5.0/blob/main/AOG-Tree_5.2b.zip),

Then, I might be able to import my KML of the lot boundaries, then lay out my clearing lines which are planned for north/south every 55 ft. Sort of like in the graphic, attached.

 ![Screenshot_20211026-091638](https://discourse.agopengps.com/uploads/default/original/2X/7/7bf5bba8563edc55bc121518e58e539bfd3b7f25.jpeg)

Clearing lines in green.

Does that sound doable?

---

<div class="post-metadata">

**Author:** ![Edo](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/e/e5b9ba/32.png) [@Edo](https://discourse.agopengps.com/u/Edo)\
**Post date:** [26 October 2021 20:17 UTC](https://discourse.agopengps.com/t/tree-planning/3051/206 "2021-10-26T20:17:29Z")

</div>

I tried from the trees menu, but it is difficult to click (with touchscreen) in the exact spot of the drill. there are no other ways?  
Thanks.

EDIT:  
maybe there is a way, with the flags button.  
but it does not create the flag at the point of the drill, but in the center of the tractor.

---

<div class="post-metadata">

**Author:** ![Pic](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@Pic](https://discourse.agopengps.com/u/Pic)\
**Post date:** [31 October 2021 20:20 UTC](https://discourse.agopengps.com/t/tree-planning/3051/207 "2021-10-31T20:20:25Z")

</div>

Hi @KentStuff

I’m a fruit farmer from France. I used to ask a friend with his JD System to plant new orchard.

[Tree Planting with JD system](https://youtube.com/shorts/LrcoJd0mQLc?feature=share)

I started to test AGOpenGPS few month ago to be independant. I install the system on my NH TM120 to do some test with your tree planning soft that you give on this topic.

With the version 4.3.10, I add an external horn in the source code when I need to place the tree, and it works well.

Unfortunately, in this version, the autosteer is desactivated under 1 Km/h, but to plant apple tree every 1.25m I need to speed under 0.7Km/h.

Your last version 4.3.10 or the V5.2 allows to go at this speed but I don’t find the source code to add the sound planting.

Could you please, post the source code of any version ?

Thank you very much.

@Pic

---

<div class="post-metadata">

**Author:** ![KentStuff](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@KentStuff](https://discourse.agopengps.com/u/KentStuff)\
**Post date:** [31 October 2021 22:35 UTC](https://discourse.agopengps.com/t/tree-planning/3051/208 "2021-10-31T22:35:35Z")

</div>

Does the tablet play a sound, or does the arduino play the sound. If want to upload your horn script I’ll add it to the code with a setting to turn it off and on.

---

<div class="post-metadata">

**Author:** ![Pic](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@Pic](https://discourse.agopengps.com/u/Pic)\
**Post date:** [2 November 2021 13:23 UTC](https://discourse.agopengps.com/t/tree-planning/3051/209 "2021-11-02T13:23:23Z")

</div>

The tablet play a sound and the arduino switch a relay.

For the tablet :  
I use “SoundPlayer.play” to play a little sound placed in AgOpenGPS\Dependencies\Audio  
Problem is there is a delay with the function “soundplayer”, so I start to play 14cm before the tree ( 0.7km/h)  
Maybe It is cleaner to calculate this distance with the GPS speed, to be more accurate if I plant at different speed.

For the Arduino :  
I put “sd8” to 1 when the sound played. (sd8 is a free place in autosteer.data in 4.3.10)  
In the INO, I put a pin to HIGH when I see the “1”  
I don’t know if there is “sd8” in v5, or another free place in autosteer.data

Sorry for my poor english  
Thanks

---

<div class="post-metadata">

**Author:** ![KentStuff](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@KentStuff](https://discourse.agopengps.com/u/KentStuff)\
**Post date:** [2 November 2021 17:51 UTC](https://discourse.agopengps.com/t/tree-planning/3051/210 "2021-11-02T17:51:48Z")

</div>

I will see what I can do.

---

<div class="post-metadata">

**Author:** ![Pic](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@Pic](https://discourse.agopengps.com/u/Pic)\
**Post date:** [3 November 2021 09:30 UTC](https://discourse.agopengps.com/t/tree-planning/3051/211 "2021-11-03T09:30:56Z")

</div>

Ok Thanks and good luck  
Here a list of modifications in source code of 4.3.10

[Ring tree.pdf](https://discourse.agopengps.com/uploads/short-url/4Wa5pQdISSy8jKOBhmXkWpTviog.pdf) (63,0 Ko)

Just a question, why don’t you share the source code ?  
That take you less time et maybe more people can help you for this kind of features

---

<div class="post-metadata">

**Author:** ![GregPac](https://discourse.agopengps.com/user_avatar/discourse.agopengps.com/gregpac/32/7106_2.png) [@GregPac](https://discourse.agopengps.com/u/GregPac)\
**Post date:** [13 November 2021 09:55 UTC](https://discourse.agopengps.com/t/tree-planning/3051/212 "2021-11-13T09:55:11Z")

</div>

Hello, I do some test with this planting tree software, I’m also intereset to the ringbell when need to place the tree because it’s demande a lot on concentration to follow the screen for the operator.  
Thank you for all the work you do

---

<div class="post-metadata">

**Author:** ![KentStuff](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@KentStuff](https://discourse.agopengps.com/u/KentStuff)\
**Post date:** [15 November 2021 04:29 UTC](https://discourse.agopengps.com/t/tree-planning/3051/213 "2021-11-15T04:29:20Z")

</div>

I’ve added a sound to the AOG-Tree. In the new 5.xx there is not a place to add or modify the sounds. I could call it from another location, but in keeping with the 5.xx it is inside of the program. A simple beep beep beep. Also added the machine bit to the loop back. It sets and reads from the loop back. PGN 239. You can turn the sound off, and set the distance. Zero does not work if you are moving. The smaller the value, the less speed you can drive and get the sound. It overshoots it and there is no sound.

Also added a button to add a tree at the tool position. It is the fat number 2 section that now say Add Tree Here.

[AOG-Tree\_Bell.zip](https://github.com/KentStuff/AOG-Tree-5.0/blob/main/AOG-Tree_Bell.zip)

 ![image](https://discourse.agopengps.com/uploads/default/original/2X/a/ab8009f62de079aa6b2b8bd257f12a1be9d6c1ba.jpeg)  
 ![image](https://discourse.agopengps.com/uploads/default/original/2X/1/1b8c290a38982c7fded5b215042f9d81335499e5.png)  
 ![image](https://discourse.agopengps.com/uploads/default/original/2X/7/7f4662a28e2d601c564dee764cf87f6057bfc3e9.png)

---

<div class="post-metadata">

**Author:** ![Pic](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@Pic](https://discourse.agopengps.com/u/Pic)\
**Post date:** [19 November 2021 18:29 UTC](https://discourse.agopengps.com/t/tree-planning/3051/214 "2021-11-19T18:29:01Z")

</div>

Hi @KentStuff  
Thank you very much, I will try it.

---

<div class="post-metadata">

**Author:** ![Edo](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/e/e5b9ba/32.png) [@Edo](https://discourse.agopengps.com/u/Edo)\
**Post date:** [27 November 2021 13:43 UTC](https://discourse.agopengps.com/t/tree-planning/3051/215 "2021-11-27T13:43:49Z")

</div>

Hi Kenstuff,  
Thank you for adding the “Add Tree” button.  
I am trying to modify some trees with google earth, but when I go to import the modified .kml on Aog tree with “New Field From KML” function.  
I can’t see the trees.

Has anyone been able to do this?

---

<div class="post-metadata">

**Author:** ![KentStuff](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@KentStuff](https://discourse.agopengps.com/u/KentStuff)\
**Post date:** [27 November 2021 14:01 UTC](https://discourse.agopengps.com/t/tree-planning/3051/216 "2021-11-27T14:01:19Z")

</div>

Currently the trees do not load from the kml. They only save to the kml. This can be added, but it does not do this now. Best way to move a tree, is to add the tree where you want it and delete the old tree. I will try to add a load trees from kml file button.

---

<div class="post-metadata">

**Author:** ![Edo](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/e/e5b9ba/32.png) [@Edo](https://discourse.agopengps.com/u/Edo)\
**Post date:** [27 November 2021 17:42 UTC](https://discourse.agopengps.com/t/tree-planning/3051/217 "2021-11-27T17:42:52Z")

</div>

Thank you,  
I’ll do it this way.

i think it might be useful in the future to know the exact number of trees to buy.  
meanwhile I’m looking for a way to move the trees on the borders (obstacles, lakes, ditches …) with autocad map 3d.

Second question:  
Do you think there is a way to align the trees on the border to the trees on the other lines?  
I thought of drawing (with the tractor) a curved line on the boundary and another line perpendicular to the planted trees and drill at the intersection of the lines.

 ![WhatsApp Image 2021-11-27 at 18.41.29 (1)](https://discourse.agopengps.com/uploads/default/original/2X/e/e9441a15d8478f869bebf60c2309f8d86a80208e.jpeg)  
 ![WhatsApp Image 2021-11-27 at 18.41.29](https://discourse.agopengps.com/uploads/default/original/2X/f/f555f24c3a1de9a58f06589a475ef6f3e9a6db4b.jpeg)

---

<div class="post-metadata">

**Author:** ![KentStuff](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@KentStuff](https://discourse.agopengps.com/u/KentStuff)\
**Post date:** [27 November 2021 20:43 UTC](https://discourse.agopengps.com/t/tree-planning/3051/218 "2021-11-27T20:43:37Z")

</div>

The number of trees should be on the main screen. Or at least in the tree planner panel.

I’ll look into the boundary tree spacing.

---

<div class="post-metadata">

**Author:** ![KentStuff](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@KentStuff](https://discourse.agopengps.com/u/KentStuff)\
**Post date:** [28 November 2021 04:45 UTC](https://discourse.agopengps.com/t/tree-planning/3051/219 "2021-11-28T04:45:23Z")

</div>

> [@Edo](#):
>
> I’m looking for a way to move the trees on the borders (obstacles, lakes, ditches …) with autocad map 3d.

Will this file be a kml file or some other format? If kml, upload a sample and I’ll try to import it into AOG.

---

<div class="post-metadata">

**Author:** ![Edo](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/e/e5b9ba/32.png) [@Edo](https://discourse.agopengps.com/u/Edo)\
**Post date:** [29 November 2021 17:45 UTC](https://discourse.agopengps.com/t/tree-planning/3051/220 "2021-11-29T17:45:20Z")

</div>

here is an example of a .kml file modified with autocad, it is very interesting because you can move a tree in any way with great precision.  
But Autocad changed the layer icon, and now the trees on google earth look different.

 ![image](https://discourse.agopengps.com/uploads/default/original/2X/b/bb1c7693bc121efa35f7e1d1fcf7ac73dd0f75f0.jpeg)

if you will be able to upload these trees to Aog Tree that would be very cool.

[test6ok.kml](https://discourse.agopengps.com/uploads/short-url/fJLPRsiJ3D92OYFDuZtQ7Yo79WZ.kml) (440,0 KB)

Thanks.

[Previous page](https://discourse.agopengps.com/t/tree-planning/3051.md?page=10)

[Next page](https://discourse.agopengps.com/t/tree-planning/3051.md?page=12)
