Software
crx_kinematics
From github.com/danielcranston/crx_kinematics (opens in a new tab)
- Robot arms and industry
- Library
- MIT
A C++ and Python library for forward and inverse kinematics of the Fanuc CRX collaborative robot series, with a MoveIt 2 kinematics plugin.
Facts
- GitHub stars
- 25read on 28 Nov 2026
- Last update
- 23 May 2026Newest commit on master
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Intermediate
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 21027ee (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Implements a geometric approach to CRX inverse kinematics, deterministically finding all IK solutions.
- Reduces the IK problem to a 1-D search for zeros over a scalar function.
- Has minimal dependencies: numpy and scipy for Python, Eigen for C++.
- The C++ implementation is fast, running in about 50 μs on an Intel Core i7-13650HX.
- Provides a MoveIt 2 kinematics plugin compatible with the official Fanuc URDF descriptions.
- Includes an interactive ROS 2 demo launched with RViz, and defaults to the CRX-10iA model.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 23 May 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/danielcranston/crx_kinematics (opens in a new tab)
- The version Robotheca read21027ee (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by @danielcranston, at commit 21027ee, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
crx_kinematics
This repo hosts C++ and Python code implementing FK/IK for the Fanuc CRX series. The implementation closely follows Geometric Approach for Inverse Kinematics of the FANUC CRX Collaborative Robot (opens in a new tab) by Abbes and Poisson (2024).

Compared to general optimization-based IK solvers like KDL, the implementation in this repo
- Deterministically finds all IK solutions
- Has near-zero dependencies (numpy+scipy for Python, Eigen for C++)
- Is fast (C++ implementation runs in ~50 μs on a Intel Core i7-13650HX)
The approach reduces the IK problem to a 1-D search for zeros over a scalar function. See DERIVATION.md (opens in a new tab) for an overview of the approach.
The C++ package also hosts a Moveit 2 Kinematics plugin that is compatible out of the box with the official Fanuc URDF descriptions (opens in a new tab).
Examples
The Python package comes with a interactive demo:
ros2 launch crx_kinematics_py demo.launch.py run_rviz:=true
In terms of API:
#include "crx_kinematics/robot.hpp"
int main(int argc, char** argv)
{
auto robot = crx_kinematics::CRXRobot(); // Defaults to CRX-10iA
Eigen::Isometry3d pose = robot.fk({ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 });
std::vector<std::array<double, 6>> joint_solutions = robot.ik(pose);
}
from crx_kinematics_py.robot import CRXRobot
import numpy as np
robot = CRXRobot() # Defaults to CRX-10iA
pose: np.ndarray = robot.fk([0.0, 0.0, 0.0, 0.0, 0.0, 0.0])
joint_solutions, debug_data = robot.ik(pose)
Moveit 2 Kinematics Plugin
To use the Moveit 2 Kinematics plugin, build the crx_kinematics package in your workspace, then edit the kinematics.yaml (opens in a new tab) file of your Moveit 2 config package to use the plugin:
manipulator:
- kinematics_solver: kdl_kinematics_plugin/KDLKinematicsPlugin
+ kinematics_solver: crx_kinematics/CRXKinematicsPlugin
The plugin also works with custom URDFs, provided their base and tip frames, as well as the name of the URDF, match the equivalent URDF from Fanuc.
Note that, while the code in this repo supports all active ROS distros, the official Fanuc driver only supports Humble and Jazzy. If you want to use the controllers provided in the Fanuc driver repo (e.g. ScaledJointTrajectoryController) together with this plugin, you are restricted to using a distro supported by the Fanuc driver repo.
Cloning and building
Using standard ROS 2 steps:
# Clone
cd ~/your_workspace/src
git clone git@github.com:danielcranston/crx_kinematics.git
# Install binary dependencies via rosdep
rosdep install --from-paths crx_kinematics --ignore-src -y
# Build
cd ~/your_workspace
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to crx_kinematics crx_kinematics_py
# Test
colcon test --event-handlers console_cohesion+ --packages-select crx_kinematics crx_kinematics_py
License
MIT
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.