Snake Robot Serpentine Motion

Version (1.67 MB) by Ali
Implementation of a IEEE paper based robotic snake model and controller for second year uni project


Updated 17 Mar 2014

View License

I have attached my work implementing a robotic snake model described in an IEEE paper (also attached). I am not the most efficient coder, but feel free to have a look and tinker with it slash suggest improvements.
Sorry, its not the most well commented code as well. But if you want understanding of where things come from, please refer to the paper. But I have tested it and it works. I also made animations that run by taking the data from the simulink models.

I should have done this from the start; but I would like to change it to make a n link system. At the moment I have hard coded for a three link snake. It is a spaghetti code but could do with some suggestions and matlab tips.

Cite As

Ali (2023). Snake Robot Serpentine Motion (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Control Systems in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

3LinkSnake_UniProject/Snake Code/

Version Published Release Notes