Code dedicated to the electric motor and its disengagement in the event of setpoint error accumulation.
00:00 Introduction
00:22 How to set it up
00:31 How to use it
01:08 How it works
02:34 How to program it in the Arduino
03:21 Have fun!
Defining a new virtual steering wheel rotation sensor that can be adjusted in AgOpenGPS parameters
During autosteering, the WAS evaluates the error in the WAS setpoint (wheel angle sensor): If the error is maintained or reduced, this can be considered normal. But if the error is increasing, it's an abnormal situation, such as manual steering or a problem with the steering sensor.
This code checks the evolution of the error and accumulates an index according to the abnormal situation.
As a result, it stops the autosteer if the steering wheel rotation sensor value exceeds the index.
Depending on the quality of the AgopenGPS response and the hardware, we can set the value of the turn sensor between 30 and 60.
File available
github.com/Entropiemaximun/AO...
Bonus for Switch mode and autosteer stop (code by Matthew Elias)
github.com/m-elias/AgOpenGPS_...
----------------------------------------------------------------------
Jenny's Theme by Audionautix is licensed under a Creative Commons Attribution 4.
Негізгі бет Ғылым және технология AgOpenGPS (DIY) / Virtual "Turn Sensor" on the number of errors
Пікірлер: 7