Module Reference#
This page provides an overview of the module structure in pylibfranka.
Main Module#
All classes and types are available directly from the top-level pylibfranka module:
import pylibfranka
robot = pylibfranka.Robot("172.16.0.2")
gripper = pylibfranka.Gripper("172.16.0.2")
Module Contents#
Main interface for controlling a Franka robot. |
|
Base class for active robot control providing real-time command interface. |
|
Robot dynamics model for computing dynamics quantities. |
|
Interface for controlling a Franka Hand gripper. |
|
Current state of the Franka Hand gripper. |
|
Current state of the Franka robot. |
|
Robot operating mode. |
|
Robot error state containing boolean flags for all possible errors. |
|
Joint position control command. |
|
Joint velocity control command. |
|
Cartesian pose control command. |
|
Cartesian velocity control command. |
|
Torque control command. |
|
Time duration representation. |
|
Real-time configuration options. |
|
Controller mode for motion control. |
|
Detailed API Reference by Category#
For detailed documentation organized by functionality, see:
Organization by Functionality#
Robot Control#
Classes for establishing connection and controlling the robot:
Robot- Main robot interfaceActiveControlBase- Active control sessionRealtimeConfig- Real-time configurationControllerMode- Controller mode selection
Motion Commands#
Data structures for sending motion commands:
JointPositions- Joint position commandsJointVelocities- Joint velocity commandsCartesianPose- Cartesian pose commandsCartesianVelocities- Cartesian velocity commandsTorques- Torque commands
Robot State and Model#
Classes for reading robot state and computing dynamics:
RobotState- Complete robot stateModel- Dynamics model (mass matrix, Coriolis, gravity, etc.)RobotMode- Operation modeErrors- Error state
Gripper#
Classes for gripper control:
Gripper- Gripper interfaceGripperState- Gripper state
Exceptions#
Exception hierarchy for error handling:
FrankaException- Base exceptionCommandException- Command errorsControlException- Control/motion errorsNetworkException- Network errorsInvalidOperationException- Invalid operation errorsRealtimeException- Real-time scheduling errors
See Also#
Class List - Complete class list with descriptions
Class Hierarchy - Class inheritance structure
Index - Complete index