gotmachine / EasyRobotics

Inverse kinematics controller for KSP Breaking Grounds robotic parts
2 stars 1 forks source link

EasyRobotics

Overview

EasyRobotics is an inverse kinematics (IK) controller for the KSP Breaking Grounds DLC rotation and hinge servo parts. It allow to setup an IK chain made of several servos and of an effector. The controller adjust the servos target angle so the effector automatically reach a position and/or rotation in space which can be either manually defined or automatically set from a target part.

EasyRobotics is available from the Part Action Window (PAW) for the KAL-1000 part, as well as any modded part featuring the stock robotic controller.

Download and installation

Compatible with KSP 1.12.3 to 1.12.5 - Available on CKAN

Manual installation

License

MIT

Recommended mods

User manual

All controls are available from the KAL-1000 Part Action Window, both in the editor and in flight.
The KAL-1000 part can be placed anywhere, but it must stay on the same vessel as the servo and effector parts, something to keep in mind for "walking arms" designs such as the ISS canadarm.

IK Configuration

The first step for using the IK controller is to select which servos will be used, as well as which part is to be used as the effector. This can be done from the IK Configuration section :

IK Execution Control

Once the servos and effector are properly configured, the Status label in the IK Execution Control tab should show ready. That label will also indicate what the IK controller state is when it is active.

IK Target

Allow to select a part as target, to be used with the Target control mode. Like for the effector, you can select an arbitrary node and orientation.

Tips and tricks

Often, you will experience your setup starting to spin around or to get stuck, never reaching the target :

Other difficulties will come when using your contraption in flight :

Changelog

1.0.0 - 15/05/2024