Skid Steer Mower Overshooting pivot turns

Kenny" I downloaded your program a while back but my system is missing a libwinpthread-1.dll
Do you know how to fix this?
The issue I am having is my trees are covering the yard in google earth so I cant see the way points well enough.

Have you ever used the "SET Waypoint "feature in aux channel to layout a WAYPOINT file by driving it first and marking it ?
I hope they get the AUX channels expanded so we can have more AUX channels for things like this.
Do you know a better way?
Doug

Kenny, Love the program. I’d like to convert it to a webservice / page and host it. It would make it more accessable to others. It woild be easier for me if it was C#, but I don’t think it will be too hard.

I have used the “SET Waypoint” feature to create waypoints around the perimeter and then used my MowPlan program to generate the additional waypoints. Did you download the 2 dlls that I include in the github project and put them in the directory with the executable? If you did and still get the message about libwinpthread-1.dll, I need to look into that. On a computer that I thought was fairly clean, the 2 dlls I include were all I had to do. Maybe the one you are missing was already on that computer.

Vincent,
As long as you are helping others with it with no monetary gain, please help yourself! I know it could be improved as well. It throws a random point outside the polygon occasionally, but it is easy to just move it back in, so I have not tried to fix it. It is somewhat subject to how you draw the polygon as well. I always start at the bottom right and go counterclockwise. I have planned to record a YouTube video tutorial but haven’t gotten around to it.

I also thought about using a Mission Planner polygon file for the outline rather than waypoints, but I find that I can work better with waypoints than polygons inside Mission Planner.

I am a C-programmer, by the way, mostly embedded stuff. I’m not so good with C++, but the clipper library was C++. I try to do a good job of well organized and readable code, BUT, in the C++ world, I probably did not do a good job. I’m sure you can help out.

Please have at it!!!

Let me know if I can help you in any way.

@Kevin_Groba, @ktrussell,

Happy to say I’ve taken my shed ornament for a spin (finally) today! Now to sort out the tuning. Was nice to take it for a spin and take a break from getting the HectorSLAM / Cartographer stuff running for the RPLidarA2.

The map background is a custom image that shows tree locations in my orchard. Managed to only hit 2 while getting started tuning. Thanks for all of the tips you guys have developed over the year. Made a huge difference to getting it going roughly in a straight line :slight_smile:

Now, back to Cartographer!

Cheers,
Ben

1 Like

Ben,
That’s a nice looking machine. I like your actuator design. I have bought similar actuators but have not tried them yet. It took me a LOOOONG time to get my tuning acceptable and it still isn’t what I want, but the machine is very usable. Only hitting 2 trees is a good start! I look forward to seeing more!
Kenny

1 Like

Ben : That is nice work on the design. I want to get started with LIDAR in the future for collision avoidance. What are you using to implement LIDAR, ie controller?
Keep up the good work !
Doug

Continuing the discussion from Skid Steer Mower Overshooting pivot turns:

Cheers @ktrussell,

Yeah tuning is still a work in progress. I’ll take it next door to a neighbors big paddock. My place is all orchard.

Those actuators are off AliExpress from the GoMotorWorld shop, with potentiometer feedback. Seem to be working ok with the linear actuator controllers.

A bunch of little 5v relays are being controlled by electronic switches I bought. Those switch PWM output to on/off. Giving me solid control of ignition, start and pto.

I do like @Kevin_Groba ‘a Hitec actuators better. Think I’ll go that way in the future. A bit tidier.

Now for the SLAM system!

Ben

@dwright361
Cheers Doug,

Slowly coming along.

I’m essentially following the ArduPilot guide to setup RPLidarA2 with ROS, Cartographer slam, MavRos.

With any luck I’ll get the lidar data feeding back to the FCU via MavRos for proximity and collision avoidance.

A work in progress!

Good luck :+1:
Ben

@BenBBB I have 2 of those exact actuators from GoMotorWorld. I have not installed them yet. Good to hear they are working OK. I believe there is plenty of room on my mower for them. It may be a while before I get to that.

Good luck when you get to them Kenny :+1:

