Find_home("all") axis reversal

I just executed find_home(“all”) and it did find home but instead of Z,Y, then X, it did X,Y then Z.
This caused serious issues as the head was just above ground height and it damages plants.

Is it just my system that is doing this or are other people seeing this?

1 Like

All bots running current software will see the order you’ve reported . . here’s the code :slight_smile:
It’s a simple software change and worth reporting (@axis defines the home-find-order for “all” axes).

image

1 Like

Ok. That explains it. How do we get this code changed to the correct sequence as per the documentation? If you call find_home from a sequence it does, Z,Y,X but from LUA it does it in the incorrect order. I only found this out when I noticed a few destroyed plants!

That’s right, the pre-Lua code does this

image

Submit a brief descriptive Issue on the GitHub farmbot_os repo.

Erk. I had a look at GitHub and I cannot even find the bit you found. I do not know how to find it or report it.

I tried navigating down the Farmbot_os/lib tree but I do not know how to do it.
There is obviously an issue with the Lua code.

Are you able to help?

Done. Your name in lights :smile: GitHub · Where software is built

Thanks. Really appreciate it.

1 Like