Comments (11)
I confirm it was a wrong ESC setup, the 3 ESC on the main board were configured the same when I received them. I didn't check. Now that the mower motor config has been configured on TTYAMA3, I realise that it's much more powerfull even in the "normal" direction ! And the reverse seems to work as well very well. But, I still recommend this PR to make it optional.
from open_mower_ros.
@michifischer I just use this doc: https://github.com/ClemensElflein/openmower.de/pull/26/files
from open_mower_ros.
Switching the motor direction to opposite direction at full speed sound risky! (Did you also tried it with your car? ;-))
I guess you've tested with xESC2-mini (STM based ESC)?
Because: STM based xESC has much better over-current- protection.
In the case of xESC-2040 you may kill the MOSFETs on first try.
Please try again, but stopping before:
- (normal)
rosservice call mower_service/mow_enabled 1 1
- (stop)
rosservice call mower_service/mow_enabled 0 0
(and wait 2-3 seconds) - (reverse)
rosservice call mower_service/mow_enabled 1 0
- (stop)
rosservice call mower_service/mow_enabled 0 0
from open_mower_ros.
This is what I tried at the beginning but I got the same results, it was always super slow on reverse. Note that I came to use the mower_service after the robot didn't mow. So if the electronic is fired somehow, it happens by the ros code.
from open_mower_ros.
Interesting, the mowing motor and the ESCs don't really have a "direction", so it's weird that it behaves differently when switching directions.
The ROS code can't fry electronics by itself, it just tells the motor controller "go at x% speed clockwise / anti-clockwise", both of which should be safe options to send. The speed controller does the actual switching of the MOSFETs.
Which robot and motor controllers are you using?
from open_mower_ros.
Original mower is a yardforce 500B and I received the full electronic kit 2 weeks ago.
from open_mower_ros.
How's about checking if it's the ESC, by exchanging with one of your drive ESC's?
Probably more complicated as you need to load the mower-config to the drive ESC via VESC tool?!
In the case that you already assembled your mowers cover, you may temporary hardcode your working direction here (till you need to open it anyways):
via mow_srv.request.mow_direction = 1
from open_mower_ros.
@Apehaenger I never played with ESC yet. I'm currently testing that branch where I made the random direction configurable: 4ed8e79
from open_mower_ros.
Quite thanks for being that plain!!
Thought about it the last days, but couldn't imagine what's wrong with it.
Now I can kick it out of my brain ;-)
from open_mower_ros.
I confirm it was a wrong ESC setup, the 3 ESC on the main board were configured the same when I received them. I didn't check. Now that the mower motor config has been configured on TTYAMA3, I realise that it's much more powerfull even in the "normal" direction ! And the reverse seems to work as well very well. But, I still recommend this PR to make it optional.
How did you check the configuration of the ESCs? Which config files did you use in the end and how did you update it?
from open_mower_ros.
Thanks!
I got the upgrade kit last week, too. I can confirm that the configuration for the mower motor driver was not working well - you could barely hear the mower motor and the motor current did not exceed 250mA. The mowing result was not satisfying. After updating the mower motor config the mower works fine with a motor current of about 1A.
from open_mower_ros.
Related Issues (20)
- Wheel Ticks calculation error cause GPS jumps on mowgli hardware. HOT 2
- Mower hits obstacle if area between boundary and obstacle is only two perimeters thick HOT 1
- VERSION file does not reflect the tagged version
- Make ntrip reconnect interval adjustable HOT 1
- topic for publishing action HOT 4
- This is a random constant and unused. remove
- Mower pause/resume bug
- Mower fails to navigate an area if the loop has an intersection
- 2.5s for tilt_emergency_millis might be too low HOT 5
- Leaving Emergency while mowing set the state to Docking HOT 4
- Grass too high should slow down the mower HOT 2
- Dock to station backwards
- Obstacle too close to the area bound can lead to wrong path HOT 14
- Home Assistant MQTT
- Problem with compilation HOT 1
- ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies HOT 1
- Path crosses not allowed areas HOT 9
- Remove compiled app? HOT 1
- Setting OM_MOWER_GAMEPAD=steam_* keeps failing openmower.service HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open_mower_ros.