AI and cobots
Use AI with your Fairino cobot
Your AI model runs on a PC, a GPU or inside a smart camera. The Fairino cobot carries out what the model decides, through open SDKs in Python, C++, C# and Java, through ROS 2 or through a plain TCP/IP socket. No licence fees and no closed box. This page explains how it works and what our customers already build with it.

How AI and a Fairino cobot work together
The controller does not run your neural network. It does what a robot controller is good at: safe and precise motion, I/O, force control and collision detection. Your model runs next to it and talks to the cobot over Ethernet.
- Sensors: 2D or 3D camera, force sensor, microphone or the joint data of the cobot itself.
- Your AI computer: Industrial PC, GPU workstation or smart camera. Runs the vision model, the learned policy or the language model.
- Fairino controller: Receives targets through the SDK, ROS 2, TCP/IP or Modbus. Handles motion, safety limits and I/O.
- Cobot and tool: Moves, grips, presses or screws, and reports its position and forces back every 8 ms.
Why the Fairino architecture suits AI
Everything an AI project needs to talk to the arm is open, documented and free to use.
Open SDKs in four languages
Python, C++, C# and Java, published on GitHub, plus Lua on the controller itself. Move the arm, read its state, switch I/O and drive the gripper from the same program as your model.
ROS 2 and MoveIt 2
An official ROS 2 package with a ros2_control hardware interface and MoveIt 2 configurations for the FR3 up to the FR30. Fairino recommends ROS 2 Humble on Ubuntu 22.04.
Servo streaming every 8 ms
ServoJ and ServoCart take a new joint or Cartesian target every 8 ms. The status stream reports position, speed and torque every 8 ms as well, adjustable from 4 to 1000 ms.
Force and torque data
Read joint torques through the SDK, add a 6-axis force sensor that samples at 1000 Hz and use the built-in force control for insertion and contact tasks.
Teach by hand
In drag teach mode you guide the arm by hand and record the path. Handy for demonstrations, training data and quick positions.
Free simulator
SimMachine runs the controller software as a virtual machine or Docker image, so you test your AI code before a real cobot moves.
PLC on the side
Modbus TCP and RTU come standard, PROFINET, EtherCAT and EtherNet/IP are optional. The AI decides, the PLC keeps running the line.
No licence fees
The SDKs, the ROS packages and the software updates cost nothing, also when you build them into a commercial product.
What our customers build with it
Projects we see at customers, from research labs to production lines.
- Research
Training vision language action models
A research institute trains vision language action (VLA) models on two FR5 arms. The model looks through the cameras and sends joint targets to the cobots in servo mode through the Python SDK.
- Education
Robot learning in the lab
University teams record demonstrations by teleoperation, train imitation learning policies with open source tools such as LeRobot and plan motion with ROS and MoveIt, on an FR5.
- AI start-up
Physical AI on a fleet of cobots
A robotics AI company runs its own ROS 2 driver with high frequency force control on more than twenty Fairino cobots, from the FR5 to the FR20.
- Food
AI vision that cuts dough
On a bakery line a camera finds the dough sheet and an AI model calculates the cutting pattern. The cobot cuts with a knife, switches to a vacuum gripper and places the croissants on the tray, all from the builder's own interface through the Python SDK.
- Quality
Camera inspection
A cobot moves a camera and a light around each part for visual inspection, from shoes to plastic parts, and passes the result to the line PLC over PROFINET.
- Logistics
3D vision bin picking
Integrators pair a 3D camera with an FR10 or FR20. The vision system finds the part in the bin and sends the pick pose, the cobot picks and places it.
- Medical and lab
Teleoperation
Teams steer FR3 arms remotely with a VR headset. In our own demo you move one cobot by hand and a second one follows, in about 120 lines of code.
- Test lab
Force plus vision
An FR5 with a force sensor plugs test connectors into devices. A depth camera on the wrist finds the port, the force control runs locally in Lua on the controller and the vision runs on an external PC.
Five ways to connect AI to a Fairino cobot
From a simple start to full AI control. Pick the level that fits your project, you can always move up later.
The camera tells the cobot where to go
A vision system or PC calculates a pick point and sends it to the cobot. The robot program stays on the controller. The easiest way to start.
Via TCP/IP socket, Modbus TCP or SDK
Your program is in charge
A Python, C++, C# or Java program runs your model and controls the whole sequence: moves, I/O, gripper and force sensor.
Via SDK (XML-RPC, port 20003)
ROS 2 and MoveIt 2
Motion planning with obstacle avoidance, simulation in Gazebo and the full ROS perception stack around the arm.
Via frcobot_ros2 and ros2_control
Learned policies with servo streaming
Imitation learning and VLA policies send a new target every 8 to 100 ms. Keep about 20 commands in the queue for smooth motion. That gives roughly 160 ms of delay: fine for policies at 10 to 125 Hz, not for a hard 1 kHz control loop.
Via ServoJ and ServoCart (8 ms)
A language model as operator
An LLM or AI agent turns a spoken or typed instruction into calls to your own functions, such as pick, place or go home, and those functions call the SDK. Let the language model choose tasks, not raw motion, so the safety limits of the controller keep doing their work.
Via Your own functions on top of the SDK
A first test in Python
Get the Python SDK from GitHub, connect to the controller and move the arm to a target your model calculated. It works the same on the free simulator.
Tip: use the SDK version that matches the software on your controller. A mismatch is the most common reason a first connection fails. You find the SDKs on our downloads page.
from fairino import Robot
robot = Robot.RPC('192.168.58.2') # controller IP
err, pose = robot.GetActualTCPPose() # mm and degrees
print(pose)
# target from your model: 50 mm along X
target = [pose[0] + 50, pose[1], pose[2], pose[3], pose[4], pose[5]]
robot.MoveL(target, 0, 0, vel=20) # 20% speed
robot.CloseRPC()Good to know before you start
- Fairino itself does not supply vision or AI software. You choose the model. For the camera and the vision software you can also come to us.
- Hand eye calibration (camera to robot) happens in your vision software, not in the Fairino software.
- The SDK version has to match the controller software. Check this first when a connection fails.
- Servo streaming runs on a buffer, with about 160 ms of delay. For very fast reactions, run force control locally in Lua on the controller.
- ROS 2 Humble is the documented version. Other ROS 2 versions are not officially confirmed, so test them in the simulator first.
- AI does not replace the risk assessment. Collision detection, speed limits and the safety functions of the controller stay active. More in our article on cobot safety.
How TMC Robotics helps
TMC Robotics is an official Fairino distributor. We work with the SDKs every day.
- Free technical help with your integration questions, with a direct line to Fairino headquarters for SDK issues.
- Vision from one address: we now also supply cameras and vision software with the cobot, and help you connect them.
- Test your idea on a real cobot in our showroom in Ieper, with your own parts.
- Training for your team, in Ieper or online.
- The SDKs, the simulator and the manuals on our downloads page.
How to start
- Tell us what the cobot has to do and how you want to use AI.
- Try your code on the free SimMachine simulator.
- Test it on a real cobot in our showroom in Ieper.
- Order the cobot and accessories. We deliver and help you get started.
Frequently asked questions about AI with Fairino cobots
Does a Fairino cobot have AI built in?
No. The controller handles motion, safety, I/O and force control. Your AI runs on an external PC, GPU or smart camera and talks to the cobot over Ethernet. That way you choose any model or framework you like.
Which programming languages can I use?
Python, C++, C# and Java through the official SDKs on GitHub, Lua directly on the controller, ROS and ROS 2, and plain TCP/IP or Modbus TCP from any system.
Does Fairino support ROS 2 and MoveIt 2?
Yes. The official frcobot_ros2 package has a ros2_control hardware interface and MoveIt 2 configurations for the FR3, FR5, FR10, FR16, FR20 and FR30. The documentation recommends ROS 2 Humble on Ubuntu 22.04.
How fast can an AI model control the cobot?
Servo commands run on an 8 ms cycle (125 Hz) and the status stream can go down to 4 ms. With the recommended buffer of about 20 commands the delay is around 160 ms. That suits vision guided motion and learned policies. Very fast force reactions are best done locally in Lua.
Do I pay licence fees for the SDK?
No. The SDKs, the ROS packages and the software updates are free, also when you use them in a commercial product.
Which camera can I use?
Any 2D or 3D camera that sends coordinates over TCP/IP or Modbus, or that connects to your PC. Calibrating the camera to the robot (hand eye calibration) happens in the vision software. We also supply cameras and vision software ourselves.
Can I control a cobot with a language model?
Yes, through your own code. The language model chooses which of your functions to run, such as pick, place or go home, and those functions call the Fairino SDK. Keep the safety functions of the controller active and do not let the model send raw motion without limits.
Which Fairino cobot suits AI research best?
Most research labs we work with choose the FR5: 5 kg payload and 922 mm reach. For heavier bin picking the FR10 or FR20 fits better. The cobot finder helps you choose.
Planning an AI project with a cobot?
Tell us what you want to build. We tell you honestly what works with a Fairino cobot and what does not.