Comments (1)
Safe Z was originally implemented to avoid hitting plants beneath the Z-axis. It is an interesting edge case to hear you need to avoid hitting something above the Z-axis!
It would probably be tricky for us to implement an Always Enforce Safe Z type setting, and such a setting would also have many unintended consequences/tradeoffs. For example, with such a setting enabled you would not be able to move in the X/Y plane near the soil surface for a rotary tool weeding operation. You also would not be able to pull a tool out of a slot, or put it back in!
However, I think there is a relatively straightforward workaround for you to consider, which is to modify YOUR COPY of the more advanced sequences in your account, rather than creating your own version from scratch. The advanced sequences (Soil Height Grid, Weed Detection Grid, Water All, etc) are all written in Lua and you can modify the code for your purposes. In the example below, I have just added , safe_z = true
to the movement call:
![Screenshot 2023-11-18 at 4 34 23 PM](https://private-user-images.githubusercontent.com/5524043/284029846-c344e8d9-2b0d-4154-8fb3-e10d8cc1563e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI3MDIzNTEsIm5iZiI6MTcxMjcwMjA1MSwicGF0aCI6Ii81NTI0MDQzLzI4NDAyOTg0Ni1jMzQ0ZThkOS0yYjBkLTQxNTQtOGZiMy1lMTBkOGNjMTU2M2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDQwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA0MDlUMjIzNDExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmJmZGU5YjJlOWU0ZTFiMWRiMWFhYWI4ZDliMDg1NThlMGIzMWNjYmU2MDk2ZDYzMjAzZjU1NGIwNTU4YTFiZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.AtJHlRY4-jFCPBl_7dhCsHsBRr0HIAu45oHpTONZx1k)
Edit: If you wanted to get more advanced/efficient, you could add a conditional in there as you did in your example, to only use Safe Z in the necessary areas.
from farmbot-web-app.
Related Issues (20)
- Buttons and LEDs v2
- Controls Power Button
- Table-ize Settings
- Date set is not equal to date selected in datepicker HOT 1
- Water Flow Rate
- Gantry Height
- Improve motor load/stall indication HOT 1
- Webapp shows farmbot as offline (but it is switched on) HOT 1
- Curves
- Connectivity Popup Network Tab
- Allow variable rename that's in use
- Logs Tab in Jobs Popup
- Controls Popup
- AI Generated Lua + Sequence Description, Name, and Color
- 3D Electronics Box Buttons HOT 1
- Routes should not be stored in the state
- Found this conflicting local requirement. HOT 1
- lua coding interface
- 3D Farm Designer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from farmbot-web-app.