Ben @BenBBB ,
I finally connected the GoMotorWorld actuators tonight to my bench power supply. I am disappointed that at 12V it seems to be about 1/2 the speed they quoted. I have the model LA12S: 50mm stroke, 10mm/sec (https://www.aliexpress.com/item/12V-50mm-stroke-10mm-s-speed-1000N-100KG-load-Waterproof-DC-linear-actuator-with-Potentiometer-POT/32813908700.html). Very disappointing. It is no faster than the little Actuonix I have been using. I see on the vendor website, in answer to a question, that it can be run at 24VDC (and it does run twice as fast), but everything on the datasheet indicates it should be getting the specified speed at 12V. What model do you have and are you getting the speed you should?
Kenny

Hey Kenny @ktrussell,
Glad to hear you’ve got the actuators going. Bummer to hear about the speed. I bought the 60mm/s 100mm stroke, 100N version. LA12Y. Controlling them with the Actuonix board. I haven’t measured the speed. My biggest issue has been slowing the steering down! Very happy with the rate of response from them for acceleration. The skid steering parameters are just taking a bit of tuning. Certainly finding it easier to drive a straight line between waypoints if I drop the mower’s speed. Other than that all is going pretty well. Bit of Ardurover side of things tuning to finish, but it goes so I’m spending my time working on the ROS side of things with the lidar and Cartographer. (https://www.aliexpress.com/snapshot/0.html?spm=a2g0s.9042647.6.2.4cc44c4dj3PCWy&orderId=95134189358963&productId=32667654225 )

Ben, I’m glad to hear the Actuonix controller will work with those actuators. I had planned to look compare the potentiometer specs of the two and maybe give it a try. Otherwise, I was going to do a DIY controller. I might try a step up voltage regulator module to get 24V and see how that works. I don’t know if the Actuonix controller will work with 24VDC but if not, I have an H-bridge controller that will.

The aliexpress link didn’t work for me in your last post, but it you are blazing a trail for me with the LIDAR and coprocessors and such!

By the way, on tuning, I found that the tuning parameters are very different for full engine RPM and lower RPM. The hydraulics just respond so much differently. I just do all my tuning at full RPM which is what I use for cutting.

Sorry, I’ll try that link again…https://www.aliexpress.com/snapshot/0.html?orderId=95134189358963

I’d certainly be happy to try a different controller. Certainly something more robust. Not sure how long they’ll take that current.

Yeah the mower is certainly much easier to drive straight at lower rpm. Tuning at high rpm has meant slowing skid steer turn parameters right down. Got to have a look at vibration affecting the IMUs as well. Seems to be having quite an effect on odometer measurements. That’s leading to poor localisation by the SLAM software. I might just try some rubber between my control box and the frame it’s bolted to, as well as the proper sticky pad (3M) that the Cube came with.

The goal is to get the SLAM stuff working well then developing a solid path planning algorithm to get my farm mowed :slight_smile:

I noticed that when I have the mower blades running, I get a huge offset in the compass. I demonstrated in a video (https://youtu.be/c_8d5sy455o). The new inflight compass calibration (Testers needed for in-flight compass learning) was a huge help.

Hey Kenny,
I’ll have a look at that in flight calibration. Pain in the ass taking everything apart! Coming along slowly but steadily. Not doing much on the Pixhawk side of things. Mostly mucking about with the SLAM system. THat’s a lot more like hard work :frowning:
Still, I’d certainly benefit from more tuning time on level ground with a decent GPS view. It’s on the to do list.
Cheers
Ben

1 Like

@BenBBB

So I have gotten my mower out again this year and picked up where I left off. I have a full Reach RS+ base station going. The steering turning is coming along but my mower still overshoots its turns a bit. I want to add SLAM to the mower and I have been following the progress of others, most of which are indoor experiments. How are your outdoor experiences and have you integrated GPS with SLAM?

@Vincent_Miceli good to hear you’ve got your mower out for more work!

I’ve been doing bits and pieces with mine as time permits. I’ve struggled a lot to get things going as I’d like with a SLAM system. The 2D Lidar (rplidarA2) is cheap but not great for an outdoor 3D slam solution.

Experimenting with a stereo camera to work around that. Does take a fair chunk of computing power. Sure keeps the TX2 working hard.

Good luck if you decide to try. Hard to find a lot of outdoor suitable help around the place.

I got the mower out and it was doing really well. I then blew up the pixhawk cube with an electrical brownout/spike when the engine died in tall grass and the starter stalled when I tried to start it again. This was the second cube I blew up because of voltage spikes. I then bought a new pixhawk 4 and added a servo power isolator and rewired everything. I now have two electrical systems, one 24 volt lead acid system for the mower and motors and a 14 volt lipo for the flight controller system. On the new version of ArduPilot I started getting AHRS fail safes when the compass occasionally when berserk. Very annoying. I ordered a new compass https://www.amazon.com/dp/B01N5QL0XC/ref=cm_sw_em_r_mt_dp_U_B2dbDbQY7NDD1 which will be here tomorrow. Hopefully I can get it working and the mower mowing for real. Very close.

1 Like