leaving the charging station "perimeter error"

mbatorowicz

Member
Hello, after charging the battery I click on "auto mode" and the mower goes back a moment and "perimeter error" appears. What can be improved to make the departure from the charging station correct?
 
The times you can set in the Station menu must be enough for the mower to leave the station and return to the inner area of the perimeter loop.
I haven't checked the code yet, but while the mower is in a SATE of station, the perimeter is not checked.
Gruß Fürst Ruprecht
 

Anhänge

  • 6A7F0B4A-CC2C-4176-B334-90860B55E103.png
    6A7F0B4A-CC2C-4176-B334-90860B55E103.png
    688,6 KB · Aufrufe: 10
I have the settings as in the pictures. Nevertheless, the mower reverses 10 cm and stops and errors appear as in the pictures. I don't know what can be wrongly set anymore. The descriptions in the application are completely unclear to me. It is not known which setting is responsible for what. There should be some description for the settings.
 

Anhänge

  • IMG_20210617_210425 — kopia.jpg
    IMG_20210617_210425 — kopia.jpg
    2,4 MB · Aufrufe: 29
  • IMG_20210618_095921.jpg
    IMG_20210618_095921.jpg
    3,6 MB · Aufrufe: 31
  • Screenshot_2021-06-18-09-40-34-507_au.com.forward.pfodApp — kopia.jpg
    Screenshot_2021-06-18-09-40-34-507_au.com.forward.pfodApp — kopia.jpg
    138,6 KB · Aufrufe: 29
  • Screenshot_2021-06-18-09-40-53-189_au.com.forward.pfodApp — kopia.jpg
    Screenshot_2021-06-18-09-40-53-189_au.com.forward.pfodApp — kopia.jpg
    147,7 KB · Aufrufe: 21
  • Screenshot_2021-06-18-09-41-12-360_au.com.forward.pfodApp.jpg
    Screenshot_2021-06-18-09-41-12-360_au.com.forward.pfodApp.jpg
    99,8 KB · Aufrufe: 26
Zuletzt bearbeitet:
what strikes me first:
-why is the battery voltage so low? Are you using a different battery?
-the error counter perimeter has run up to 255, which immediately causes the error when driving out of the garage.
You must reset the error counter and try again. But why does the error counter run up? I have to look at that in the code later.
Gruß Fürst Ruprecht
 
and check the timing: the longest way is to reverse out of the garage. what do you do then? turn backwards counterclockwise to avoid driving out of the perimeter wire?
 
so checked the conditions for "ERR_PERIMETER_TIMEOUT"
in robot.cpp: in my case with two perimeter-receiver:
if (perimeter.signalTimedOut(0) && perimeter.signalTimedOut(1)) { //FR 29.05.2021
if ( (stateCurr != STATE_OFF) && (stateCurr != STATE_MANUAL) && (stateCurr != STATE_STATION)
&& (stateCurr != STATE_STATION_CHARGING) && (stateCurr != STATE_STATION_CHECK)
&& (stateCurr != STATE_STATION_REV) && (stateCurr != STATE_STATION_ROLL)
&& (stateCurr != STATE_STATION_FORW) && (stateCurr != STATE_REMOTE) && (stateCurr != STATE_PERI_OUT_FORW)
&& (stateCurr != STATE_PERI_OUT_REV) && (stateCurr != STATE_PERI_OUT_ROLL) && (stateCurr != STATE_PERI_TRACK)) {
Console.println("Error: perimeter too far away");
addErrorCounter(ERR_PERIMETER_TIMEOUT);
setNextState(STATE_ERROR,0);
}
}

can you check the states beginning with charging and then leaving the Garage.

Gruß Fürst Ruprecht
 
This is my 4x4 18650 battery, this is its maximum voltage value. The times are set as shown on the printscreen. After charging, the mower switches to STATE. When Auto Mode is selected, the mower will reverse for 0.5 seconds and stop with errors. I am more interested in this CHARGER error, it can cause the PERIMETER TIMEOUT error.
 
leaves the station. I increased the station reverse check time to 5 seconds and it leaves the station but stops. It does not turn. The error "charger" is displayed.
 
I have the settings as in the pictures. Nevertheless, the mower reverses 10 cm and stops and errors appear as in the pictures. I don't know what can be wrongly set anymore. The descriptions in the application are completely unclear to me. It is not known which setting is responsible for what. There should be some description for the settings.
Compliments on the charging station! Looks great
 
I have a problem with mowing in lanes. I have shown the way the mower moves in the picture.
IMG_20210711_133917.jpg
What should be adjusted so that the lanes are parallel.

What is the setting in the battery for: charge sense zero?
 
This is how my mower moves with the settings shown in the picture.
1626534476943.png
1626534727554.png

Is it possible for the mower in RAND mode to mow like in Azurit - straight lines?
 
Are you sure imu is activate and working ???
In Random mode the lane need to be perfect on 30 meters without trouble.
Please share your main setting page.
Into console click on list var and Save to file.
Inside PI Into log folder you can share the last console file.


You need to adjust the bylane setting in real time mowing (do not change the 30 90 and 135 value and adjust the 6 other value)
I have a video somewhere but i need to find it and add the contain in the wiki
 
1626542101273.png
 

Anhänge

  • 202107171916_Send.txt
    2,9 KB · Aufrufe: 2
  • 202107171916_Received.txt
    365,3 KB · Aufrufe: 2
  • 202107171916_Console.txt
    30,1 KB · Aufrufe: 2
This is how my mower moves with the settings shown in the picture.
Anhang anzeigen 2643
Anhang anzeigen 2644

Is it possible for the mower in RAND mode to mow like in Azurit - straight lines?
yes, in random mode the lines are straight.
It seems that something is wrong with your imu.
let me ask a stupid question…..your drive motor and odometrie working at the same channel? left motor - left odo?
I had this at the beginning with my new one and I spend some time into this issue to figure out what was wrong.
😳
Uwe
 
Inside the chassis the imu is locate (when mower go forward) before the drive wheel axe or after the drive wheel axe.
Into console click on list var and Save to file.
Click on List Var before saving console ---> normaly all the setting var are listed with small pause each 10 or 15 value
If nothing come in the console:

You need to check that USB cable in correctly connected to DUE Native USB and not into programming USB.
Check mower.h line 134 you need to comment line like that to have data in PI.

Code:
//#define Console Serial
//#define CONSOLE_BAUDRATE    115200       // baudrate used for PC

#define Console SerialUSB
#define CONSOLE_BAUDRATE    115200       // baudrate used for Raspberry PI console



For the strange driving :
Maybe the difference is here (I never test the soft on front traction motor position).
IMU need to be located before the traction motor axe when go forward.



Inked20210517_125856_LI.jpg
 
I had an error in mower.h what you wrote.
I have the imu module about 7 cm in front of the wheel axis and about 10 cm to the right of the vehicle axis.
 

Anhänge

  • 202107182058_Console.txt
    8,1 KB · Aufrufe: 5
Oben