I have made a model of quadruped robot (sprawling/spider type and not dog type) in V-rep and now I want to make it walk by using creep gait. (i.e moving 1 leg at a time)

As I understand, I have to solve inverse kinematics equations for each leg to move it from one position to another. How can I find out the inverse kinematics of my quadruped robot?

Is it possible to make the V-rep model of quadruped robot walk without knowing the inverse kinematics equations? Please help!


2 Answers 2


On manipulators, Direct Kinematics is the group of equations where, based on the motor's positions (the joint positions, normally in radians), you'll find the spacial (normally Cartesian) pose of the end effector.

Inverse Kinematics, on the other hand, is the process to find which joint positions are necessary to have the end effector on a specific pose in space. They can be analytic solutions based on the arm configuration, or (most commonly) numeric ones (for example, using Newton-Raphson approximation), and it's normal to have multiple solutions for the same position. Besides that, you'll probably need to control the velocity and trajectory of each leg using a task space controller or something like that, where you'll have to learn differential inverse kinematics.

On mobile robots with arms, each individual leg can be viewed as a separate manipulator, so you can calculate the position of each individual leg with the inverse kinematics of each one, in relation to their base, in relation to the robot origin.

To make the robot move smoothly, however, as in a trajectory, you'll have to study the specific kinematic chain of the type of robot you're working (or develop one). It's not an easy or trivial task if you plan to do it right.

V-Rep has the option to take care of the dynamics to a certain point and has tools for inverse kinematics.

Here are some links that you may find useful:

Inverse Kinematics module on V-Rep

Inverse Kinematics and Motion Masterclass

Video and tutorial of Creeping Gait IK

Some articles:

Kinematics analysis and simulation of quadruped robot by Ni Meng and Wang Xiaodong (2011).

Quadruped Robot Creeping Gait Stability Analysis and Optimization Using PSO by Firas A.Raheem and Murtadha Khudhair Flayyih (2017).


I think Felipe's answer is very useful. In addition to it I would suggest iterative IK solvers.

In the recent months I've got involved in using FABRIK solver. It is very simple to understand and implement. Also it does not require extensive trigonometrical knowledge. As a result you can get a very natural leg movement and the algorithm is very fast.

See the link for more info: http://www.andreasaristidou.com/publications/papers/FABRIK.pdf


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.