mthistle / Spark-MeArm

A spark core controller for the MeArm robotic arm. Complete with S-Curve motion planning and inverse kinematics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spark-MeArm

A spark core controller for the MeArm robotic arm. Complete with S-Curve motion planning and inverse kinematics.

This sketch provides servo control for the MeArm robotic arm kit using a Spark Core. It implements S-Curve motion planning borrowing heavily from the TinyG firmware implementation. It also uses the Inverse Kinematics implementation provided by Phenoptix.

To use add a new application in the Spark Build IDE, add an extra set of files and copy and paste the move.cpp and move.h files into the project. Next add the SparkIntervalTimer library using the Spark Build interface. Then copy and paste the main code from Spark-MeArm.ino into the main sketch. Flash your core and you should be working.

You can use the tester.html file to control your Spark Core. Its not a great UI, but it lets you try out the inverse kinematics by specifying target positions.

You will need to get your Spark Core ID, and your Access Token from the Spark Build IDE.

About

A spark core controller for the MeArm robotic arm. Complete with S-Curve motion planning and inverse kinematics.

License:GNU General Public License v2.0


Languages

Language:C++ 56.0%Language:Arduino 23.7%Language:C 14.4%Language:HTML 5.9%