# 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:** 15

<div class="post-metadata">

**Author:** ![louseb84](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/4da419/32.png) [@louseb84](https://discourse.agopengps.com/u/louseb84)\
**Post date:** [26 October 2022 07:11 UTC](https://discourse.agopengps.com/t/tree-planning/3051/282 "2022-10-26T07:11:34Z")

</div>

hello,

I discover this version which interests me strongly.  
for me it would be for planting vines.

I downloaded the version after reading the subject (not all) but I don’t quite understand how to create the planting grid with the tree.  
I also read “tree planner panel-D” in the download folder but unfortunately the photos are not loading.

do any of you have a video showing the procedure?

thank you

---

<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 2022 10:37 UTC](https://discourse.agopengps.com/t/tree-planning/3051/283 "2022-10-26T10:37:26Z")

</div>

open “tree planner panel-d.html” and read it.  
try to use the simulator mode

if it is useful I will make a video in the next days.

---

<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:** [30 October 2022 12:09 UTC](https://discourse.agopengps.com/t/tree-planning/3051/284 "2022-10-30T12:09:29Z")

</div>

> **[NewVideo1.rar](https://drive.google.com/file/d/1VLBCuMDsfF3qj4z-bYPQdgOF_QEDAt84/view?usp=share_link)**
>
> Google Drive file.

This is the procedure I usually do to start planting trees

---

<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:** [30 October 2022 13:53 UTC](https://discourse.agopengps.com/t/tree-planning/3051/285 "2022-10-30T13:53:47Z")

</div>

Yes, that’s how it should work. There are several settings in the tree panel as well.

---

<div class="post-metadata">

**Author:** ![louseb84](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/4da419/32.png) [@louseb84](https://discourse.agopengps.com/u/louseb84)\
**Post date:** [30 October 2022 18:03 UTC](https://discourse.agopengps.com/t/tree-planning/3051/286 "2022-10-30T18:03:04Z")

</div>

hello,

thank you.

I was able to play around with the simulation mode a bit today by following the instructions on tree planner panel-d.html.

I arrived at the same method of use as you by creating an A-B line on one of the borders of the field.

 ![Capture tree planing](https://discourse.agopengps.com/uploads/default/original/2X/e/e782a5cb885ff5b9cbc0983720fadbd59227404f.jpeg)  
 ![Capture tree planing 1](https://discourse.agopengps.com/uploads/default/original/2X/b/b27cb189a7889cbfae3c3990bcb62dba9007c93b.jpeg)

there is no way to tell the program to plant a plane in front of each line on the field border.?

to get an idea, as in viticulture we plant very close to the line (about 1 meter) we like to finish the field at a regular distance from the real edge of the field (between 6 and 10 meters) to be able to turn with the tractor and the tools.

with commercial planting gps system solutions the planting preparation procedure is as follows:

- they go around the field to create borders (often by putting the antenna on a pole)

- at the same time it creates the A-B line (often on an already existing row of vines)

- then in the software it determines the width of the headlands at the beginning and at the end of the lines. a first plant is systematically placed at the intersection of the headland line and the planting lines, there is also often an option to put another plant at the length between the plant brought in just after to facilitate the establishment of the trellis.  
all the other plants are planted at 90 degrees from the guide line. according to the software it is also possible to point a GPS point on an existing plant of the row of vines which served as a reference for the A-B line so that the placement on the line is the same on the new plantation as on the old one

- then he enters the distances between rows and between plants (in my screenshot 230cm x 115cm).

I don’t know how much time the modification of the AGO tree planner program can take to bring it closer to such a system and even if it is something achievable?

I have a good knowledge of Arduino programming but I have never practiced programming Windows software like 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:** [30 October 2022 18:12 UTC](https://discourse.agopengps.com/t/tree-planning/3051/287 "2022-10-30T18:12:24Z")

</div>

The u-turn distance is the headland. The tree button with a B sets the trees on the boundary.

You set the AB line anywhere you want it.

---

<div class="post-metadata">

**Author:** ![louseb84](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/4da419/32.png) [@louseb84](https://discourse.agopengps.com/u/louseb84)\
**Post date:** [1 November 2022 14:25 UTC](https://discourse.agopengps.com/t/tree-planning/3051/288 "2022-11-01T14:25:42Z")

</div>

hello,

I still try to understand the planting software.

When I select the “B” tree button I don’t understand the logic of the layout.

it places them randomly when it should place one in front of each line, right?

 ![InkedCapture tree planing 2.1](https://discourse.agopengps.com/uploads/default/original/2X/f/f27eebcd540e8e75b89c11882d84590cc6621bf7.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:** [1 November 2022 15:49 UTC](https://discourse.agopengps.com/t/tree-planning/3051/289 "2022-11-01T15:49:00Z")

</div>

Yes, it should be in front or in line with the rows or columns. I don’t remember which. Set the tree grid at the same time you set the boundary trees. Watch the green dot this is the reference point of both boundary trees and grid trees. If it moves, it will not place them correctly.

---

<div class="post-metadata">

**Author:** ![louseb84](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/4da419/32.png) [@louseb84](https://discourse.agopengps.com/u/louseb84)\
**Post date:** [30 December 2022 13:21 UTC](https://discourse.agopengps.com/t/tree-planning/3051/290 "2022-12-30T13:21:27Z")

</div>

hello,

I didn’t have much time to devote to understanding how to position the first plant on the border line.  
I place my green dot on the A-B line parallel to my planting lines.

at first it’s a detail for the first plant.

if I come back to you it is because I wonder if it would be possible/simple to recover the distance in X and Y by pressing a button?

let me explain.  
I have the idea of ​​using this AGO function to integrate it on the type of machine on this video.  
[https://youtu.be/53ad2BNFEAw](https://youtu.be/53ad2BNFEAw)

the usage logic I imagine would be as follows.

- I approach the location of the stake to be planted while driving manually.

- when I am less than 20cm in X and Y from the position I stop the tractor

- I press a button to connect to a digital pin of the arduino which launches a sequence starting by leveling the mast vertically on both axes (the antenna would be attached to the mast)

- once the leveling is done, the arduino interrogates the software to retrieve the offset in X and Y to be applied.  
the software should therefore be able to recover the exact position of the antenna when stopped, compare it to the theoretical position of the stake to be planted, calculate the offset and send it back to the Arduino.

all the arduino coding part with the installation of linear encoder, the upgrade with the actuators and the imu does not pose any problems for me.

the modification part of AGO on the other hand I admit that it is out of my current competences.  
I tried to look at the source code but when I try to make a modification I stumble on the ranges of the variables and I have no concept of the vectors for the calculation of the GPS position

do you think this is something doable and for which you would be able to help me for the AGO part.?

thank you

---

<div class="post-metadata">

**Author:** ![Gianfranco](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/g/4af34b/32.png) [@Gianfranco](https://discourse.agopengps.com/u/Gianfranco)\
**Post date:** [30 December 2022 20:10 UTC](https://discourse.agopengps.com/t/tree-planning/3051/291 "2022-12-30T20:10:02Z")

</div>

Are you planning to build an updated version of AogTree compatible with teensy?

---

<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:** [30 December 2022 23:22 UTC](https://discourse.agopengps.com/t/tree-planning/3051/292 "2022-12-30T23:22:52Z")

</div>

The arduino code can be run on a teensy, I believe. I think some have made the teensy run part of AOG. I will not be updating the AOG-Tree until version 6 of AOG comes out.

---

<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:** [30 December 2022 23:25 UTC](https://discourse.agopengps.com/t/tree-planning/3051/293 "2022-12-30T23:25:44Z")

</div>

Yes, I should be able to send out two bytes with x and y delta values. -127 to +127. I will look into this.

---

<div class="post-metadata">

**Author:** ![louseb84](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/4da419/32.png) [@louseb84](https://discourse.agopengps.com/u/louseb84)\
**Post date:** [4 January 2023 14:22 UTC](https://discourse.agopengps.com/t/tree-planning/3051/294 "2023-01-04T14:22:54Z")

</div>

hello and best wishes for this new year.

that would be great… 👍 👍

wanting to retrieve the GPS position while the tractor is stopped will not complicate the task.?  
the history of slow speeds is just for the calculation of the trajectory I presume.?

by playing around with the software this morning in simulation I realized that X and Y are inverted between the tree planning page and the distance rosette before the next plant in the main software.  
on my screenshot 230cm is the distance between two rows which follow my AB line and 115cm is the distance between two plants.

 ![x et y inverser](https://discourse.agopengps.com/uploads/default/original/2X/6/61faeec0708b52381b9579d7fbb0f94820af0bfa.jpeg)

on this subject, as I will have to use the tool for planting stakes on plots planted with another GPS planting system, will it be possible for you to add an offset adjustment box (between rows ) to make up for any differences between the two systems before sending the offset to be made to the Arduino.?

I also read the entire discussion to try to understand why I can’t position a plant at the intersection of the planting line and the border lines as is the case on this capture of screen.  
Was this version published and if so the algorithm is still present in version 5.2 that I installed.?

 ![treeplanning arbre de bordure](https://discourse.agopengps.com/uploads/default/original/2X/e/ec946a839bffcd6205ad48affaea164a5d66bd98.jpeg)

thanks again

---

<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:** [5 January 2023 15:10 UTC](https://discourse.agopengps.com/t/tree-planning/3051/295 "2023-01-05T15:10:46Z")

</div>

For the middle question about x and y. In the settings, x is the distance along the abline. In the main screen, x is right and left perpendicular to the path of travel. If your abline was at a 45 degree angle, x is still along the abline. But y is still in front and behind the tractor as it is traveling.

When sitting still. The heading can and does shift with a real gps. We may have to assume a heading while coming to a stop. Otherwise the x and y adjustments could be in any direction.

I’ll look through the tree code to see where the boundary grid planter may be. That post was over a year ago. It may take me a bit to find.

Edit:  
I did not respond to the question about shifting a line of trees over. If you are aligning with an existing row, it may be best to build a line of trees at a time. I think it locks the build button until you reset the whole field. It may be a feature to add. Does the abline stay true from old system to new? My thinking is look for all trees along this line and cycle through them shifting them perpendicular to the abline. But if the abline does not match, this will not work.

---

<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:** [5 January 2023 18:33 UTC](https://discourse.agopengps.com/t/tree-planning/3051/296 "2023-01-05T18:33:40Z")

</div>

For anyone reading this thread and are attempting to buy the Tree version, please beware. The Tree version is free to download and use. See below.

> [@Aggps.ca](https://discourse.agopengps.com/t/aggps-ca/11117):
>
> The company “[AGGPS.CA](http://AGGPS.CA)” is selling reconditioned laptops. The only service they are providing is a laptop with free software on it. The AgOpenGPS software is free to download and free to use. The help page sends you to this discourse. You still must buy and/or assemble the parts yourself. Any company or individual that is selling you this software is not being upfront with you. You can download any of this software and install it yourself. See also:

and

> **[aggps.ca](https://www.thecombineforum.com/threads/aggps-ca.342627/)**

---

<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:** [6 January 2023 09:51 UTC](https://discourse.agopengps.com/t/tree-planning/3051/297 "2023-01-06T09:51:54Z")

</div>

Thanks for the notice.  
I was wondering if in the next versions of Aog, instead of the yellow dot on top field view, it would be possible to make a top view like this video (right screen only). If it won’t be too complicated.  
Now to stop at the correct point I simply look at the distance to the tree.  
[Tree planting video.zip](https://discourse.agopengps.com/uploads/short-url/54oHBX65sl1esovkMOzpu5jo7KH.zip) (7,8 MB)

---

<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:** [6 January 2023 16:42 UTC](https://discourse.agopengps.com/t/tree-planning/3051/298 "2023-01-06T16:42:44Z")

</div>

I should be able to do that.

---

<div class="post-metadata">

**Author:** ![louseb84](https://discourse.agopengps.com/letter_avatar_proxy/v4/letter/l/4da419/32.png) [@louseb84](https://discourse.agopengps.com/u/louseb84)\
**Post date:** [13 January 2023 16:20 UTC](https://discourse.agopengps.com/t/tree-planning/3051/299 "2023-01-13T16:20:26Z")

</div>

ok, I see for X and Y.

> [@KentStuff](#):
>
> When sitting still. The heading can and does shift with a real gps. We may have to assume a heading while coming to a stop. Otherwise the x and y adjustments could be in any direction.

so either make a button in the general interface to lock the direction variable when starting a row or retrieve the last direction before the tractor stopped.?

> [@KentStuff](#):
>
> I’ll look through the tree code to see where the boundary grid planter may be. That post was over a year ago. It may take me a bit to find.

thank you,  
for the planter of stakes it is not of capital importance but in the idea of ​​later making me a machine to plant the vine it would be.

I wonder if it would not be interesting to also study the possibility of placing the green starting point by a button which would raise the GPS position (like that for point A and B of the A-B line).?  
it would align the new plantation perpendicularly with the old one already planted next to it.

> [@KentStuff](#):
>
> Edit:  
> I did not respond to the question about shifting a line of trees over. If you are aligning with an existing row, it may be best to build a line of trees at a time. I think it locks the build button until you reset the whole field. It may be a feature to add. Does the abline stay true from old system to new? My thinking is look for all trees along this line and cycle through them shifting them perpendicular to the abline. But if the abline does not match, this will not work.

normally at the software level there is no reason for there to be a lag.

on the other hand on the ground I could note a difference which can go up to more or less 5cm.  
the heading remains good from what I have seen, I think that the difference comes rather from a bad centering of the tool or from badly managing cant.

---

<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:** [7 February 2023 22:57 UTC](https://discourse.agopengps.com/t/tree-planning/3051/300 "2023-02-07T22:57:10Z")

</div>

@KentStuff Are you planning to update the tree planner before spring?

---

<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:** [7 February 2023 23:38 UTC](https://discourse.agopengps.com/t/tree-planning/3051/301 "2023-02-07T23:38:28Z")

</div>

I was waiting on version 6.0 to come through as it will be a major update. Then, using that version as a base, build the tree planner back into it. We should probably start a list of feature suggestions that everyone would like implemented.

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

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