Bioloid Quad Walker Robot - Roz

Showroom for MicroPython related hardware projects.
Target audience: Users wanting to show off their project!
User avatar
JonHylands
Posts: 69
Joined: Sun Dec 29, 2013 1:33 am

Bioloid Quad Walker Robot - Roz

Post by JonHylands » Thu Nov 26, 2015 1:22 pm

A number of years ago, I built a bioloid-based quadruped walker robot which I called Roz. Originally controlled using an Arbotix (Arduino-like) board, two years ago I updated it to be controlled with a Beaglebone Black running Python. Programming robots in python is great, but running full-blown linux on small robots is not fun (mainly due to boot time).

Here's a video showing Roz with an Arbotix:

https://www.youtube.com/watch?v=6le3z78TK74

And here's a video showing Roz walking under python control:

https://www.youtube.com/watch?v=BBNOs9JHqXA

Now that my brother Dave has successfully tweaked the right settings in the UART so the pyboard can talk to Bioloid servos, I'm converting Roz to run MicroPython.

Here's a picture of Roz, with a new head, and one of my custom MicroPython boards mounted:

Image

The wiring and hookup is all done, and now I'm working on porting my IK and control code over to MicroPython...

User avatar
JonHylands
Posts: 69
Joined: Sun Dec 29, 2013 1:33 am

Re: Bioloid Quad Walker Robot - Roz

Post by JonHylands » Sat Nov 28, 2015 2:51 am

And here's a video of Roz walking, powered by one of my custom MicroPython boards:

https://www.youtube.com/watch?v=iL9w-wTjzeM

This is definitely the first step in what I hope will be a lot of software updates for this robot.

User avatar
JonHylands
Posts: 69
Joined: Sun Dec 29, 2013 1:33 am

Re: Bioloid Quad Walker Robot - Roz

Post by JonHylands » Sat Nov 28, 2015 2:54 am

And here's a nicer picture:

Image

User avatar
pythoncoder
Posts: 4935
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Bioloid Quad Walker Robot - Roz

Post by pythoncoder » Sat Nov 28, 2015 11:33 am

Most impressive! What type of sensors are you using in the head? Roughly how many lines of Python are involved?
Peter Hinch

User avatar
JonHylands
Posts: 69
Joined: Sun Dec 29, 2013 1:33 am

Re: Bioloid Quad Walker Robot - Roz

Post by JonHylands » Sat Nov 28, 2015 1:39 pm

The sensors in the head are Sharp analog IR sensors, although they are the close-range sensors, and only "see" for 8". I need to swap them out with a set of GP2D12's, which can range out to something like 30".

Total lines of code is 1650 right now, with 691 of those lines being Dave's bioloid bus UART & packet stuff, and the other 959 being robot-level stuff. The IK and Gait code combined is ~400 lines.

- Jon

User avatar
marfis
Posts: 205
Joined: Fri Oct 31, 2014 10:29 am
Location: Zurich / Switzerland

Re: Bioloid Quad Walker Robot - Roz

Post by marfis » Sat Nov 28, 2015 9:55 pm

The movement look really realistic I'm impressed.

So I wonder because you've done the project 2 times right? Using Arduino and uPy.

Which one went smoother? Did you encounter problems in using uPy for such complex applications?

User avatar
JonHylands
Posts: 69
Joined: Sun Dec 29, 2013 1:33 am

Re: Bioloid Quad Walker Robot - Roz

Post by JonHylands » Mon Nov 30, 2015 2:01 am

I don't consider this a complex project. I'm just getting started with it.

Using MicroPython is way nicer, mainly because I like Python orders of magnitude more than I like C++. I'm actually an old-time Smalltalk programmer, and Python is as close as I've found to the feel of Smalltalk.

I haven't run into any major problems, mainly because my brother took care of the low-level interfacing to the bioloid bus, so I could concentrate on the robotics part of this project.

User avatar
kfricke
Posts: 342
Joined: Mon May 05, 2014 9:13 am
Location: Germany

Re: Bioloid Quad Walker Robot - Roz

Post by kfricke » Mon Nov 30, 2015 6:54 am

Lucky one :lol: !

User avatar
JonHylands
Posts: 69
Joined: Sun Dec 29, 2013 1:33 am

Re: Bioloid Quad Walker Robot - Roz

Post by JonHylands » Mon Nov 30, 2015 2:49 pm

The code for this is available on my Github repository:

https://github.com/JonHylands/roz

It also requires the bioloid interface code from my brother's repo:

https://github.com/dhylands/bioloid3

User avatar
JonHylands
Posts: 69
Joined: Sun Dec 29, 2013 1:33 am

Re: Bioloid Quad Walker Robot - Roz

Post by JonHylands » Thu Dec 03, 2015 12:45 pm

I did a blog post yesterday showing how I'm starting to use the range finders on the head for scanning:

http://blog.huv.com/2015/12/roz-obstacle-scanning.html

Post Reply