Skip to content

This is a header only library for simple 2 joint inverse kinematics simulations, compatible with c++11.

License

Notifications You must be signed in to change notification settings

Alex-Stone-Github/invkin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

invkin

This is a header-only library for simple two-joint inverse kinematics simulations.

Features

  • Single header file ik2j.h
  • C++11 Compatible
  • Zero Safe

Usage

// This is a cartesian point z="up" x="right" y="forward"
auto point = IK::CylPoint::from_cartesian(10, 0, 1);
// The solution is a IKResult, the valid field indicates a solution is valid
auto solution = IK::solve(point, close_len, far_len);

// All of the following fields are only considered valid if the 'valid' field is true
// Table Angle - "Which direction are we facing"
solution.table_angle;
// Near Angle - "Base Angle relative to an orthogonal angle to the ground"
solution.near_angle;
// Far Angle - "Angle delta of the second joing tangent to the near segment"
solution.far_angle;

About

This is a header only library for simple 2 joint inverse kinematics simulations, compatible with c++11.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published