Skip to content

Commit

Permalink
Fix weeding automation settings in operation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
angelom93 committed May 6, 2024
1 parent 6b0f9c5 commit 0479751
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions field_friend/interface/components/operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ def show_field_selection() -> None:
ui.checkbox('Chop if no crops', value=False) \
.bind_value(self.system.weeding, 'chop_if_no_crops') \
.tooltip('Set the weeding automation to chop also if no crops seen')
elif self.system.field_friend.tool in ['weed_screw', 'dual_mechanism']:
ui.number('Drill depth', value=0.02, format='%.2f', step=0.01,
min=self.system.field_friend.z_axis.max_position, max=self.system.field_friend.z_axis.min_position*-1) \
.props('dense outlined suffix=°').classes('w-24') \
.bind_value(self.system.weeding, 'weed_screw_depth') \
.tooltip('Set the drill depth for the weeding automation')
ui.number('Crop safety distance', value=0.01, step=0.01, min=0.0, max=0.05, format='%.2f') \
.props('dense outlined suffix=m').classes('w-24') \
.bind_value(self.system.weeding, 'crop_safety_distance') \
Expand Down

0 comments on commit 0479751

Please sign in to comment.