Skip to content

OWL working principle #115

Answered by geezacoleman
gnaegit asked this question in Q&A
Jan 10, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

That's correct, determining, happens at this step on lines 378 - 288 of owl.py:

 # loop over the ID/weed centres from contours
for ID, centre in enumerate(weedCentres):
    # if they are in activation region the spray them
    if centre[1] > self.yAct:
        sprayTime = time.time()
        for i in range(self.nozzleNum):
            # determine which lane needs to be activated
            if int(self.laneCoords[i]) <= centre[0] < int(self.laneCoords[i] + self.laneWidth):
                # log a spray job with the controller using the nozzle, delay, timestamp and spray duration
                # if GPS is used/speed control, delay can be updated automatically based on forward speed

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gnaegit
Comment options

@gnaegit
Comment options

@geezacoleman
Comment options

Answer selected by gnaegit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants