Real Time Motion Controlled 3D Printed Hexapod
This is a 3D printed hexapod that can be animated in real time using Maya’s animation tools.
Printed on a Makerbot Replicator 2 with PLA and default settings:
First push-up cycle demo. (not animated in Maya):
I rigged the Hexapod with Advanced Skeleton for Maya. This created a really robust and flexible rig. A little too flexible though. I had to add some constraints to prevent the leg movements from breaking the physical bot.
This is the walk cycle without any limitations. If you look close you can see the ‘knee’ breaking. This is because the physical legs can’t really do a reaching motion. They can only sweep from side to side and move up and down:
Here is the walk cycle with physical limitations. It’s more of a swimming action now:
Getting Servo Tools for Maya up and running was pretty challenging. It’s well coded and documented but I still ran into a few hurdles with type casting and dependencies. I created a troubleshooting guide that anyone can check out here.
The example code could only drive 4 servos. I had to modify the Arduino sketch and the python lib servo.py to accommodate for the additional 8 servos. Finally I updated the Arduino sketch to send the PWM signals out to the 16 channel servo shield instead of the default output pins.
That’s about it. I first started this project in October of 2014 and I’m now uploading the working demo video at the end of June in 2016. A few pages of Steven Pressfield’s The War of Art helped me finish this project.