Servers by jDrones

Rover with Hoverboard motors and ODrive (No GPS or Compass)


(Daniel Widmann) #1

I was thinking about using hoverboard motors on a rover for quite a while. They offer high torque at an unbeatable price. The ODrive looks like a perfect fit for those motors. It uses closed loop control with the motor’s hall sensors to allow very precise movements even at low speeds.

Finally I found some time to put it all together and the results looks very promising. I use auto mode without any global reference (no GPS or compass). ODrive allows to read out the encoder positions, so it can be used as as wheel encoders for the EKF3 without any extra hardware.

This is a simple mission following a 3m x 2m rectangle. There is a little bit of oscillation after the pivot turns, but I think it looks pretty decent.
ardupilot

The biggest issue at the moment is gyro drift. I believe this is caused by having only one measurement source for rotations (just the gyro no compass), so the EKF can’t really estimate the offset. It might be a good idea to calibrate the gyro offset any time the rover is not moving.

At the moment this is just a quick and dirty hack, but I think ODrive support could be added to the mainline if there is some interest.

Cheers,
Daniel


(Khancyr) #2

Hello,
That is very nice !
Would it be a problem for you if I put this post in the blog section ?


(rmackay9) #3

This is such great work that I’ve promoted it to a Blog post. I hope that’s OK. Nicely done!


(Daniel Widmann) #4

Thanks. Sure, no problem to use it as a blog post.


(hans bert) #5

very good idea to use the hoverboard motors… i am scanning ebay and local markets for broken ones the last two days :slight_smile:

looking forward to my 4wd offroad platform!
from my understanding these are normal brushless motors and should run with a blheli esc?

*edit

even better! you can use the original hardware !