top | item 22161693

Using OpenAI Gym to train an open-source 3D printed robot

135 points| nicrusso7 | 6 years ago |github.com

26 comments

order

gene-h|6 years ago

It's unfortunate that we still don't have cheap torque controlled robot actuators. Controlling force rather than position led to a drastic improvement in walking robots. I would also highly recommend using something beefier than an arduino to control a walking robot as most approaches to walking robots today rely on performing fast optimization. MIT's minicheetah has used a control approach that involves simulating the robot about 0.5 seconds into the future 50 times a second.

jonnycowboy|6 years ago

We actually have very cheap and pretty powerful position-controlled actuators (hobby servo motors). Attach any kind of spring and displacement measurement device (potentiometer, hall sensor, optical, LVDT, etc) and voila, instant torque controlled actuator.

You can look up Series Elastic Actuators for more info or use this article as guidance (any spring will do as long as the force range and spring constant is adequate).

https://www.sciencedirect.com/science/article/pii/S240589631...

mrfusion|6 years ago

Why does torque controlled work better?

mrfusion|6 years ago

I recently came across this life sized robot you can 3d print: http://inmoov.fr/build-yours/

I’d love to try it. I couldn’t determine if it can walk or not.

KingFelix|6 years ago

I've been wanting to build this for awhile, it looks pretty awesome.

mrfusion|6 years ago

Is there any research on training a robot to walk from scratch. Ie having it learn from the ground up just trying different motions.

Cogito|6 years ago

As per the tradition [0]:

In the days when Sussman was a novice, Minsky once came to him as he sat hacking at the PDP-6.

“What are you doing?”, asked Minsky.

“I am training a randomly wired neural net to play Tic-Tac-Toe” Sussman replied.

“Why is the net wired randomly?”, asked Minsky.

“I do not want it to have any preconceptions of how to play”, Sussman said.

Minsky then shut his eyes.

“Why do you close your eyes?”, Sussman asked his teacher.

“So that the room will be empty.”

At that moment, Sussman was enlightened.

[0] http://catb.org/jargon/html/koans.html

lopmotr|6 years ago

I've seen a crawling robot trained with a string which would pull it back to the starting position after each episode so it could automatically try over and over again. I'd love to see someone doing that with a biped and just lift it up on a hoist to reset its orientation and position whenever it fell over. But really, it might not make a lot of economic sense if you can simulate the physics like these guys are doing.

syntaxing|6 years ago

This is awesome! I wish there was a video showing the results. This might be my next project!

nicrusso7|6 years ago

Thanks! I'm currently working on the 'knowledge transfer', the aim is to build an almost-real-time controller for the robot - I'll probably start with a web app. Any contribution is welcomed!! :)

awinter-py|6 years ago

even cooler if the anatomy of the robot were optimized in the gym as well, and then you just ship it to the printer