Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Mowerspeed and Dynamic Mowmotor RPM #68

Open
MrTreeBark opened this issue May 13, 2022 · 3 comments
Open

Dynamic Mowerspeed and Dynamic Mowmotor RPM #68

MrTreeBark opened this issue May 13, 2022 · 3 comments

Comments

@MrTreeBark
Copy link

MrTreeBark commented May 13, 2022

Hello.

I tried the Dynamic Mowing Speed and RPM function in .230.

Unfortunately, i think it is the wrong procedure/method, It doesnt work well, and has Bugs.
Its of no use for me.

The Mowermotor should have a PID Controller just like the Drivemotors.
The control loop measurement variable should be the actual RPM over ticks per revolution like the drive motors.
This way you have no dead time in Control Loop, and control accordingly to Setpoint and Actual value,,, And let the Driver do its thing,
The Speed of the mower should be linked to weather the controller is able to regulate the RPM of the Mowermotor
to the Setpoint. The RPM at the Blade is directly connected to the Speed, as soon the Blade slows down, the Mower will too and eventually stop and back up for 5cm. The Blade must not Stop due to a small spot of high gras! That is the only smart way to do it.
Do not manipulate PWM after the functions calculated them, that disturbs already fine working functions in your code.
The controller should affect the linear values of the different moving operation, thats all. No PWM manipulation.
Please remove this feature, it doesnt work well and it´s messing up the code.

@greymfm
Copy link
Member

greymfm commented May 22, 2022

Hey, Yes, this code should be removed (actually, it was someone-else pull-request that I did not fully understand...)
Also, I'm currently heavily refactoring the robot.cpp code (so that things get more sorted...)

@MrTreeBark
Copy link
Author

Great, thanks for your work.

@fracii
Copy link

fracii commented Jun 11, 2023

I'm have tried latest version and I think the old pull request for Dynamic mow motor was working much better than actual latest release. Now the mow motor stops to easy and robot does not slow down enough.Any quick fix to give mow motor more power so it does not directly stop when little higher grass?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants